class CloudSesame::Query::Domain::Literal

Attributes

_caller[R]
_name[R]
_options[R]

Public Class Methods

new(_name, _options, _caller) click to toggle source
# File lib/cloud_sesame/query/domain/literal.rb, line 10
def initialize(_name, _options, _caller)
        @_name = _name
        @_options = _options
        self._caller = _caller
end

Public Instance Methods

_eval(&block) click to toggle source
# File lib/cloud_sesame/query/domain/literal.rb, line 16
def _eval(&block)
        if block_given? && (_value = instance_exec(&block))
                AST::Literal.new _name, _value, _options
        end
end