Class: Sandals::Error
- Inherits:
-
Object
- Object
- Sandals::Error
- Defined in:
- lib/sandals/view.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
readonly
Returns the value of attribute content.
Instance Method Summary collapse
-
#initialize(content) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(content) ⇒ Error
Returns a new instance of Error.
265 266 267 |
# File 'lib/sandals/view.rb', line 265 def initialize(content) @content = content.to_s end |
Instance Attribute Details
#content ⇒ Object (readonly)
Returns the value of attribute content.
263 264 265 |
# File 'lib/sandals/view.rb', line 263 def content @content end |