Class: RSchema::DefaultDSL

Inherits:
Object
  • Object
show all
Includes:
DSL
Defined in:
lib/rschema.rb

Overview

The class of the default DSL object.

By default, this only includes the methods from the DSL mixin.

Your own code and other gems may include modules into this class, in order to add new methods to the default DSL.

Method Summary

Methods included from DSL

#anything, #array, #attributes, #boolean, #convenience, #either, #enum, #fixed_hash, #inconvenience, #maybe, #method_missing, #optional, #pipeline, #predicate, #set, #type, #variable_hash

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class RSchema::DSL