Flowdock
method

validate

Importance_0
v1_8_6_287 - Show latest stable - 0 notes - Class: XSD::XSDInteger
validate(v) private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/xsd/datatypes.rb, line 1032
  def validate(v)
    max = maxinclusive
    min = mininclusive
    (max.nil? or v <= max) and (min.nil? or v >= min)
  end
Register or log in to add new notes.