module FFaker::Unit
Constants
- TEMPERATURE_UNITS
- TIME_UNITS
Public Instance Methods
temperature_abbr()
click to toggle source
# File lib/ffaker/unit.rb, line 34 def temperature_abbr temperature[:abbreviation] end
temperature_name()
click to toggle source
# File lib/ffaker/unit.rb, line 30 def temperature_name temperature[:name] end
time_abbr()
click to toggle source
# File lib/ffaker/unit.rb, line 26 def time_abbr time[:abbreviation] end
time_name()
click to toggle source
# File lib/ffaker/unit.rb, line 22 def time_name time[:name] end
Private Instance Methods
temperature()
click to toggle source
# File lib/ffaker/unit.rb, line 44 def temperature fetch_sample(TEMPERATURE_UNITS) end
time()
click to toggle source
# File lib/ffaker/unit.rb, line 40 def time fetch_sample(TIME_UNITS) end