Class: Amount::Registry::Entry

Inherits:
Struct
  • Object
show all
Defined in:
lib/amount/registry.rb

Instance Attribute Summary collapse

Instance Attribute Details

#amount_classObject

Returns the value of attribute amount_class

Returns:

  • (Object)

    the current value of amount_class



29
30
31
# File 'lib/amount/registry.rb', line 29

def amount_class
  @amount_class
end

#decimalsObject

Returns the value of attribute decimals

Returns:

  • (Object)

    the current value of decimals



29
30
31
# File 'lib/amount/registry.rb', line 29

def decimals
  @decimals
end

#default_displayObject

Returns the value of attribute default_display

Returns:

  • (Object)

    the current value of default_display



29
30
31
# File 'lib/amount/registry.rb', line 29

def default_display
  @default_display
end

#display_positionObject

Returns the value of attribute display_position

Returns:

  • (Object)

    the current value of display_position



29
30
31
# File 'lib/amount/registry.rb', line 29

def display_position
  @display_position
end

#display_symbolObject

Returns the value of attribute display_symbol

Returns:

  • (Object)

    the current value of display_symbol



29
30
31
# File 'lib/amount/registry.rb', line 29

def display_symbol
  @display_symbol
end

#display_unitsObject

Returns the value of attribute display_units

Returns:

  • (Object)

    the current value of display_units



29
30
31
# File 'lib/amount/registry.rb', line 29

def display_units
  @display_units
end

#symbolObject

Returns the value of attribute symbol

Returns:

  • (Object)

    the current value of symbol



29
30
31
# File 'lib/amount/registry.rb', line 29

def symbol
  @symbol
end

#ui_decimalsObject

Returns the value of attribute ui_decimals

Returns:

  • (Object)

    the current value of ui_decimals



29
30
31
# File 'lib/amount/registry.rb', line 29

def ui_decimals
  @ui_decimals
end