Class: Mattock::YARDExtensions::RequiredFieldsHandler

Inherits:
SettingHandler
  • Object
show all
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



151
152
153
154
155
156
157
# File 'lib/mattock/yard_extensions.rb', line 151

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