Sha256: 41c1a13e062984fea1101ea695262b3c22e149bcdc54b1b02dcbf33fe61c01c7

Contents?: true

Size: 377 Bytes

Versions: 2

Compression:

Stored size: 377 Bytes

Contents

module Compel
  module Builder

    module CommonValue

      def in(value)
        options[:in] = value
        self
      end

      def range(value)
        options[:range] = value
        self
      end

      def min(value)
        options[:min] = value
        self
      end

      def max(value)
        options[:max] = value
        self
      end

    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
compel-0.3.6 lib/compel/builder/common_value.rb
compel-0.3.4 lib/compel/builder/common_value.rb