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
12 13 14 |
# File 'lib/avm/data/performer.rb', line 12 def immutable_constructor_args [data_owner] end |
#perform ⇒ self
17 18 19 20 21 22 23 |
# File 'lib/avm/data/performer.rb', line 17 def perform raise "Cannot run: #{cannot_perform_reason}" unless performable? internal_perform self end |
#performable? ⇒ Boolean
26 27 28 |
# File 'lib/avm/data/performer.rb', line 26 def performable? cannot_perform_reason.blank? end |