module Spruz::HashUnion
Public Instance Methods
|(other)
click to toggle source
# File lib/spruz/hash_union.rb, line 3 def |(other) other = other.to_hash if other.respond_to?(:to_hash) other.merge(self) end