Class: Schash::Schema::Rule::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/schash/schema/rule/base.rb

Direct Known Subclasses

ArrayOf, Hash, Match, OneOfTypes, Optional, Type

Instance Method Summary collapse

Instance Method Details

#optional?Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/schash/schema/rule/base.rb', line 5

def optional?
  false # default
end