class Jack::Config::Sort

Public Class Methods

new(options={}) click to toggle source
Calls superclass method
# File lib/jack/config/sort.rb, line 8
def initialize(options={})
  super
  @options = options
end

Public Instance Methods

run() click to toggle source
# File lib/jack/config/sort.rb, line 13
def run
  YamlFormatter.new.process("#{@root}/#{local_config_path}")
  UI.say "Reformatted the local config to a sorted yaml format at #{local_config_path}"
end