Module: FriendlyId::Reserved::Configuration
- Defined in:
- lib/friendly_id/reserved.rb
Overview
This module adds the :reserved_words
configuration option to
FriendlyId::Configuration.
Instance Attribute Summary collapse
-
#reserved_words ⇒ Object
Returns the value of attribute reserved_words.
-
#treat_reserved_as_conflict ⇒ Object
Returns the value of attribute treat_reserved_as_conflict.
Instance Attribute Details
#reserved_words ⇒ Object
Returns the value of attribute reserved_words.
46 47 48 |
# File 'lib/friendly_id/reserved.rb', line 46 def reserved_words @reserved_words end |
#treat_reserved_as_conflict ⇒ Object
Returns the value of attribute treat_reserved_as_conflict.
47 48 49 |
# File 'lib/friendly_id/reserved.rb', line 47 def treat_reserved_as_conflict @treat_reserved_as_conflict end |