class Object

Public Instance Methods

CacheQL(resolver_func) click to toggle source

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

# File lib/cacheql.rb, line 36
def CacheQL(resolver_func)
  CacheQL::ResolveWrapper.new(resolver_func)
end