lib/nib.rb in nib-1.4.2 vs lib/nib.rb in nib-1.5.0

- old
+ new

@@ -6,10 +6,12 @@ require 'nib/options/augmenter' require 'nib/options/parser' require 'nib/command' require 'nib/history' +require 'nib/history/compose' +require 'nib/history/config' require 'nib/check_for_update' require 'nib/unrecognized_help' require 'nib/code_climate' require 'nib/console' require 'nib/debug' @@ -22,13 +24,9 @@ module Nib GEM_ROOT = File.expand_path('../..', __FILE__) module_function - def load_config(command, file_name) - File.read("#{GEM_ROOT}/config/commands/#{command}/#{file_name}") - end - def load_default_config(command, file_name) - load_config(command, file_name) + File.read("#{GEM_ROOT}/config/commands/#{command}/#{file_name}") end end