module CloudSesame::Query::DSL::BlockStyledOperators
Public Instance Methods
and(options = {}, &block)
click to toggle source
Private Instance Methods
_block_style_clause(klass, options, &block)
click to toggle source
# File lib/cloud_sesame/query/dsl/block_styled_operators.rb, line 26 def _block_style_clause(klass, options, &block) node = klass.new _context, options if block_given? _block_domain(block)._eval node, _scope, _return, &block else Domain::ChainingBlock.new node, _scope, (_return if _scope.is_a?(AST::Root)), _block_domain(nil) end end