Module: MobyUtil::XML::Nokogiri::Attribute

Includes:
Abstraction
Defined in:
lib/tdriver/util/xml/parsers/nokogiri/attribute.rb

Instance Method Summary collapse

Methods included from Abstraction

#name, #nil?, #size, #to_s

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class MobyUtil::XML::Nokogiri::Abstraction

Instance Method Details

#valueObject Also known as: content

TODO: document me



31
32
33
34
35
36
37
38
39
# File 'lib/tdriver/util/xml/parsers/nokogiri/attribute.rb', line 31

def value

  cache( :value, :value ){ 
  
    @xml.value
  
  }
  
end

#value=(content) ⇒ Object Also known as: content=

TODO: document me



42
43
44
45
46
47
48
# File 'lib/tdriver/util/xml/parsers/nokogiri/attribute.rb', line 42

def value=( content )

  clear_cache

  @xml.value = content

end