Module: Nib

Defined in:
lib/nib.rb,
lib/nib/version.rb

Defined Under Namespace

Modules: Command, History, Options Classes: CheckForUpdate, CodeClimate, Console, Debug, Exec, Run, Setup, Shell, UnrecognizedHelp, Update

Constant Summary collapse

GEM_ROOT =
File.expand_path('../..', __FILE__)
VERSION =
File.read(File.expand_path('../../../VERSION', __FILE__)).freeze

Class Method Summary collapse

Class Method Details

.load_default_config(command, file_name) ⇒ Object



29
30
31
# File 'lib/nib.rb', line 29

def load_default_config(command, file_name)
  File.read("#{GEM_ROOT}/config/commands/#{command}/#{file_name}")
end