module FFaker::Unit
Constants
- TEMPERATURE_UNITS
- TIME_UNITS
Public Instance Methods
Source
# File lib/ffaker/unit.rb, line 34 def temperature_abbr temperature[:abbreviation] end
Source
# File lib/ffaker/unit.rb, line 30 def temperature_name temperature[:name] end
Private Instance Methods
Source
# File lib/ffaker/unit.rb, line 44 def temperature fetch_sample(TEMPERATURE_UNITS) end