Class: DocImageExtract::Picture
- Inherits:
-
Object
- Object
- DocImageExtract::Picture
- Defined in:
- lib/doc_image_extract/picture.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#file_name ⇒ Object
readonly
Returns the value of attribute file_name.
Instance Method Summary collapse
-
#initialize(file_name, data) ⇒ Picture
constructor
A new instance of Picture.
Constructor Details
#initialize(file_name, data) ⇒ Picture
Returns a new instance of Picture.
5 6 7 8 |
# File 'lib/doc_image_extract/picture.rb', line 5 def initialize(file_name, data) @file_name = file_name @data = data end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
3 4 5 |
# File 'lib/doc_image_extract/picture.rb', line 3 def data @data end |
#file_name ⇒ Object (readonly)
Returns the value of attribute file_name.
3 4 5 |
# File 'lib/doc_image_extract/picture.rb', line 3 def file_name @file_name end |