Class: Tramway::Core::Application

Inherits:
Object
  • Object
show all
Defined in:
lib/tramway/core/application.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#model_classObject

Returns the value of attribute model_class.



2
3
4
# File 'lib/tramway/core/application.rb', line 2

def model_class
  @model_class
end

#nameObject

Returns the value of attribute name.



2
3
4
# File 'lib/tramway/core/application.rb', line 2

def name
  @name
end

#urlObject

Returns the value of attribute url.



2
3
4
# File 'lib/tramway/core/application.rb', line 2

def url
  @url
end

Instance Method Details

#public_nameObject



4
5
6
# File 'lib/tramway/core/application.rb', line 4

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