class Runbook::Generators::Statement
Public Class Methods
description()
click to toggle source
# File lib/runbook/generators/statement/statement.rb, line 7 def self.description "Generate a statement named NAME (e.x. ruby_command) that can be used in your runbooks" end
Public Instance Methods
create_statement()
click to toggle source
# File lib/runbook/generators/statement/statement.rb, line 13 def create_statement target = File.join(parent_options[:root], "#{name.underscore}.rb") template('templates/statement.tt', target) end