Sha256: 44ceecceea8081017a67116f05116d7e8a877abaec594ea1a232479106ac845f

Contents?: true

Size: 285 Bytes

Versions: 11

Compression:

Stored size: 285 Bytes

Contents

module Rasti
  class Form
    module Types
      class UUID
        class << self

          include Formatable

          private

          def format
            /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}+$/
          end

        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
rasti-form-3.0.0 lib/rasti/form/types/uuid.rb
rasti-form-2.2.0 lib/rasti/form/types/uuid.rb
rasti-form-2.1.0 lib/rasti/form/types/uuid.rb
rasti-form-2.0.0 lib/rasti/form/types/uuid.rb
rasti-form-1.1.1 lib/rasti/form/types/uuid.rb
rasti-form-1.1.0 lib/rasti/form/types/uuid.rb
rasti-form-1.0.3 lib/rasti/form/types/uuid.rb
rasti-form-1.0.2 lib/rasti/form/types/uuid.rb
rasti-form-1.0.1 lib/rasti/form/types/uuid.rb
rasti-form-1.0.0 lib/rasti/form/types/uuid.rb
rasti-form-0.1.0 lib/rasti/form/types/uuid.rb