Class: Integer

Inherits:
Object show all
Defined in:
lib/Miyako/API/color.rb

Instance Method Summary collapse

Instance Method Details

#to_miyako_colorObject

: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