Class: XmpToolkitRuby::XmpValue
- Inherits:
-
Object
- Object
- XmpToolkitRuby::XmpValue
- Defined in:
- lib/xmp_toolkit_ruby/xmp_value.rb
Constant Summary collapse
- TYPES =
%i[string bool int int64 float date].freeze
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value, type: nil) ⇒ XmpValue
constructor
A new instance of XmpValue.
Constructor Details
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
5 6 7 |
# File 'lib/xmp_toolkit_ruby/xmp_value.rb', line 5 def type @type end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
5 6 7 |
# File 'lib/xmp_toolkit_ruby/xmp_value.rb', line 5 def value @value end |