Sha256: 00fa567b5844eac87923225985f6a59440ed94117c368ddbc148ba2186a2d85f

Contents?: true

Size: 190 Bytes

Versions: 7

Compression:

Stored size: 190 Bytes

Contents

require_relative "base"

module RailsSettingsUi
  module ValueTypes
    class Boolean < RailsSettingsUi::ValueTypes::Base
      def cast
        self.value = true
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rails-settings-ui-0.3.2 lib/rails-settings-ui/value_types/boolean.rb
rails-settings-ui-0.3.1 lib/rails-settings-ui/value_types/boolean.rb
rails-settings-ui-0.2.1 lib/rails-settings-ui/value_types/boolean.rb
rails-settings-ui-0.3.0 lib/rails-settings-ui/value_types/boolean.rb
rails-settings-ui-0.2.0 lib/rails-settings-ui/value_types/boolean.rb
rails-settings-ui-0.1.1 lib/rails-settings-ui/value_types/boolean.rb
rails-settings-ui-0.1.0 lib/rails-settings-ui/value_types/boolean.rb