Class: WebFlow::SystemEvent
Overview
The SystemEvent class is a subclass of WebFlow::Event and is used internally to trigger plugins execution. Since the plugins are not activated yet, SystemEvents are not used.
Instance Attribute Summary collapse
-
#controller ⇒ Object
Returns the value of attribute controller.
-
#flow_data ⇒ Object
Returns the value of attribute flow_data.
Attributes inherited from Event
Instance Method Summary collapse
-
#initialize(m_event_name, m_controller, m_flow_data) ⇒ SystemEvent
constructor
Initializes the class instance.
Constructor Details
#initialize(m_event_name, m_controller, m_flow_data) ⇒ SystemEvent
Initializes the class instance
69 70 71 72 73 74 75 76 77 |
# File 'lib/webflow/event.rb', line 69 def initialize(m_event_name, m_controller, m_flow_data) # Super controller super m_event_name # Set values @controller, @flow_data = m_controller, m_flow_data end |
Instance Attribute Details
#controller ⇒ Object
Returns the value of attribute controller.
66 67 68 |
# File 'lib/webflow/event.rb', line 66 def controller @controller end |
#flow_data ⇒ Object
Returns the value of attribute flow_data.
66 67 68 |
# File 'lib/webflow/event.rb', line 66 def flow_data @flow_data end |