Module: Ecic::Help

Defined in:
lib/ecic/help.rb

Class Method Summary collapse

Class Method Details

.long(namespaced_command) ⇒ Object

hlp



8
9
10
11
12
# File 'lib/ecic/help.rb', line 8

def long(namespaced_command)
  p namespaced_command
  hlp = YAML.load(File.read(File.expand_path("../../../config/locales/help.en.yaml", __FILE__)))['help'][namespaced_command]
#      hlp['long']
end

.text(namespaced_command) ⇒ Object



4
5
6
7
# File 'lib/ecic/help.rb', line 4

def text(namespaced_command)
  hlp = YAML.load(File.read(File.expand_path("../../../config/locales/help.en.yaml", __FILE__)))['help'][namespaced_command]
#      hlp['short']
end