module CliTemplate::Helper

Public Instance Methods

project_class_name() click to toggle source
# File lib/cli_template/helper.rb, line 2
def project_class_name
  project_name.underscore.camelize
end
underscored_name() click to toggle source

Files should be named with underscores instead of dashes even though project name can contain a dash. This is because autoloading works will underscores in the filenames only.

# File lib/cli_template/helper.rb, line 9
def underscored_name
  project_name.underscore
end