blob: 546c130d9b5332c920588dfd5d85f0dc1b7a2398 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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
|