Class: Stringex::Configuration::StringExtensions
- Defined in:
- lib/stringex/configuration/string_extensions.rb
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Base
#adapter, configure, #initialize, system_wide_customizations, unconfigure!
Constructor Details
This class inherits a constructor from Stringex::Configuration::Base
Class Method Details
.default_settings ⇒ Object
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/stringex/configuration/string_extensions.rb', line 8 def self.default_settings @default_settings ||= { allow_slash: false, exclude: [], force_downcase: true, limit: nil, replace_whitespace_with: "-", truncate_words: true } end |
Instance Method Details
#default_settings ⇒ Object
4 5 6 |
# File 'lib/stringex/configuration/string_extensions.rb', line 4 def default_settings self.class.default_settings end |