Module: Lab42::Behavior::Negation
- Included in:
- Lab42::Behavior
- Defined in:
- lib/lab42/core/behavior/negation.rb
Instance Method Summary collapse
Instance Method Details
#negated ⇒ Object
5 6 7 8 9 |
# File 'lib/lab42/core/behavior/negation.rb', line 5 def negated ProcBehavior.new do |*args, &blk| !self.(*args, &blk) end end |