Module: Avalon

Extended by:
Avalon
Included in:
Avalon
Defined in:
lib/avalon.rb,
lib/avalon/version.rb,
lib/avalon/validator.rb

Defined Under Namespace

Classes: ValidationError, Validator

Constant Summary collapse

VERSION =
"0.0.3"

Instance Method Summary collapse

Instance Method Details

#invalid?(*args, &block) ⇒ Boolean

Returns:

  • (Boolean)


15
16
17
# File 'lib/avalon.rb', line 15

def invalid?(*args, &block)
  delegate(:invalid?, *args, &block)
end

#valid?(*args, &block) ⇒ Boolean

Returns:

  • (Boolean)


11
12
13
# File 'lib/avalon.rb', line 11

def valid?(*args, &block)
  delegate(:valid?, *args, &block)
end

#validate(*args, &block) ⇒ Object



7
8
9
# File 'lib/avalon.rb', line 7

def validate(*args, &block)
  delegate(:validate, *args, &block)
end