Class: FPM::Fry::Recipe::Step

Inherits:
Struct
  • Object
show all
Defined in:
lib/fpm/fry/recipe.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



15
16
17
# File 'lib/fpm/fry/recipe.rb', line 15

def name
  @name
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



15
16
17
# File 'lib/fpm/fry/recipe.rb', line 15

def value
  @value
end

Instance Method Details

#to_sObject



16
17
18
# File 'lib/fpm/fry/recipe.rb', line 16

def to_s
  value.to_s
end