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-8.1.4 lib/ext/kernel.rb
neo4j-core-8.1.3 lib/ext/kernel.rb
neo4j-core-8.1.2 lib/ext/kernel.rb
neo4j-core-8.1.1 lib/ext/kernel.rb
neo4j-core-8.1.0 lib/ext/kernel.rb
neo4j-core-8.0.4 lib/ext/kernel.rb
neo4j-core-8.0.3 lib/ext/kernel.rb
neo4j-core-8.0.2 lib/ext/kernel.rb
neo4j-core-8.0.1 lib/ext/kernel.rb
neo4j-core-7.2.4 lib/ext/kernel.rb
neo4j-core-8.0.0 lib/ext/kernel.rb
neo4j-core-7.2.3 lib/ext/kernel.rb
neo4j-core-7.2.2 lib/ext/kernel.rb
neo4j-core-7.2.1 lib/ext/kernel.rb
neo4j-core-7.2.0 lib/ext/kernel.rb
neo4j-core-7.1.2 lib/ext/kernel.rb
neo4j-core-7.0.9 lib/ext/kernel.rb
neo4j-core-7.1.1 lib/ext/kernel.rb
neo4j-core-7.1.0 lib/ext/kernel.rb
neo4j-core-7.0.8 lib/ext/kernel.rb