Sha256: b198a2dcd81894eb7c5962bbb08935c5810129152ec58ff934c889dd0abf1eb7

Contents?: true

Size: 140 Bytes

Versions: 87

Compression:

Stored size: 140 Bytes

Contents

module Kernel
  def ergo(&b)
    if block_given?
      b.arity == 1 ? yield(self) : instance_eval(&b)
    else
      self
    end
  end
end

Version data entries

87 entries across 87 versions & 1 rubygems

Version Path
neo4j-core-7.0.7 lib/ext/kernel.rb
neo4j-core-7.0.6 lib/ext/kernel.rb
neo4j-core-7.0.5 lib/ext/kernel.rb
neo4j-core-7.0.4 lib/ext/kernel.rb
neo4j-core-7.0.3 lib/ext/kernel.rb
neo4j-core-7.0.2 lib/ext/kernel.rb
neo4j-core-7.0.1 lib/ext/kernel.rb
neo4j-core-7.0.0 lib/ext/kernel.rb
neo4j-core-6.1.6 lib/ext/kernel.rb
neo4j-core-7.0.0.rc.2 lib/ext/kernel.rb
neo4j-core-7.0.0.rc.1 lib/ext/kernel.rb
neo4j-core-7.0.0.alpha.8 lib/ext/kernel.rb
neo4j-core-7.0.0.alpha.7 lib/ext/kernel.rb
neo4j-core-6.1.5 lib/ext/kernel.rb
neo4j-core-7.0.0.alpha.6 lib/ext/kernel.rb
neo4j-core-7.0.0.alpha.5 lib/ext/kernel.rb
neo4j-core-7.0.0.alpha.4 lib/ext/kernel.rb
neo4j-core-7.0.0.alpha.3 lib/ext/kernel.rb
neo4j-core-7.0.0.alpha.2 lib/ext/kernel.rb
neo4j-core-7.0.0.alpha.1 lib/ext/kernel.rb