class CrowdFund::SpecializedBehavior

Public Instance Methods

found_pledge(pledge) click to toggle source
Calls superclass method CrowdFund::Project#found_pledge
# File lib/crowd_fund/specialized_behavior.rb, line 5
def found_pledge(pledge)
  default_pledge = Pledge.new(pledge.name, funding / 2.0)
  super(default_pledge)
end