Class: Sandals::Notice
- Inherits:
-
Object
- Object
- Sandals::Notice
- 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) ⇒ Notice
constructor
A new instance of Notice.
Constructor Details
#initialize(content) ⇒ Notice
Returns a new instance of Notice.
251 252 253 |
# File 'lib/sandals/view.rb', line 251 def initialize(content) @content = content.to_s end |
Instance Attribute Details
#content ⇒ Object (readonly)
Returns the value of attribute content.
249 250 251 |
# File 'lib/sandals/view.rb', line 249 def content @content end |