module FFaker::UnitEnglish
Constants
- AREA_UNITS
- LENGTH_UNITS
- LIQUID_UNITS
- MASS_UNITS
- VOLUME_UNITS
Public Instance Methods
Source
# File lib/ffaker/unit_english.rb, line 81 def area_abbr area[:abbreviation] end
Source
# File lib/ffaker/unit_english.rb, line 57 def length_abbr length[:abbreviation] end
Source
# File lib/ffaker/unit_english.rb, line 65 def liquid_abbr liquid[:abbreviation] end
Source
# File lib/ffaker/unit_english.rb, line 49 def mass_abbr mass[:abbreviation] end
Source
# File lib/ffaker/unit_english.rb, line 73 def volume_abbr volume[:abbreviation] end
Private Instance Methods
Source
# File lib/ffaker/unit_english.rb, line 87 def length fetch_sample(LENGTH_UNITS) end
Source
# File lib/ffaker/unit_english.rb, line 95 def liquid fetch_sample(LIQUID_UNITS) end
Source
# File lib/ffaker/unit_english.rb, line 99 def volume fetch_sample(VOLUME_UNITS) end