Module: Bali::Objector
- Defined in:
- lib/bali/objector.rb
Overview
class that will be included in each instantiated target classes as defined in map_rules
Defined Under Namespace
Modules: Statics
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
Instance Method Details
#can?(subtarget, operation) ⇒ Boolean
8 9 10 |
# File 'lib/bali/objector.rb', line 8 def can?(subtarget, operation) self.class.can?(subtarget, operation, self) end |
#cant?(subtarget, operation) ⇒ Boolean
12 13 14 |
# File 'lib/bali/objector.rb', line 12 def cant?(subtarget, operation) self.class.can?(subtarget, operation, self) end |