Class: String::HtmlString
Instance Method Summary
collapse
Methods inherited from String
#/, #cleanpath, #ends_with?, #starts_with?, #try_encoding
Instance Method Details
#html_safe ⇒ Object
13
14
15
|
# File 'lib/olelo/html_safe.rb', line 13
def html_safe
self
end
|
#html_safe? ⇒ Boolean
9
10
11
|
# File 'lib/olelo/html_safe.rb', line 9
def html_safe?
true
end
|
17
18
19
|
# File 'lib/olelo/html_safe.rb', line 17
def to_s
self
end
|