Sha256: 1c3a37b757b8215f335d7929d02d3f7e3ee6a7f380005e82a2c73e277dbe37a1

Contents?: true

Size: 427 Bytes

Versions: 60

Compression:

Stored size: 427 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 with 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

60 entries across 60 versions & 1 rubygems

Version Path
lono-7.5.2 lib/lono/new/helper.rb
lono-7.5.1 lib/lono/new/helper.rb
lono-7.5.0 lib/lono/new/helper.rb
lono-7.4.11 lib/lono/new/helper.rb
lono-7.4.10 lib/lono/new/helper.rb
lono-7.4.9 lib/lono/new/helper.rb
lono-7.4.8 lib/lono/new/helper.rb
lono-7.4.7 lib/lono/new/helper.rb
lono-7.4.6 lib/lono/new/helper.rb
lono-7.4.5 lib/lono/new/helper.rb
lono-7.4.4 lib/lono/new/helper.rb
lono-7.4.3 lib/lono/new/helper.rb
lono-7.4.2 lib/lono/new/helper.rb
lono-7.4.1 lib/lono/new/helper.rb
lono-7.4.0 lib/lono/new/helper.rb
lono-7.3.2 lib/lono/new/helper.rb
lono-7.3.1 lib/lono/new/helper.rb
lono-7.3.0 lib/lono/new/helper.rb
lono-7.2.3 lib/lono/new/helper.rb
lono-7.2.2 lib/lono/new/helper.rb