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.8.1 lib/v8/tap.rb
therubyracer-0.8.1.pre2 lib/v8/tap.rb
therubyracer-heroku-0.8.1.pre3 lib/v8/tap.rb
therubyracer-heroku-0.8.1.pre2 lib/v8/tap.rb
therubyracer-0.8.1.pre1 lib/v8/tap.rb
therubyracer-0.8.0 lib/v8/tap.rb
therubyracer-0.8.0.pre3 lib/v8/tap.rb
therubyracer-0.8.0.pre2 lib/v8/tap.rb
therubyracer-0.8.0.pre lib/v8/tap.rb
therubyracer-0.7.5 lib/v8/tap.rb
therubyracer-0.7.4 lib/v8/tap.rb
therubyracer-0.7.3 lib/v8/tap.rb
therubyracer-0.7.2 lib/v8/tap.rb
therubyracer-0.7.2.pre lib/v8/tap.rb
therubyracer-0.7.1 lib/v8/tap.rb
therubyracer-0.7.1.pre lib/v8/tap.rb
therubyracer-0.7.0 lib/v8/tap.rb