Class: Image
- Inherits:
-
Object
- Object
- Image
- Defined in:
- lib/annlat/AnnLat.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#path ⇒ Object
Returns the value of attribute path.
-
#uuid ⇒ Object
readonly
Returns the value of attribute uuid.
Instance Method Summary collapse
-
#initialize(path, options = {:dynamic => true}) ⇒ Image
constructor
A new instance of Image.
- #my_json ⇒ Object
Constructor Details
#initialize(path, options = {:dynamic => true}) ⇒ Image
Returns a new instance of Image.
157 158 159 160 161 |
# File 'lib/annlat/AnnLat.rb', line 157 def initialize(path, ={:dynamic => true}) = @path=path @uuid=SecureRandom.uuid end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
154 155 156 |
# File 'lib/annlat/AnnLat.rb', line 154 def end |
#path ⇒ Object
Returns the value of attribute path.
152 153 154 |
# File 'lib/annlat/AnnLat.rb', line 152 def path @path end |
#uuid ⇒ Object (readonly)
Returns the value of attribute uuid.
153 154 155 |
# File 'lib/annlat/AnnLat.rb', line 153 def uuid @uuid end |
Instance Method Details
#my_json ⇒ Object
163 164 165 |
# File 'lib/annlat/AnnLat.rb', line 163 def my_json path end |