Class: Jack::Config::Sort
- Includes:
- Util
- Defined in:
- lib/jack/config/sort.rb
Overview
for the local_config_path method
Instance Attribute Summary
Attributes inherited from Transmit
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Sort
constructor
A new instance of Sort.
- #run ⇒ Object
Methods included from Util
#app_name_convention, #aws_bin, #check_aws_setup, #confirm, #eb, #eb_base_flags, #eb_bin, #ensure_folder_exist, #get_answer, #get_region, #prerequisites, #settings, #sh
Methods inherited from Transmit
Constructor Details
#initialize(options = {}) ⇒ Sort
Returns a new instance of Sort.
8 9 10 11 |
# File 'lib/jack/config/sort.rb', line 8 def initialize(={}) super @options = end |
Instance Method Details
#run ⇒ Object
13 14 15 16 |
# 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 |