Class: Mattock::YARDExtensions::RuntimeRequiredFieldsHandler

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?, #synthetic_setting

Instance Method Details

#processObject



167
168
169
170
171
172
173
# File 'lib/calibrate/yard-extensions.rb', line 167

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

#setting_method_nameObject



163
164
165
# File 'lib/calibrate/yard-extensions.rb', line 163

def setting_method_name
  "runtime_setting"
end