Sha256: fa3e24fadd6258bf346963fdbade5c5dd0559b92713627f53f17327f40363004

Contents?: true

Size: 427 Bytes

Versions: 8

Compression:

Stored size: 427 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

8 entries across 8 versions & 1 rubygems

Version Path
stringex-2.8.6 lib/stringex/configuration/string_extensions.rb
stringex-2.8.5 lib/stringex/configuration/string_extensions.rb
stringex-2.8.4 lib/stringex/configuration/string_extensions.rb
stringex-2.8.3 lib/stringex/configuration/string_extensions.rb
stringex-2.8.2 lib/stringex/configuration/string_extensions.rb
stringex-2.8.1 lib/stringex/configuration/string_extensions.rb
stringex-2.7.1 lib/stringex/configuration/string_extensions.rb
stringex-2.7.0 lib/stringex/configuration/string_extensions.rb