Module: Nib
- Defined in:
- lib/nib.rb,
lib/nib/version.rb
Defined Under Namespace
Modules: Command, History, Options
Classes: CheckForUpdate, CodeClimate, Console, Debug, Exec, Plugin, Plugins, Run, Setup, Shell, UnrecognizedHelp, Update
Constant Summary
collapse
- GEM_ROOT =
File.expand_path('..', __dir__)
- VERSION =
File.read(File.expand_path('../../VERSION', __dir__)).freeze
Class Method Summary
collapse
Class Method Details
.available_plugins ⇒ Object
.installed_plugins ⇒ Object
.load_default_config(command, file_name) ⇒ Object
42
43
44
|
# File 'lib/nib.rb', line 42
def load_default_config(command, file_name)
File.read("#{GEM_ROOT}/config/commands/#{command}/#{file_name}")
end
|