module FFaker::UnitEnglish
Constants
- AREA_UNITS
- LENGTH_UNITS
- LIQUID_UNITS
- MASS_UNITS
- VOLUME_UNITS
Public Instance Methods
area_abbr()
click to toggle source
# File lib/ffaker/unit_english.rb, line 81 def area_abbr area[:abbreviation] end
area_name()
click to toggle source
# File lib/ffaker/unit_english.rb, line 77 def area_name area[:name] end
length_abbr()
click to toggle source
# File lib/ffaker/unit_english.rb, line 57 def length_abbr length[:abbreviation] end
length_name()
click to toggle source
# File lib/ffaker/unit_english.rb, line 53 def length_name length[:name] end
liquid_abbr()
click to toggle source
# File lib/ffaker/unit_english.rb, line 65 def liquid_abbr liquid[:abbreviation] end
liquid_name()
click to toggle source
# File lib/ffaker/unit_english.rb, line 61 def liquid_name liquid[:name] end
mass_abbr()
click to toggle source
# File lib/ffaker/unit_english.rb, line 49 def mass_abbr mass[:abbreviation] end
mass_name()
click to toggle source
# File lib/ffaker/unit_english.rb, line 45 def mass_name mass[:name] end
volume_abbr()
click to toggle source
# File lib/ffaker/unit_english.rb, line 73 def volume_abbr volume[:abbreviation] end
volume_name()
click to toggle source
# File lib/ffaker/unit_english.rb, line 69 def volume_name volume[:name] end
Private Instance Methods
area()
click to toggle source
# File lib/ffaker/unit_english.rb, line 103 def area fetch_sample(AREA_UNITS) end
length()
click to toggle source
# File lib/ffaker/unit_english.rb, line 87 def length fetch_sample(LENGTH_UNITS) end
liquid()
click to toggle source
# File lib/ffaker/unit_english.rb, line 95 def liquid fetch_sample(LIQUID_UNITS) end
mass()
click to toggle source
# File lib/ffaker/unit_english.rb, line 91 def mass fetch_sample(MASS_UNITS) end
volume()
click to toggle source
# File lib/ffaker/unit_english.rb, line 99 def volume fetch_sample(VOLUME_UNITS) end