Class: CrowdFund::GrandProject

Inherits:
Project
  • Object
show all
Defined in:
lib/crowd_fund/grand_project.rb

Instance Attribute Summary

Attributes inherited from Project

#amount, #name, #target

Instance Method Summary collapse

Methods inherited from Project

#each_pledge_received, #initialize, #receive_pledge, #total_pledges

Methods included from Printable

#to_s

Methods included from Fundable

#<=>, #add, #full?, #stats, #total_to_fund

Constructor Details

This class inherits a constructor from CrowdFund::Project

Instance Method Details

#remove(amount_to_remove) ⇒ Object



6
7
8
# File 'lib/crowd_fund/grand_project.rb', line 6

def remove(amount_to_remove)
  puts "\n#{@name} does not allow removing $#{amount_to_remove}, because it's a grand project!"
end