Sha256: c67199c4d2fcfbfafee30721cd4a6833c76dda9dbe8edd4f2b0d881300a1b7be
Contents?: true
Size: 274 Bytes
Versions: 1
Compression:
Stored size: 274 Bytes
Contents
module RealEstateFinance class GrossPotentialIncome attr_reader :monthly_income def initialize(monthly_income) @monthly_income = monthly_income end def gross_potential_income sprintf("%0.02f", (@monthly_income * 12)).to_f end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
real_estate_finance-0.1.0 | lib/real_estate_finance/gross_potential_income.rb |