Class: Color
Instance Attribute Summary collapse
-
#alpha ⇒ Object
Returns the value of attribute alpha.
-
#blue ⇒ Object
Returns the value of attribute blue.
-
#green ⇒ Object
Returns the value of attribute green.
-
#red ⇒ Object
Returns the value of attribute red.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#alpha ⇒ Object
Returns the value of attribute alpha.
92 93 94 |
# File 'lib/rmxp_extractor/classnames.rb', line 92 def alpha @alpha end |
#blue ⇒ Object
Returns the value of attribute blue.
92 93 94 |
# File 'lib/rmxp_extractor/classnames.rb', line 92 def blue @blue end |
#green ⇒ Object
Returns the value of attribute green.
92 93 94 |
# File 'lib/rmxp_extractor/classnames.rb', line 92 def green @green end |
#red ⇒ Object
Returns the value of attribute red.
92 93 94 |
# File 'lib/rmxp_extractor/classnames.rb', line 92 def red @red end |
Class Method Details
Instance Method Details
#_dump(limit) ⇒ Object
94 95 96 |
# File 'lib/rmxp_extractor/classnames.rb', line 94 def _dump(limit) [@red, @green, @blue, @alpha].pack("d4") end |