Class: Dry::Validation::Schema::Attr
- Defined in:
- lib/dry/validation/schema/attr.rb
Instance Attribute Summary
Attributes inherited from Key
Attributes inherited from DSL
#checks, #name, #options, #parent, #rules
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Key
Methods inherited from DSL
[], #add_check, #add_rule, #attr, #initialize, #key, #not, #optional, #path, #rule_ast, #to_ast, #to_rule, #with
Constructor Details
This class inherits a constructor from Dry::Validation::Schema::DSL
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Dry::Validation::Schema::Key
Class Method Details
.type ⇒ Object
5 6 7 |
# File 'lib/dry/validation/schema/attr.rb', line 5 def self.type :attr end |
Instance Method Details
#class ⇒ Object
9 10 11 |
# File 'lib/dry/validation/schema/attr.rb', line 9 def class Attr end |