Class: Plat

Inherits:
Struct
  • Object
show all
Defined in:
lib/pract06/menu.rb

Overview

primer error: ‘require’: cannot load such file – pract06/nutrucion.rb (LoadError)

Instance Attribute Summary collapse

Instance Attribute Details

#descripcionObject

Returns the value of attribute descripcion

Returns:

  • (Object)

    the current value of descripcion



6
7
8
# File 'lib/pract06/menu.rb', line 6

def descripcion
  @descripcion
end

#gramosObject

Returns the value of attribute gramos

Returns:

  • (Object)

    the current value of gramos



6
7
8
# File 'lib/pract06/menu.rb', line 6

def gramos
  @gramos
end

#porcionObject

Returns the value of attribute porcion

Returns:

  • (Object)

    the current value of porcion



6
7
8
# File 'lib/pract06/menu.rb', line 6

def porcion
  @porcion
end