Module: MobyUtil::XML::LibXML::Abstraction
Instance Method Summary
collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args, &block) ⇒ Object
52
53
54
|
# File 'lib/tdriver/util/xml/parsers/libxml/libxml.rb', line 52
def method_missing( method, *args, &block )
raise RuntimeError.new("Method '#{ method.to_s }' is not supported by #{ self.class.to_s } (#{ @parser.to_s })" )
end
|
Instance Method Details
#empty? ⇒ Boolean
46
47
48
|
# File 'lib/tdriver/util/xml/parsers/libxml/libxml.rb', line 46
def empty?
@xml.empty?
end
|
34
35
36
|
# File 'lib/tdriver/util/xml/parsers/libxml/libxml.rb', line 34
def name
@xml.name
end
|
#nil? ⇒ Boolean
30
31
32
|
# File 'lib/tdriver/util/xml/parsers/libxml/libxml.rb', line 30
def nil?
@xml.nil?
end
|
42
43
44
|
# File 'lib/tdriver/util/xml/parsers/libxml/libxml.rb', line 42
def size
@xml.size
end
|
38
39
40
|
# File 'lib/tdriver/util/xml/parsers/libxml/libxml.rb', line 38
def to_s
@xml.to_s
end
|