Class: TinyAdmin::RawHtml
- Inherits:
-
Object
- Object
- TinyAdmin::RawHtml
- Defined in:
- lib/tiny_admin/raw_html.rb
Instance Attribute Summary collapse
-
#to_s ⇒ Object
readonly
Returns the value of attribute to_s.
Instance Method Summary collapse
-
#initialize(value) ⇒ RawHtml
constructor
A new instance of RawHtml.
Constructor Details
#initialize(value) ⇒ RawHtml
Returns a new instance of RawHtml.
7 8 9 |
# File 'lib/tiny_admin/raw_html.rb', line 7 def initialize(value) @to_s = value.to_s end |
Instance Attribute Details
#to_s ⇒ Object (readonly)
Returns the value of attribute to_s.
5 6 7 |
# File 'lib/tiny_admin/raw_html.rb', line 5 def to_s @to_s end |