Sha256: da3899164cfd8e32ed73d30efbdedc4b1394dd0cacccb2b74d757ae307119adc

Contents?: true

Size: 258 Bytes

Versions: 28

Compression:

Stored size: 258 Bytes

Contents

module Groonga
  class EvalContext
    def method_missing(id, *args, &block)
      return super unless args.empty?
      return super if block_given?

      object = Context.instance[id.to_s]
      return super if object.nil?

      object
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
rroonga-6.0.0-x64-mingw32 vendor/local/lib/groonga/scripts/ruby/eval_context.rb
rroonga-6.0.0-x86-mingw32 vendor/local/lib/groonga/scripts/ruby/eval_context.rb
rroonga-5.1.1-x86-mingw32 vendor/local/lib/groonga/scripts/ruby/eval_context.rb
rroonga-5.1.1-x64-mingw32 vendor/local/lib/groonga/scripts/ruby/eval_context.rb
rroonga-5.0.9-x86-mingw32 vendor/local/lib/groonga/scripts/ruby/eval_context.rb
rroonga-5.0.9-x64-mingw32 vendor/local/lib/groonga/scripts/ruby/eval_context.rb
rroonga-5.0.8-x86-mingw32 vendor/local/lib/groonga/scripts/ruby/eval_context.rb
rroonga-5.0.8-x64-mingw32 vendor/local/lib/groonga/scripts/ruby/eval_context.rb
rroonga-5.0.5-x86-mingw32 vendor/local/lib/groonga/scripts/ruby/eval_context.rb
rroonga-5.0.5-x64-mingw32 vendor/local/lib/groonga/scripts/ruby/eval_context.rb
rroonga-5.0.4-x86-mingw32 vendor/local/lib/groonga/scripts/ruby/eval_context.rb
rroonga-5.0.4-x64-mingw32 vendor/local/lib/groonga/scripts/ruby/eval_context.rb
rroonga-5.0.3-x86-mingw32 vendor/local/lib/groonga/scripts/ruby/eval_context.rb
rroonga-5.0.3-x64-mingw32 vendor/local/lib/groonga/scripts/ruby/eval_context.rb
rroonga-5.0.2-x64-mingw32 vendor/local/lib/groonga/scripts/ruby/eval_context.rb
rroonga-5.0.2-x86-mingw32 vendor/local/lib/groonga/scripts/ruby/eval_context.rb
rroonga-5.0.1-x86-mingw32 vendor/local/lib/groonga/scripts/ruby/eval_context.rb
rroonga-5.0.1-x64-mingw32 vendor/local/lib/groonga/scripts/ruby/eval_context.rb
rroonga-5.0.0-x64-mingw32 vendor/local/lib/groonga/scripts/ruby/eval_context.rb
rroonga-5.0.0-x86-mingw32 vendor/local/lib/groonga/scripts/ruby/eval_context.rb