Sha256: 7d10c83f1538c9b543f9284684dc5921ba8dd7789abe6e84f09f57ed64953919

Contents?: true

Size: 240 Bytes

Versions: 3

Compression:

Stored size: 240 Bytes

Contents

class Hash
  
  ##
  # Creates a new Dottie::Freckle that wraps this Hash.
  
  def dottie
    Dottie::Freckle.new(self)
  end
  
  ##
  # Adds Dottie's behaviors to this Hash.
  
  def dottie!
    self.extend(Dottie::Methods)
  end
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dottie-0.0.3 lib/dottie/ext/hash.rb
dottie-0.0.2 lib/dottie/ext/hash.rb
dottie-0.0.1 lib/dottie/ext/hash.rb