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