Sha256: 8e28b6e10ca6d7492eeb1d9b159219c3182a4063db02024891874092974c6626

Contents?: true

Size: 431 Bytes

Versions: 16

Compression:

Stored size: 431 Bytes

Contents

module Lono::New::Helper
  private
  def project_class_name
    project_name.underscore.camelize
  end

  # 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.
  def underscored_name
    project_name.underscore
  end

  # project_name is also available from new.rb:
  #   argument :project_name
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
lono-4.2.7 lib/lono/new/helper.rb
lono-4.2.6 lib/lono/new/helper.rb
lono-4.2.5 lib/lono/new/helper.rb
lono-4.2.4 lib/lono/new/helper.rb
lono-4.2.3 lib/lono/new/helper.rb
lono-4.2.2 lib/lono/new/helper.rb
lono-4.2.1 lib/lono/new/helper.rb
lono-4.2.0 lib/lono/new/helper.rb
lono-4.1.0 lib/lono/new/helper.rb
lono-4.0.6 lib/lono/new/helper.rb
lono-4.0.5 lib/lono/new/helper.rb
lono-4.0.4 lib/lono/new/helper.rb
lono-4.0.3 lib/lono/new/helper.rb
lono-4.0.2 lib/lono/new/helper.rb
lono-4.0.1 lib/lono/new/helper.rb
lono-4.0.0 lib/lono/new/helper.rb