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
classiccms-0.5.13 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/tap.rb
classiccms-0.5.12 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/tap.rb
classiccms-0.5.11 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/tap.rb
classiccms-0.5.10 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/tap.rb
classiccms-0.5.9 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/tap.rb
classiccms-0.5.8 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/tap.rb
classiccms-0.5.7 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/tap.rb
therubyracer-0.10.2 lib/v8/tap.rb
therubyracer-0.10.2beta1 lib/v8/tap.rb
classiccms-0.5.6 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/tap.rb
classiccms-0.5.5 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/tap.rb
classiccms-0.5.2 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/tap.rb
classiccms-0.5.1 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/tap.rb
classiccms-0.5.0 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/tap.rb
classiccms-0.4.2 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/tap.rb
classiccms-0.4.1 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/tap.rb
classiccms-0.4.0 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/tap.rb
classiccms-0.3.9 vendor/bundle/gems/therubyracer-0.10.1/lib/v8/tap.rb
sunrise-cms-0.3.3 vendor/bundle/ruby/1.9.1/gems/therubyracer-0.10.1/lib/v8/tap.rb
sunrise-cms-0.3.2 vendor/bundle/ruby/1.9.1/gems/therubyracer-0.10.1/lib/v8/tap.rb