Class: Metazilla::Configuration
- Inherits:
-
Object
- Object
- Metazilla::Configuration
- Defined in:
- lib/metazilla.rb
Instance Attribute Summary collapse
-
#mapping ⇒ Object
Returns the value of attribute mapping.
-
#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.
21 22 23 24 |
# File 'lib/metazilla.rb', line 21 def initialize @separator = ' | ' @mapping = { create: :new, update: :edit } end |
Instance Attribute Details
#mapping ⇒ Object
Returns the value of attribute mapping.
19 20 21 |
# File 'lib/metazilla.rb', line 19 def mapping @mapping end |
#separator ⇒ Object
Returns the value of attribute separator.
19 20 21 |
# File 'lib/metazilla.rb', line 19 def separator @separator end |