Class: Neuron::Application::Base
- Inherits:
-
Object
- Object
- Neuron::Application::Base
- Includes:
- Singleton
- Defined in:
- lib/neuron/application.rb
Instance Method Summary collapse
- #description ⇒ Object
-
#initialize ⇒ Base
constructor
A new instance of Base.
- #keywords ⇒ Object
- #meta ⇒ Object
- #title ⇒ Object
Constructor Details
#initialize ⇒ Base
Returns a new instance of Base.
9 10 11 |
# File 'lib/neuron/application.rb', line 9 def initialize @meta = {} end |
Instance Method Details
#description ⇒ Object
25 26 27 |
# File 'lib/neuron/application.rb', line 25 def description [:description] end |
#keywords ⇒ Object
21 22 23 |
# File 'lib/neuron/application.rb', line 21 def keywords [:keywords] end |
#meta ⇒ Object
13 14 15 |
# File 'lib/neuron/application.rb', line 13 def @meta[I18n.locale] ||= I18n.t('application.meta').with_indifferent_access end |
#title ⇒ Object
17 18 19 |
# File 'lib/neuron/application.rb', line 17 def title [:title] end |