Class: Nokogiri::XML::Node

Inherits:
Object
  • Object
show all
Defined in:
lib/enterprise/sexml.rb

Instance Method Summary collapse

Instance Method Details

#to_rubyObject



39
40
41
# File 'lib/enterprise/sexml.rb', line 39

def to_ruby
  Ruby2Ruby.new.process(to_sexp)
end

#to_sexpObject



35
36
37
# File 'lib/enterprise/sexml.rb', line 35

def to_sexp
  accept Enterprise::XMLToSexp.new
end