Class: XML::Smart::Dom::Other
Instance Method Summary collapse
Methods inherited from Text
#===, #dump, #initialize, #parent, #path, #text, #text=, #to_f, #to_i, #to_s
Constructor Details
This class inherits a constructor from XML::Smart::Dom::Text
Instance Method Details
#otype ⇒ Object
6 7 8 9 10 11 |
# File 'lib/xml/smart_domother.rb', line 6 def otype case @text when Nokogiri::XML::Comment; :comment else; :unknown end end |