Class: Tramway::Core::Application
- Inherits:
-
Object
- Object
- Tramway::Core::Application
- Defined in:
- lib/tramway/core/application.rb
Instance Attribute Summary collapse
-
#model_class ⇒ Object
Returns the value of attribute model_class.
-
#name ⇒ Object
Returns the value of attribute name.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
Instance Attribute Details
#model_class ⇒ Object
Returns the value of attribute model_class.
2 3 4 |
# File 'lib/tramway/core/application.rb', line 2 def model_class @model_class end |
#name ⇒ Object
Returns the value of attribute name.
2 3 4 |
# File 'lib/tramway/core/application.rb', line 2 def name @name end |
#url ⇒ Object
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_name ⇒ Object
4 5 6 |
# File 'lib/tramway/core/application.rb', line 4 def public_name name.to_s.gsub('_', ' ').camelize end |