Class: Titlezilla::Configuration
- Inherits:
-
Object
- Object
- Titlezilla::Configuration
- Defined in:
- lib/titlezilla.rb
Instance Attribute Summary collapse
-
#action_map ⇒ Object
Returns the value of attribute action_map.
-
#separator ⇒ Object
Returns the value of attribute separator.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
20 21 22 23 |
# File 'lib/titlezilla.rb', line 20 def initialize @action_map = { create: :new, update: :edit } @separator = ' | ' end |
Instance Attribute Details
#action_map ⇒ Object
Returns the value of attribute action_map.
18 19 20 |
# File 'lib/titlezilla.rb', line 18 def action_map @action_map end |
#separator ⇒ Object
Returns the value of attribute separator.
18 19 20 |
# File 'lib/titlezilla.rb', line 18 def separator @separator end |