Sha256: 4a2658c2919a0c085e54426ca6f1fd7cbf3800c7e9e9c8ef6a86984f42ca5a98

Contents?: true

Size: 298 Bytes

Versions: 1

Compression:

Stored size: 298 Bytes

Contents

module Inspector
  module Constraint
    autoload :Violation,  'inspector/constraint/violation'
    autoload :Validators, 'inspector/constraint/validators'

    def negate!
      @negative = true
    end

    def positive?
      !@negative
    end

    def validator
      :simple
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
object-inspector-0.1.0 lib/inspector/constraint.rb