class Hash

Public Instance Methods

dottie() click to toggle source

Creates a new Dottie::Freckle that wraps this Hash.

# File lib/dottie/ext/hash.rb, line 6
def dottie
  Dottie::Freckle.new(self)
end
dottie!() click to toggle source

Adds Dottie’s behaviors to this Hash.

# File lib/dottie/ext/hash.rb, line 13
def dottie!
  self.extend(Dottie::Methods)
end