Sha256: 622260a53ebd651ede65fbcfb6ef571751b1979f55e84218744d9124f0e5abec

Contents?: true

Size: 231 Bytes

Versions: 5

Compression:

Stored size: 231 Bytes

Contents

module Sfp::Helper::Constraint
	def self.equals(value)
		{ '_context' => 'constraint', '_type' => 'equals', '_value' => value }
	end

	def self.and(name)
		{ '_context' => 'constraint', '_type' => 'and', '_self' => name }
	end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
nuri-0.5.5 lib/nuri/constraint_helper.rb
nuri-0.5.4 lib/nuri/constraint_helper.rb
nuri-0.5.3 lib/nuri/constraint_helper.rb
nuri-0.5.2 lib/nuri/constraint_helper.rb
nuri-0.5.1 lib/nuri/constraint_helper.rb