Class: Middleman::S3Metadata::Options::Metadata

Inherits:
Object
  • Object
show all
Defined in:
lib/middleman/s3_metadata/extension.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#keyObject (readonly)

Returns the value of attribute key.



31
32
33
# File 'lib/middleman/s3_metadata/extension.rb', line 31

def key
  @key
end

#objectObject (readonly)

Returns the value of attribute object.



31
32
33
# File 'lib/middleman/s3_metadata/extension.rb', line 31

def object
  @object
end

#valueObject (readonly)

Returns the value of attribute value.



31
32
33
# File 'lib/middleman/s3_metadata/extension.rb', line 31

def value
  @value
end