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