module CrowdFund::Fundable

Public Instance Methods

add_funds() click to toggle source
# File lib/crowdfund/fundable.rb, line 5
def add_funds
        @funding += 25
        puts "Project #{@name} received funds!"
end
remove_funds() click to toggle source
# File lib/crowdfund/fundable.rb, line 10
def remove_funds
        @funding -= 15
        puts "Project #{@name} lost funds!"
end