Module: Schema::Controls::Schema::Validation
- Defined in:
- lib/schema/controls/schema.rb
Defined Under Namespace
Classes: Example
Class Method Summary collapse
Class Method Details
.errors ⇒ Object
193 194 195 196 197 198 |
# File 'lib/schema/controls/schema.rb', line 193 def self.errors [ "some_attribute can't be nil", "some_other_attribute can't be nil" ] end |
.example ⇒ Object
189 190 191 |
# File 'lib/schema/controls/schema.rb', line 189 def self.example Example.new end |