Class: Miyako::Segment
Instance Method Summary collapse
-
#initialize(*params) ⇒ Segment
constructor
A new instance of Segment.
Constructor Details
#initialize(*params) ⇒ Segment
Returns a new instance of Segment.
636 637 638 639 |
# File 'lib/Miyako/API/struct_segment.rb', line 636 def initialize(*params) super(*params) self.min, self.max = self.max, self.min if self.min > self.max end |