lib/loaf/configuration.rb in loaf-0.6.1 vs lib/loaf/configuration.rb in loaf-0.6.2
- old
+ new
@@ -3,11 +3,12 @@
module Loaf
class Configuration
VALID_ATTRIBUTES = [
:locales_path,
:crumb_length,
- :capitalize
+ :capitalize,
+ :match
].freeze
attr_accessor(*VALID_ATTRIBUTES)
DEFAULT_LOCALES_PATH = '/'
@@ -17,9 +18,11 @@
DEFAULT_CRUMB_LENGTH = 30
DEFAULT_LAST_CRUMB_LINKED = false
DEFAULT_CAPITALIZE = false
+
+ DEFAULT_MATCH = :inclusive
DEFAULT_ROOT = true
# Setup this configuration
#