Class: EasyTag::Image
- Inherits:
-
Object
- Object
- EasyTag::Image
- Defined in:
- lib/easytag/image.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#desc ⇒ Object
Returns the value of attribute desc.
-
#height ⇒ Object
readonly
Returns the value of attribute height.
-
#mime_type ⇒ Object
Returns the value of attribute mime_type.
-
#size ⇒ Object
readonly
Returns the value of attribute size.
-
#type ⇒ Object
Returns the value of attribute type.
-
#type_s ⇒ Object
Returns the value of attribute type_s.
-
#width ⇒ Object
readonly
Returns the value of attribute width.
Instance Method Summary collapse
-
#initialize(data) ⇒ Image
constructor
A new instance of Image.
Constructor Details
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
58 59 60 |
# File 'lib/easytag/image.rb', line 58 def data @data end |
#desc ⇒ Object
Returns the value of attribute desc.
58 59 60 |
# File 'lib/easytag/image.rb', line 58 def desc @desc end |
#height ⇒ Object (readonly)
Returns the value of attribute height.
57 58 59 |
# File 'lib/easytag/image.rb', line 57 def height @height end |
#mime_type ⇒ Object
Returns the value of attribute mime_type.
58 59 60 |
# File 'lib/easytag/image.rb', line 58 def mime_type @mime_type end |
#size ⇒ Object (readonly)
Returns the value of attribute size.
57 58 59 |
# File 'lib/easytag/image.rb', line 57 def size @size end |
#type ⇒ Object
Returns the value of attribute type.
58 59 60 |
# File 'lib/easytag/image.rb', line 58 def type @type end |
#type_s ⇒ Object
Returns the value of attribute type_s.
58 59 60 |
# File 'lib/easytag/image.rb', line 58 def type_s @type_s end |
#width ⇒ Object (readonly)
Returns the value of attribute width.
57 58 59 |
# File 'lib/easytag/image.rb', line 57 def width @width end |