Classes: Catchall
35 36 37 38 39
# File 'lib/graphiti/filter_operators.rb', line 35 def self.build(resource, type_name, opts = {}, &blk) c = Catchall.new(resource, type_name, opts) c.instance_eval(&blk) if blk c.to_hash end