Classes: Catchall
34 35 36 37 38
# File 'lib/graphiti/filter_operators.rb', line 34 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