Module: JFlow::Activity::Mixin::ClassMethods
- Defined in:
- lib/jflow/activity/mixin.rb
Instance Method Summary collapse
Instance Method Details
#activity(name = nil) ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/jflow/activity/mixin.rb', line 10 def activity(name = nil) = {} = yield if block_given? [:name] = name JFlow.configuration.logger.debug "loading #{name}" JFlow::Activity::Definition.new(self, ) end |