Class: Crowdfund::GrantProject

Inherits:
Project
  • Object
show all
Defined in:
lib/crowdfund/grant_project.rb

Instance Attribute Summary

Attributes inherited from Project

#funding, #goal, #name, #pledges

Instance Method Summary collapse

Methods inherited from Project

#<=>, #each_pledge, #initialize, #receive_pledge, #to_s

Methods included from Fundable

#add_funds, #fully_funded?, #funds_needed

Constructor Details

This class inherits a constructor from Crowdfund::Project

Instance Method Details

#lose_fundsObject



6
7
8
# File 'lib/crowdfund/grant_project.rb', line 6

def lose_funds
  puts "#{name} cannot lose funds. It is a grant project."
end