Class: Middleman::S3Metadata::Options::Metadata
- Inherits:
-
Object
- Object
- Middleman::S3Metadata::Options::Metadata
- Defined in:
- lib/middleman/s3_metadata/extension.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#object ⇒ Object
readonly
Returns the value of attribute object.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(object, key, value) ⇒ Metadata
constructor
A new instance of Metadata.
Constructor Details
#initialize(object, key, value) ⇒ Metadata
Returns a new instance of Metadata.
33 34 35 36 37 |
# File 'lib/middleman/s3_metadata/extension.rb', line 33 def initialize(object, key, value) @object = object @key = key @value = value end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
31 32 33 |
# File 'lib/middleman/s3_metadata/extension.rb', line 31 def key @key end |
#object ⇒ Object (readonly)
Returns the value of attribute object.
31 32 33 |
# File 'lib/middleman/s3_metadata/extension.rb', line 31 def object @object end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
31 32 33 |
# File 'lib/middleman/s3_metadata/extension.rb', line 31 def value @value end |