Sha256: 66df7ccf50dcb29625551588fa41fe0aa28723bf6346ec686136ec9c75072e80

Contents?: true

Size: 261 Bytes

Versions: 3

Compression:

Stored size: 261 Bytes

Contents

# frozen_string_literal: true

class Tramway::Application
  attr_accessor :name, :url, :model_class, :title, :tagline, :found_date, :phone, :email, :main_image, :favicon,
    :short_description

  def public_name
    name.to_s.gsub('_', ' ').camelize
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tramway-0.1.2 lib/tramway/application.rb
tramway-0.1.1.1 lib/tramway/application.rb
tramway-0.1.1 lib/tramway/application.rb