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.
273 274 275 |
# File 'lib/sandals/view.rb', line 273 def initialize(content) @content = content.to_s end |
Instance Attribute Details
#content ⇒ Object (readonly)
Returns the value of attribute content.
271 272 273 |
# File 'lib/sandals/view.rb', line 271 def content @content end |