Sha256: 974b4a9158fc0d5ec7f4a58b531b27a5dfc1ef32f7a500c6b27f885b3e866f2d

Contents?: true

Size: 303 Bytes

Versions: 7

Compression:

Stored size: 303 Bytes

Contents

module CloudSesame
	module Query
		module DSL
			module Base

				private

				def dsl_scope
					self
				end

				def dsl_context
					dsl_scope.context
				end

				def dsl_caller
					dsl_context[:caller]
				end

				def dsl_return(node = nil)
					node || dsl_scope
				end

			end
		end
	end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
CloudSesame-0.4.6 lib/cloud_sesame/query/dsl/base.rb
CloudSesame-0.4.5 lib/cloud_sesame/query/dsl/base.rb
CloudSesame-0.4.4 lib/cloud_sesame/query/dsl/base.rb
CloudSesame-0.4.3 lib/cloud_sesame/query/dsl/base.rb
CloudSesame-0.4.2 lib/cloud_sesame/query/dsl/base.rb
CloudSesame-0.4.1 lib/cloud_sesame/query/dsl/base.rb
CloudSesame-0.4.0 lib/cloud_sesame/query/dsl/base.rb