Sha256: d9c95bff9db50c54aacbda795e8969d24e11cac70150eeeddf8fc56d93413a8b

Contents?: true

Size: 243 Bytes

Versions: 3

Compression:

Stored size: 243 Bytes

Contents

class Array
  
  ##
  # Creates a new Dottie::Freckle that wraps this Array.
  
  def dottie
    Dottie::Freckle.new(self)
  end
  
  ##
  # Adds Dottie's behaviors to this Array.
  
  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/array.rb
dottie-0.0.2 lib/dottie/ext/array.rb
dottie-0.0.1 lib/dottie/ext/array.rb