Sha256: 5977964a0c649a54eafe03b8b1b9b918e05f95a27d87656b90423287edadcaae

Contents?: true

Size: 105 Bytes

Versions: 17

Compression:

Stored size: 105 Bytes

Contents

class Object
  def tap
    val = `self.$$is_boolean` ? self==true : self
    yield val
    val
  end
end

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
hyper-model-1.0.alpha1.8 lib/object/tap.rb
hyper-model-1.0.alpha1.7 lib/object/tap.rb
hyper-model-1.0.alpha1.6 lib/object/tap.rb
hyper-model-1.0.alpha1.5 lib/object/tap.rb
hyper-model-1.0.alpha1.4 lib/object/tap.rb
hyper-model-0.99.6 lib/object/tap.rb
hyper-model-1.0.alpha1.3 lib/object/tap.rb
hyper-model-0.99.5 lib/object/tap.rb
hyper-model-0.99.4 lib/object/tap.rb
hyper-model-1.0.alpha1.2 lib/object/tap.rb
hyper-model-1.0.alpha1.1 lib/object/tap.rb
hyper-model-1.0.alpha1 lib/object/tap.rb
hyper-model-0.99.3 lib/object/tap.rb
hyper-model-0.99.2 lib/object/tap.rb
hyper-model-0.99.1 lib/object/tap.rb
hyper-model-0.99.0 lib/object/tap.rb
hyper-mesh-1.0.0.lap28 lib/object/tap.rb