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
16 17 18 |
# File 'lib/avm/data/performer.rb', line 16 def immutable_constructor_args [data_owner] end |
#perform ⇒ self
21 22 23 24 25 26 27 |
# File 'lib/avm/data/performer.rb', line 21 def perform raise "Cannot run: #{cannot_run_reason}" unless performable? internal_perform self end |
#performable? ⇒ Boolean
30 31 32 |
# File 'lib/avm/data/performer.rb', line 30 def performable? cannot_perform_reason.blank? end |