Module: Graphlient::Extensions::Query

Defined in:
lib/graphlient/extensions/query.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method_name, *args, &block) ⇒ Object



4
5
6
7
8
# File 'lib/graphlient/extensions/query.rb', line 4

def method_missing(method_name, *args, &block)
  Graphlient::Query.new do
    send(method_name, *args, &block)
  end
end

Instance Method Details

#respond_to_missing?(method_name, include_private = false) ⇒ Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/graphlient/extensions/query.rb', line 10

def respond_to_missing?(method_name, include_private = false)
  super
end