Class: InvestmentSize

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
FriendlyNamable, Translatable
Defined in:
app/models/investment_size.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods included from FriendlyNamable

#friendly_name, included

Methods included from Translatable

#localized_name

Class Method Details

.lowestObject



11
12
13
# File 'app/models/investment_size.rb', line 11

def self.lowest
  first
end

Instance Method Details

#lowest?Boolean

Returns:

  • (Boolean)


15
16
17
# File 'app/models/investment_size.rb', line 15

def lowest?
  self == self.class.lowest
end