class Array
Custom methods for Array
and its descendants.
Public Instance Methods
to_del()
click to toggle source
Converts an Array
to a Delegation
# File lib/get-your-rep/patches.rb, line 4 def to_del Delegation.new(self) end
to_rep()
click to toggle source
Converts an Array
to a Representative
# File lib/get-your-rep/patches.rb, line 9 def to_rep Representative[to_h] end