Class: Integer
Instance Method Summary collapse
-
#to_miyako_color ⇒ Object
:nodoc:.
Instance Method Details
#to_miyako_color ⇒ Object
:nodoc:
166 167 168 |
# File 'lib/Miyako/API/color.rb', line 166 def to_miyako_color #:nodoc: return [(self >> 16) & 0xff, (self >> 8) & 0xff, self & 0xff, (self >> 24) & 0xff] end |