class Dhall::Util::AllOf
Public Class Methods
new(*validators)
click to toggle source
# File lib/dhall/util.rb, line 26 def initialize(*validators) @validators = validators end
Public Instance Methods
===(other)
click to toggle source
# File lib/dhall/util.rb, line 30 def ===(other) @validators.all? { |v| v === other } end