Module: Faker::UnitMetric
Instance Method Summary
collapse
const_missing, k, underscore
Methods included from Unit
#temperature_abbr, #temperature_name, #time_abbr, #time_name
Instance Method Details
#area_abbr ⇒ Object
49
50
51
|
# File 'lib/ffakerer/unit_metric.rb', line 49
def area_abbr
area.abbreviation
end
|
#area_name ⇒ Object
45
46
47
|
# File 'lib/ffakerer/unit_metric.rb', line 45
def area_name
area.name
end
|
#length_abbr ⇒ Object
25
26
27
|
# File 'lib/ffakerer/unit_metric.rb', line 25
def length_abbr
length.abbreviation
end
|
#length_name ⇒ Object
21
22
23
|
# File 'lib/ffakerer/unit_metric.rb', line 21
def length_name
length.name
end
|
#liquid_abbr ⇒ Object
33
34
35
|
# File 'lib/ffakerer/unit_metric.rb', line 33
def liquid_abbr
liquid.abbreviation
end
|
#liquid_name ⇒ Object
29
30
31
|
# File 'lib/ffakerer/unit_metric.rb', line 29
def liquid_name
liquid.name
end
|
#mass_abbr ⇒ Object
17
18
19
|
# File 'lib/ffakerer/unit_metric.rb', line 17
def mass_abbr
mass.abbreviation
end
|
#mass_name ⇒ Object
13
14
15
|
# File 'lib/ffakerer/unit_metric.rb', line 13
def mass_name
mass.name
end
|
#volume_abbr ⇒ Object
41
42
43
|
# File 'lib/ffakerer/unit_metric.rb', line 41
def volume_abbr
volume.abbreviation
end
|
#volume_name ⇒ Object
37
38
39
|
# File 'lib/ffakerer/unit_metric.rb', line 37
def volume_name
volume.name
end
|