Class: Nokogiri::XML::Element
- Inherits:
-
Object
- Object
- Nokogiri::XML::Element
- Defined in:
- lib/jekyll/extensions/xml_element.rb
Instance Method Summary collapse
Instance Method Details
#find(*args) ⇒ Object
8 9 10 |
# File 'lib/jekyll/extensions/xml_element.rb', line 8 def find *args self.css(*args).first end |
#find_all(*args) ⇒ Object
4 5 6 |
# File 'lib/jekyll/extensions/xml_element.rb', line 4 def find_all *args self.css *args end |
#prop(*args) ⇒ Object
12 13 14 |
# File 'lib/jekyll/extensions/xml_element.rb', line 12 def prop *args self.attr *args end |