module ActiveCrew::Commandable
Public Instance Methods
backend()
click to toggle source
# File lib/active_crew/concerns/commandable.rb, line 7 def backend Backends.default end
command(name, options = {}, context = {})
click to toggle source
# File lib/active_crew/concerns/commandable.rb, line 3 def command(name, options = {}, context = {}) Backends.enqueue name, invoker, @context.merge(options: options).merge(context) end