Sha256: 86e5de22df16d64579e962b6e6970d17a201e9b5218a8ab1a929a24fed25571e

Contents?: true

Size: 467 Bytes

Versions: 7

Compression:

Stored size: 467 Bytes

Contents

module Ecic::Help
  require 'yaml'
  class << self
    def text(namespaced_command)
      hlp = YAML.load(File.read(File.expand_path("../../../config/locales/help.en.yaml", __FILE__)))['help'][namespaced_command]
#      hlp['short']
    end
    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
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ecic-0.6.2 lib/ecic/help.rb
ecic-0.6.1 lib/ecic/help.rb
ecic-0.6.0 lib/ecic/help.rb
ecic-0.5.0 lib/ecic/help.rb
ecic-0.4.0 lib/ecic/help.rb
ecic-0.3.0 lib/ecic/help.rb
ecic-0.2.2 lib/ecic/help.rb