Class: Bateman::MetaAttribute

Inherits:
Object
  • Object
show all
Defined in:
lib/bateman/meta_attribute.rb

Instance Method Summary collapse

Constructor Details

#initialize(html) ⇒ MetaAttribute

Returns a new instance of MetaAttribute.



3
4
5
6
# File 'lib/bateman/meta_attribute.rb', line 3

def initialize(html)
  @html = html
  @attribute = extract_attribute
end

Instance Method Details

#to_sObject



8
9
10
# File 'lib/bateman/meta_attribute.rb', line 8

def to_s
  @attribute.to_s
end