class MotionFlux::Action
Attributes
args[R]
message[R]
Public Class Methods
new(message, *args)
click to toggle source
# File lib/motion_flux/action.rb, line 5 def initialize message, *args @message = message @args = args end
Public Instance Methods
dispatch()
click to toggle source
# File lib/motion_flux/action.rb, line 14 def dispatch Dispatcher.dispatch self end
to_s()
click to toggle source
# File lib/motion_flux/action.rb, line 10 def to_s "#{self.class}:#{message}" end