Sha256: 2f892aa011f74c623afddc17076e9c17c6450d7af223ca98a74ec8b93e6e81d5

Contents?: true

Size: 444 Bytes

Versions: 11

Compression:

Stored size: 444 Bytes

Contents

module Stringex
  module Configuration
    class StringExtensions < Base
      def default_settings
        self.class.default_settings
      end

      def self.default_settings
        @default_settings ||= {
          :allow_slash => false,
          :exclude => [],
          :force_downcase => true,
          :limit => nil,
          :replace_whitespace_with => "-",
          :truncate_words => true
        }
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
stringex-2.6.1 lib/stringex/configuration/string_extensions.rb
stringex-2.6.0 lib/stringex/configuration/string_extensions.rb
stringex-2.5.2 lib/stringex/configuration/string_extensions.rb
stringex-2.5.1 lib/stringex/configuration/string_extensions.rb
stringex-2.5.0 lib/stringex/configuration/string_extensions.rb
stringex-2.4.2 lib/stringex/configuration/string_extensions.rb
stringex-2.4.1 lib/stringex/configuration/string_extensions.rb
stringex-2.3.0 lib/stringex/configuration/string_extensions.rb
stringex-2.2.2 lib/stringex/configuration/string_extensions.rb
stringex-2.2.1 lib/stringex/configuration/string_extensions.rb
stringex-2.2.0 lib/stringex/configuration/string_extensions.rb