Module: Sfp::Helper::Constraint
- Defined in:
- lib/nuri/constraint_helper.rb
Class Method Summary collapse
Class Method Details
.and(name) ⇒ Object
6 7 8 |
# File 'lib/nuri/constraint_helper.rb', line 6 def self.and(name) { '_context' => 'constraint', '_type' => 'and', '_self' => name } end |
.equals(value) ⇒ Object
2 3 4 |
# File 'lib/nuri/constraint_helper.rb', line 2 def self.equals(value) { '_context' => 'constraint', '_type' => 'equals', '_value' => value } end |