Sha256: 3467290aeb4cbbbc539cda9c1c8800224311421e928bf9059378e3ead462b5f3

Contents?: true

Size: 110 Bytes

Versions: 232

Compression:

Stored size: 110 Bytes

Contents

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

Version data entries

232 entries across 232 versions & 4 rubygems

Version Path
chef-11.18.12-x86-mingw32 lib/chef/monkey_patches/object.rb
chef-11.18.12 lib/chef/monkey_patches/object.rb
chef-11.18.6-x86-mingw32 lib/chef/monkey_patches/object.rb
chef-11.18.6 lib/chef/monkey_patches/object.rb
chef-11.18.0-x86-mingw32 lib/chef/monkey_patches/object.rb
chef-11.18.0 lib/chef/monkey_patches/object.rb
chef-12.0.3-x86-mingw32 lib/chef/monkey_patches/object.rb
chef-12.0.3 lib/chef/monkey_patches/object.rb
chef-12.0.1-x86-mingw32 lib/chef/monkey_patches/object.rb
chef-12.0.1 lib/chef/monkey_patches/object.rb
chef-12.0.0-x86-mingw32 lib/chef/monkey_patches/object.rb
chef-12.0.0 lib/chef/monkey_patches/object.rb
chef-10.34.6-x86-mingw32 lib/chef/monkey_patches/object.rb
chef-10.34.6 lib/chef/monkey_patches/object.rb
chef-12.0.0.rc.0-x86-mingw32 lib/chef/monkey_patches/object.rb
chef-12.0.0.rc.0 lib/chef/monkey_patches/object.rb
chef-11.16.4-x86-mingw32 lib/chef/monkey_patches/object.rb
chef-11.16.4 lib/chef/monkey_patches/object.rb
chef-10.34.4 lib/chef/monkey_patches/object.rb
chef-10.34.4-x86-mingw32 lib/chef/monkey_patches/object.rb