Class: Swift::Errors
- Inherits:
-
Array
- Object
- Array
- Swift::Errors
- Defined in:
- lib/swift/validations.rb
Instance Attribute Summary collapse
-
#relation ⇒ Object
Returns the value of attribute relation.
Instance Method Summary collapse
-
#initialize(relation) ⇒ Errors
constructor
A new instance of Errors.
Constructor Details
#initialize(relation) ⇒ Errors
Returns a new instance of Errors.
5 6 7 |
# File 'lib/swift/validations.rb', line 5 def initialize relation @relation = relation end |
Instance Attribute Details
#relation ⇒ Object
Returns the value of attribute relation.
3 4 5 |
# File 'lib/swift/validations.rb', line 3 def relation @relation end |