Sha256: 69c2b6bda57b7e5defa3c819be4e413853c3b4097bbf521115313c051b659448

Contents?: true

Size: 502 Bytes

Versions: 15

Compression:

Stored size: 502 Bytes

Contents

module ThecoreSettings
  def self.kinds
    [
      'string',
      'text',
      'integer',
      'float',
      'boolean',
      'html',
      'code',
      'sanitized',
      'yaml',
      'phone',
      'phones',
      'email',
      'address',
      'file',
      'image',
      'url',
      'domain',
      'color',
      'strip_tags',
      'sanitize',
      'sanitize_code',
      'simple_format',
      'simple_format_raw',
      'json',
    ]
  end

  def self.types
    self.kinds
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
thecore_settings-3.0.8 lib/thecore_settings/kinds.rb
thecore_settings-3.0.7 lib/thecore_settings/kinds.rb
thecore_settings-2.0.9 lib/thecore_settings/kinds.rb
thecore_settings-3.0.6 lib/thecore_settings/kinds.rb
thecore_settings-3.0.5 lib/thecore_settings/kinds.rb
thecore_settings-3.0.4 lib/thecore_settings/kinds.rb
thecore_settings-3.0.3 lib/thecore_settings/kinds.rb
thecore_settings-3.0.0 lib/thecore_settings/kinds.rb
thecore_settings-2.0.8 lib/thecore_settings/kinds.rb
thecore_settings-2.0.7 lib/thecore_settings/kinds.rb
thecore_settings-2.0.6 lib/thecore_settings/kinds.rb
thecore_settings-2.0.5 lib/thecore_settings/kinds.rb
thecore_settings-2.0.4 lib/thecore_settings/kinds.rb
thecore_settings-2.0.3 lib/thecore_settings/kinds.rb
thecore_settings-2.0.2 lib/thecore_settings/kinds.rb