Class: Srgs::Meta
- Inherits:
-
Object
- Object
- Srgs::Meta
- Defined in:
- lib/srgs/elements/meta.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
-
#http_equiv ⇒ Object
Returns the value of attribute http_equiv.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(content, name = nil, http_equiv = nil) ⇒ Meta
constructor
A new instance of Meta.
Constructor Details
#initialize(content, name = nil, http_equiv = nil) ⇒ Meta
Returns a new instance of Meta.
6 7 8 9 10 |
# File 'lib/srgs/elements/meta.rb', line 6 def initialize(content, name=nil, http_equiv=nil) @name = name @content = content @http_equiv = http_equiv end |
Instance Attribute Details
#content ⇒ Object
Returns the value of attribute content.
4 5 6 |
# File 'lib/srgs/elements/meta.rb', line 4 def content @content end |
#http_equiv ⇒ Object
Returns the value of attribute http_equiv.
4 5 6 |
# File 'lib/srgs/elements/meta.rb', line 4 def http_equiv @http_equiv end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/srgs/elements/meta.rb', line 4 def name @name end |