Class: Length
Constant Summary collapse
- Inches =
0
- Feet =
1
- Millimeter =
2
- Centimeter =
3
- Meter =
4
Instance Method Summary collapse
- #< ⇒ Object
- #<= ⇒ Object
- #<=> ⇒ Object
- #== ⇒ Object
- #> ⇒ Object
- #>= ⇒ Object
- #inspect ⇒ Object
- #to_f ⇒ Object
- #to_s ⇒ Object
Instance Method Details
#< ⇒ Object
9 10 |
# File 'lib/length.rb', line 9 def < end |
#<= ⇒ Object
11 12 |
# File 'lib/length.rb', line 11 def <= end |
#<=> ⇒ Object
13 14 |
# File 'lib/length.rb', line 13 def <=> end |
#== ⇒ Object
15 16 |
# File 'lib/length.rb', line 15 def == end |
#> ⇒ Object
17 18 |
# File 'lib/length.rb', line 17 def > end |
#>= ⇒ Object
19 20 |
# File 'lib/length.rb', line 19 def >= end |
#inspect ⇒ Object
21 22 |
# File 'lib/length.rb', line 21 def inspect end |
#to_f ⇒ Object
23 24 |
# File 'lib/length.rb', line 23 def to_f end |
#to_s ⇒ Object
25 26 |
# File 'lib/length.rb', line 25 def to_s end |