Module: Faker::Unit

Extended by:
ModuleUtils, Unit
Included in:
Unit, UnitEnglish, UnitMetric
Defined in:
lib/ffakerer/unit.rb

Instance Method Summary collapse

Methods included from ModuleUtils

const_missing, k, underscore

Instance Method Details

#temperature_abbrObject



22
23
24
# File 'lib/ffakerer/unit.rb', line 22

def temperature_abbr
  temperature.abbreviation
end

#temperature_nameObject



18
19
20
# File 'lib/ffakerer/unit.rb', line 18

def temperature_name
  temperature.name
end

#time_abbrObject



14
15
16
# File 'lib/ffakerer/unit.rb', line 14

def time_abbr
  time.abbreviation
end

#time_nameObject



10
11
12
# File 'lib/ffakerer/unit.rb', line 10

def time_name
  time.name
end