Method: RuboCop::Capybara::ConfigFormatter#dump
- Defined in:
- lib/rubocop/capybara/config_formatter.rb
#dump ⇒ Object
19 20 21 22 23 24 25 |
# File 'lib/rubocop/capybara/config_formatter.rb', line 19 def dump YAML.dump(unified_config) .gsub(EXTENSION_ROOT_DEPARTMENT, "\n\\1") .gsub(/^(\s+)- /, '\1 - ') .gsub('"~"', '~') # .gsub(*AMENDMENTS, "\n\\0") end |