Class: Mattock::YARDExtensions::RequiredFieldsHandler

Inherits:
SettingHandler
  • Object
show all
Defined in:
lib/calibrate/yard-extensions.rb

Instance Method Summary collapse

Methods inherited from SettingHandler

#append_name, #extract_name, #mattock_configurable?, #setting_method_name, #synthetic_setting

Instance Method Details

#processObject



181
182
183
184
185
186
187
# File 'lib/calibrate/yard-extensions.rb', line 181

def process
  return unless mattock_configurable?(namespace)
  remapped = statement.parameters(false).map do |name|
    synthetic_setting(extract_name(name))
  end
  parser.process(remapped)
end