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

#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

#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

#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



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

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