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

#emailObject

Returns the value of attribute email.



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

def email
  @email
end

#faviconObject

Returns the value of attribute favicon.



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

def favicon
  @favicon
end

#found_dateObject

Returns the value of attribute found_date.



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

def found_date
  @found_date
end

#main_imageObject

Returns the value of attribute main_image.



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

def main_image
  @main_image
end

#model_classObject

Returns the value of attribute model_class.



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

def model_class
  @model_class
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#phoneObject

Returns the value of attribute phone.



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

def phone
  @phone
end

#short_descriptionObject

Returns the value of attribute short_description.



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

def short_description
  @short_description
end

#taglineObject

Returns the value of attribute tagline.



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

def tagline
  @tagline
end

#titleObject

Returns the value of attribute title.



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

def title
  @title
end

#urlObject

Returns the value of attribute url.



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

def url
  @url
end

Instance Method Details

#public_nameObject



7
8
9
# File 'lib/tramway/core/application.rb', line 7

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