Sha256: 75ba794ace4a486094ee600c34c9e8649d8cdf34f8fe82b6fdf6748749d7f964

Contents?: true

Size: 430 Bytes

Versions: 20

Compression:

Stored size: 430 Bytes

Contents

# frozen_string_literal: true

module Katalyst
  module Tables
    module Collection
      module Type
        class Float < Value
          include Helpers::Delegate
          include Helpers::Multiple
          include Helpers::Range

          define_range_patterns(/-?\d+(?:\.\d+)?/)

          def initialize(**)
            super(**, delegate: ActiveModel::Type::Float)
          end
        end
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
katalyst-tables-3.7.0 lib/katalyst/tables/collection/type/float.rb
katalyst-tables-3.6.2 lib/katalyst/tables/collection/type/float.rb
katalyst-tables-3.6.1 lib/katalyst/tables/collection/type/float.rb
katalyst-tables-3.6.0 lib/katalyst/tables/collection/type/float.rb
katalyst-tables-3.5.5 lib/katalyst/tables/collection/type/float.rb
katalyst-tables-3.5.4 lib/katalyst/tables/collection/type/float.rb
katalyst-tables-3.5.3 lib/katalyst/tables/collection/type/float.rb
katalyst-tables-3.5.2 lib/katalyst/tables/collection/type/float.rb
katalyst-tables-3.5.1 lib/katalyst/tables/collection/type/float.rb
katalyst-tables-3.5.0 lib/katalyst/tables/collection/type/float.rb
katalyst-tables-3.4.6 lib/katalyst/tables/collection/type/float.rb
katalyst-tables-3.4.5 lib/katalyst/tables/collection/type/float.rb
katalyst-tables-3.4.4 lib/katalyst/tables/collection/type/float.rb
katalyst-tables-3.4.3 lib/katalyst/tables/collection/type/float.rb
katalyst-tables-3.4.2 lib/katalyst/tables/collection/type/float.rb
katalyst-tables-3.4.1 lib/katalyst/tables/collection/type/float.rb
katalyst-tables-3.4.0 lib/katalyst/tables/collection/type/float.rb
katalyst-tables-3.3.4 lib/katalyst/tables/collection/type/float.rb
katalyst-tables-3.3.3 lib/katalyst/tables/collection/type/float.rb
katalyst-tables-3.3.2 app/models/katalyst/tables/collection/type/float.rb