Class: Pledge

Inherits:
Struct
  • Object
show all
Defined in:
lib/crowdfund/pledgepool.rb

Overview

bigger number means more influence (I use them as multiplier values)

Instance Attribute Summary collapse

Instance Attribute Details

#amountObject

Returns the value of attribute amount

Returns:

  • (Object)

    the current value of amount



1
2
3
# File 'lib/crowdfund/pledgepool.rb', line 1

def amount
  @amount
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



1
2
3
# File 'lib/crowdfund/pledgepool.rb', line 1

def name
  @name
end