Method: Bake::Recipe#initialize
- Defined in:
- lib/bake/recipe.rb
#initialize(instance, name, method = nil) ⇒ Recipe
Returns a new instance of Recipe.
27 28 29 30 31 32 33 34 35 36 |
# File 'lib/bake/recipe.rb', line 27 def initialize(instance, name, method = nil) @instance = instance @name = name @command = nil @description = nil @types = nil @method = method @arity = nil end |