Class: Nokogiri::XML::Element

Inherits:
Object
  • Object
show all
Defined in:
lib/ext/xml_element.rb

Instance Method Summary collapse

Instance Method Details

#classesObject



5
6
7
# File 'lib/ext/xml_element.rb', line 5

def classes
  (self['class'] || "").split(" ")
end