Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block beno

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View tree.swift
protocol Node: Hashable {
var localizedName: String {get set}
class File: Node {
let fileID: Int
var localizedName: String
let hashValue : Int
View builds an element hash from a nokogiri xml doc with "-n" (n = counter) added to the name
# Converting Nokogiri parsed XML to_hash
# adds "-2", "-3", etc to the key in case of multiple items
# only elements
module Extensions
module Document
def to_hash
You can’t perform that action at this time.