Method: Whisk::Resource::Ingredient#initialize

Defined in:
lib/whisk/resource/ingredient.rb

#initialize(name, bowl, &block) ⇒ Ingredient

Returns a new instance of Ingredient.



30
31
32
33
34
35
36
37
38
# File 'lib/whisk/resource/ingredient.rb', line 30

def initialize(name, bowl, &block)
  @bowl = bowl
  @provider = Whisk::Provider::Ingredient
  @ref = nil
  @remotes = {}
  @source = nil

  super(name, &block)
end