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-5.1.7 lib/ext/kernel.rb
neo4j-core-6.0.0.alpha.1 lib/ext/kernel.rb
neo4j-core-5.1.6 lib/ext/kernel.rb
neo4j-core-5.1.5 lib/ext/kernel.rb
neo4j-core-5.1.4 lib/ext/kernel.rb
neo4j-core-5.1.3 lib/ext/kernel.rb
neo4j-core-5.1.2 lib/ext/kernel.rb
neo4j-core-5.1.1 lib/ext/kernel.rb
neo4j-core-5.1.0 lib/ext/kernel.rb
neo4j-core-5.1.0.rc.3 lib/ext/kernel.rb
neo4j-core-5.1.0.rc.2 lib/ext/kernel.rb
neo4j-core-5.1.0.rc.1 lib/ext/kernel.rb
neo4j-core-5.0.10 lib/ext/kernel.rb
neo4j-core-5.0.9 lib/ext/kernel.rb
neo4j-core-5.0.8 lib/ext/kernel.rb
neo4j-core-5.0.7 lib/ext/kernel.rb
neo4j-core-5.0.6 lib/ext/kernel.rb
neo4j-core-5.0.5 lib/ext/kernel.rb
neo4j-core-5.0.4 lib/ext/kernel.rb
neo4j-core-5.0.3 lib/ext/kernel.rb