Module: Faker::UnitEnglish

Extended by:
ModuleUtils, UnitEnglish
Includes:
Unit
Included in:
UnitEnglish
Defined in:
lib/ffakerer/unit_english.rb

Instance Method Summary collapse

Methods included from ModuleUtils

const_missing, k, underscore

Methods included from Unit

#temperature_abbr, #temperature_name, #time_abbr, #time_name

Instance Method Details

#area_abbrObject



49
50
51
# File 'lib/ffakerer/unit_english.rb', line 49

def area_abbr
  area.abbreviation
end

#area_nameObject



45
46
47
# File 'lib/ffakerer/unit_english.rb', line 45

def area_name
  area.name
end

#length_abbrObject



25
26
27
# File 'lib/ffakerer/unit_english.rb', line 25

def length_abbr
  length.abbreviation
end

#length_nameObject



21
22
23
# File 'lib/ffakerer/unit_english.rb', line 21

def length_name
  length.name
end

#liquid_abbrObject



33
34
35
# File 'lib/ffakerer/unit_english.rb', line 33

def liquid_abbr
  liquid.abbreviation
end

#liquid_nameObject



29
30
31
# File 'lib/ffakerer/unit_english.rb', line 29

def liquid_name
  liquid.name
end

#mass_abbrObject



17
18
19
# File 'lib/ffakerer/unit_english.rb', line 17

def mass_abbr
  mass.abbreviation
end

#mass_nameObject



13
14
15
# File 'lib/ffakerer/unit_english.rb', line 13

def mass_name
  mass.name
end

#volume_abbrObject



41
42
43
# File 'lib/ffakerer/unit_english.rb', line 41

def volume_abbr
  volume.abbreviation
end

#volume_nameObject



37
38
39
# File 'lib/ffakerer/unit_english.rb', line 37

def volume_name
  volume.name
end