Sha256: d323890e47126df8f04d37871c2e6dc1a8b1681f462d13cfbb4d6c46dd13bf66

Contents?: true

Size: 117 Bytes

Versions: 97

Compression:

Stored size: 117 Bytes

Contents

unless Object.method_defined?(:tap)
  class Object
    def tap
      yield self
      return self
    end
  end
end

Version data entries

97 entries across 97 versions & 6 rubygems

Version Path
therubyracer-0.9.6 lib/v8/tap.rb
therubyracer-0.9.5 lib/v8/tap.rb
therubyracer-0.9.4 lib/v8/tap.rb
therubyracer-0.9.3 lib/v8/tap.rb
therubyracer-0.9.3beta1 lib/v8/tap.rb
therubyracer-0.9.2 lib/v8/tap.rb
therubyracer-0.9.2beta1 lib/v8/tap.rb
therubyracer-0.9.1 lib/v8/tap.rb
therubyracer-0.9.1beta1 lib/v8/tap.rb
therubyracer-0.9.0 lib/v8/tap.rb
therubyracer-0.9.0beta7 lib/v8/tap.rb
therubyracer-0.9.0beta6 lib/v8/tap.rb
therubyracer-0.9.0beta5 lib/v8/tap.rb
therubyracer-0.8.2 lib/v8/tap.rb
therubyracer-0.9.0beta4 lib/v8/tap.rb
therubyracer-0.9.0beta3 lib/v8/tap.rb
therubyracer-0.9.0beta2 lib/v8/tap.rb
therubyracer-0.9.0beta1 lib/v8/tap.rb
therubyracer-0.8.2.pre2 lib/v8/tap.rb
therubyracer-0.8.2.pre lib/v8/tap.rb