class Hash

Custom methods for Hash and its descendants.

Public Instance Methods

to_del() click to toggle source

Wraps a Hash in a Delegation

# File lib/get-your-rep/patches.rb, line 17
def to_del
  del = Delegation.new
  del << self
end
to_rep() click to toggle source

Converts a Hash to a Representative

# File lib/get-your-rep/patches.rb, line 23
def to_rep
  Representative[self]
end