Class: FakeFaker::Measurement

Inherits:
Object
  • Object
show all
Defined in:
lib/fake_faker/measurement.rb

Class Method Summary collapse

Class Method Details

.height(amount = nil) ⇒ Object



4
5
6
# File 'lib/fake_faker/measurement.rb', line 4

def height(amount = nil)
  ::Faker::Measurement.height(amount: amount)
end

.length(amount = nil) ⇒ Object



8
9
10
# File 'lib/fake_faker/measurement.rb', line 8

def length(amount = nil)
  ::Faker::Measurement.length(amount: amount)
end

.metric_height(amount = nil) ⇒ Object



12
13
14
# File 'lib/fake_faker/measurement.rb', line 12

def metric_height(amount = nil)
  ::Faker::Measurement.metric_height(amount: amount)
end

.metric_length(amount = nil) ⇒ Object



16
17
18
# File 'lib/fake_faker/measurement.rb', line 16

def metric_length(amount = nil)
  ::Faker::Measurement.metric_length(amount: amount)
end

.metric_volume(amount = nil) ⇒ Object



20
21
22
# File 'lib/fake_faker/measurement.rb', line 20

def metric_volume(amount = nil)
  ::Faker::Measurement.metric_volume(amount: amount)
end

.metric_weight(amount = nil) ⇒ Object



24
25
26
# File 'lib/fake_faker/measurement.rb', line 24

def metric_weight(amount = nil)
  ::Faker::Measurement.metric_weight(amount: amount)
end

.volume(amount = nil) ⇒ Object



28
29
30
# File 'lib/fake_faker/measurement.rb', line 28

def volume(amount = nil)
  ::Faker::Measurement.volume(amount: amount)
end

.weight(amount = nil) ⇒ Object



32
33
34
# File 'lib/fake_faker/measurement.rb', line 32

def weight(amount = nil)
  ::Faker::Measurement.weight(amount: amount)
end