Class: Avm::Data::Performer
- Inherits:
-
Object
- Object
- Avm::Data::Performer
- Defined in:
- lib/avm/data/performer.rb
Instance Method Summary collapse
Instance Method Details
#immutable_constructor_args ⇒ Enumerable
14 15 16 |
# File 'lib/avm/data/performer.rb', line 14 def immutable_constructor_args [data_owner] end |
#perform ⇒ self
19 20 21 22 23 24 25 |
# File 'lib/avm/data/performer.rb', line 19 def perform raise "Cannot run: #{cannot_perform_reason}" unless performable? internal_perform self end |
#performable? ⇒ Boolean
28 29 30 |
# File 'lib/avm/data/performer.rb', line 28 def performable? cannot_perform_reason.blank? end |