Class: YARD::StateMachine::Handlers::StateMachineMacroHandler
- Inherits:
-
Handlers::Ruby::Base
- Object
- Handlers::Ruby::Base
- YARD::StateMachine::Handlers::StateMachineMacroHandler
- Defined in:
- lib/yard-state_machine/yard/state_machine/handlers/state_machine_macro_handler.rb
Overview
Handles and processes the #state_machine macro
Instance Method Summary collapse
Instance Method Details
#process ⇒ Object
13 14 15 16 17 |
# File 'lib/yard-state_machine/yard/state_machine/handlers/state_machine_macro_handler.rb', line 13 def process macro = extract_macro(statement) decorate_macro_with_description macro append_state_machine_to_namespace macro end |