Class: Rome2rio::Size

Inherits:
EncodedNumberPair show all
Defined in:
lib/rome2rio/helper/size.rb

Instance Attribute Summary collapse

Attributes inherited from EncodedNumberPair

#a, #b

Method Summary

Methods inherited from EncodedNumberPair

#initialize, parse, #to_s

Constructor Details

This class inherits a constructor from Rome2rio::EncodedNumberPair

Instance Attribute Details

#h=(value) ⇒ Object

Sets the attribute h

Parameters:

  • value

    the value to set the attribute h to.



3
4
5
# File 'lib/rome2rio/helper/size.rb', line 3

def h=(value)
  @h = value
end

#w=(value) ⇒ Object

Sets the attribute w

Parameters:

  • value

    the value to set the attribute w to.



3
4
5
# File 'lib/rome2rio/helper/size.rb', line 3

def w=(value)
  @w = value
end