Class: CrowdFund::GrantProject

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

Instance Attribute Summary

Attributes inherited from Project

#funding, #name, #target

Instance Method Summary collapse

Methods inherited from Project

#<=>, #each_pledge_donated, #funded?, #funding_needed, #funds, #initialize, #pledges_made, #to_s

Methods included from Fundable

#add_funds

Constructor Details

This class inherits a constructor from CrowdFund::Project

Instance Method Details

#remove_fundsObject



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

def remove_funds
	@funding -= 0
	puts "#{@name} has not lost or gained any funds."
end