public
Last active

  • Download Gist
gistfile1.rb
Ruby
1 2 3 4
def total_sold
self.prospects.map{ |prospect| @qt =+ 1 if prospect.status == "sold" }
@qt
end

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.