Class: Convection::Model::Template::Metadata

Inherits:
Object
  • Object
show all
Defined in:
lib/convection/model/template/metadata.rb

Overview

Metadata Attribute

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, value) ⇒ Metadata

Returns a new instance of Metadata



11
12
13
14
# File 'lib/convection/model/template/metadata.rb', line 11

def initialize(name, value)
  @name = name
  @value = value
end

Instance Attribute Details

#nameObject

Returns the value of attribute name



8
9
10
# File 'lib/convection/model/template/metadata.rb', line 8

def name
  @name
end

#valueObject

Returns the value of attribute value



9
10
11
# File 'lib/convection/model/template/metadata.rb', line 9

def value
  @value
end

Instance Method Details

#renderObject



16
17
18
# File 'lib/convection/model/template/metadata.rb', line 16

def render
  value
end