Exception: Iron::Schema::InvalidSchema
- Inherits:
-
StandardError
- Object
- StandardError
- Iron::Schema::InvalidSchema
- Defined in:
- app/models/iron/schema.rb
Instance Attribute Summary collapse
-
#problems ⇒ Object
readonly
Returns the value of attribute problems.
Instance Method Summary collapse
-
#initialize(problems) ⇒ InvalidSchema
constructor
A new instance of InvalidSchema.
Constructor Details
#initialize(problems) ⇒ InvalidSchema
Returns a new instance of InvalidSchema.
12 13 14 15 |
# File 'app/models/iron/schema.rb', line 12 def initialize(problems) @problems = Array(problems) super(@problems.join("\n")) end |
Instance Attribute Details
#problems ⇒ Object (readonly)
Returns the value of attribute problems.
10 11 12 |
# File 'app/models/iron/schema.rb', line 10 def problems @problems end |