Module: MobyUtil::XML::Nokogiri::Attribute
- Includes:
- Abstraction
- Defined in:
- lib/tdriver/util/xml/parsers/nokogiri/attribute.rb
Instance Method Summary collapse
-
#value ⇒ Object
(also: #content)
TODO: document me.
-
#value=(content) ⇒ Object
(also: #content=)
TODO: document me.
Methods included from Abstraction
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class MobyUtil::XML::Nokogiri::Abstraction
Instance Method Details
#value ⇒ Object 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 |