Class: Mattock::YARDExtensions::SettingsHandler
- Inherits:
-
SettingHandler
- Object
- YARD::Handlers::Ruby::Base
- SettingHandler
- Mattock::YARDExtensions::SettingsHandler
- Defined in:
- lib/mattock/yard_extensions.rb
Instance Method Summary (collapse)
Methods inherited from SettingHandler
#append_name, #extract_name, #mattock_configurable?, #synthetic_setting
Instance Method Details
- (Object) process
116 117 118 119 120 121 122 123 |
# File 'lib/mattock/yard_extensions.rb', line 116 def process return unless mattock_configurable?(namespace) remapped = statement.parameters(false).first.map do |assoc| synthetic_setting(extract_name(assoc[0]), assoc[1]) end parser.process(remapped) end |