Class: Cameraplus::PhotoExif
- Inherits:
-
Object
- Object
- Cameraplus::PhotoExif
- Defined in:
- lib/cameraplus/photo_exif.rb
Instance Attribute Summary collapse
-
#style ⇒ Object
readonly
Returns the value of attribute style.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(data) ⇒ PhotoExif
constructor
A new instance of PhotoExif.
Constructor Details
#initialize(data) ⇒ PhotoExif
Returns a new instance of PhotoExif.
6 7 8 9 10 |
# File 'lib/cameraplus/photo_exif.rb', line 6 def initialize(data) @title = data.title @value = data.value @style = data.style end |
Instance Attribute Details
#style ⇒ Object (readonly)
Returns the value of attribute style.
4 5 6 |
# File 'lib/cameraplus/photo_exif.rb', line 4 def style @style end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
4 5 6 |
# File 'lib/cameraplus/photo_exif.rb', line 4 def title @title end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
4 5 6 |
# File 'lib/cameraplus/photo_exif.rb', line 4 def value @value end |