Sha256: c1c8e5a415a74d374e2f81008ef61cb4f919add9240ca43bcf2c8993df05f24a

Contents?: true

Size: 249 Bytes

Versions: 13

Compression:

Stored size: 249 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_return(node = nil)
					node || dsl_scope
				end

			end
		end
	end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
CloudSesame-0.3.6 lib/cloud_sesame/query/dsl/base.rb
CloudSesame-0.3.5 lib/cloud_sesame/query/dsl/base.rb
CloudSesame-0.3.4 lib/cloud_sesame/query/dsl/base.rb
CloudSesame-0.3.3 lib/cloud_sesame/query/dsl/base.rb
CloudSesame-0.3.2 lib/cloud_sesame/query/dsl/base.rb
CloudSesame-0.3.1 lib/cloud_sesame/query/dsl/base.rb
CloudSesame-0.3.0 lib/cloud_sesame/query/dsl/base.rb
CloudSesame-0.2.5 lib/cloud_sesame/query/dsl/base.rb
CloudSesame-0.2.4 lib/cloud_sesame/query/dsl/base.rb
CloudSesame-0.2.3 lib/cloud_sesame/query/dsl/base.rb
CloudSesame-0.2.2 lib/cloud_sesame/query/dsl/base.rb
CloudSesame-0.2.1 lib/cloud_sesame/query/dsl/base.rb
CloudSesame-0.2.0 lib/cloud_sesame/query/dsl/base.rb