Class: A2WS::Image
Instance Attribute Summary collapse
-
#size ⇒ Object
Returns the value of attribute size.
Attributes included from Methodize
Instance Method Summary collapse
-
#initialize(size, data) ⇒ Image
constructor
A new instance of Image.
Methods included from Methodize
Constructor Details
#initialize(size, data) ⇒ Image
Returns a new instance of Image.
9 10 11 |
# File 'lib/a2ws/image.rb', line 9 def initialize(size, data) @size, @data_hash = size, data end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Methodize
Instance Attribute Details
#size ⇒ Object
Returns the value of attribute size.
6 7 8 |
# File 'lib/a2ws/image.rb', line 6 def size @size end |