Top Level Namespace

Defined Under Namespace

Modules: CacheQL

Instance Method Summary collapse

Instance Method Details

#CacheQL(resolver_func) ⇒ Object

Always a hack, but looks nice Wrap a resolve func with: resolve CacheQL -> { |obj, args, ctx| obj.do_stuff }



36
37
38
# File 'lib/cacheql.rb', line 36

def CacheQL(resolver_func)
  CacheQL::ResolveWrapper.new(resolver_func)
end