Skip to content

Instantly share code, notes, and snippets.

@domcleal domcleal/ruby.rb

forked from raphink/ruby.rb
Created Nov 14, 2012
What would you like to do?
if before or after
# Insert before or after given path
aug.insert(before or after, "path", before ? true : false)
entry_path = "#{fpath}/path[count(*)=0]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.