Class: ActsAsCalculator::Apportionment::Share

Inherits:
Data
  • Object
show all
Defined in:
lib/acts_as_calculator/apportionment.rb

Instance Attribute Summary collapse

Instance Attribute Details

#amountObject (readonly)

Returns the value of attribute amount

Returns:

  • (Object)

    the current value of amount



7
8
9
# File 'lib/acts_as_calculator/apportionment.rb', line 7

def amount
  @amount
end

#memberObject (readonly)

Returns the value of attribute member

Returns:

  • (Object)

    the current value of member



7
8
9
# File 'lib/acts_as_calculator/apportionment.rb', line 7

def member
  @member
end

#weightObject (readonly)

Returns the value of attribute weight

Returns:

  • (Object)

    the current value of weight



7
8
9
# File 'lib/acts_as_calculator/apportionment.rb', line 7

def weight
  @weight
end