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

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

Overview

A FPM::Fry::Recipe::Step is a named build step.

See Also:

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



20
21
22
# File 'lib/fpm/fry/recipe.rb', line 20

def name
  @name
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



20
21
22
# File 'lib/fpm/fry/recipe.rb', line 20

def value
  @value
end

Instance Method Details

#to_sObject



21
22
23
# File 'lib/fpm/fry/recipe.rb', line 21

def to_s
  value.to_s
end