Class: Srgs::Meta

Inherits:
Object
  • Object
show all
Defined in:
lib/srgs/elements/meta.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#contentObject

Returns the value of attribute content.



4
5
6
# File 'lib/srgs/elements/meta.rb', line 4

def content
  @content
end

#http_equivObject

Returns the value of attribute http_equiv.



4
5
6
# File 'lib/srgs/elements/meta.rb', line 4

def http_equiv
  @http_equiv
end

#nameObject

Returns the value of attribute name.



4
5
6
# File 'lib/srgs/elements/meta.rb', line 4

def name
  @name
end