Skip to content

Instantly share code, notes, and snippets.

@intinig
Created October 29, 2012 14:54
Show Gist options
  • Select an option

  • Save intinig/3973997 to your computer and use it in GitHub Desktop.

Select an option

Save intinig/3973997 to your computer and use it in GitHub Desktop.
def initialize
source = Backend.get('xml/menu.xml')
@xml_doc = Nokogiri::XML(source)
puts @xml.doc
puts Nokogiri::XML(source)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment