Module: Waxx::Html
Overview
Waxx Copyright © 2016 ePark labs Inc. & Daniel J. Fitzpatrick <dan@eparklabs.com> All rights reserved. Released under the Apache Version 2 License. See LICENSE.txt.
Instance Attribute Summary collapse
-
#view ⇒ Object
readonly
Returns the value of attribute view.
Instance Method Summary collapse
Instance Attribute Details
#view ⇒ Object (readonly)
Returns the value of attribute view
6 7 8 |
# File 'waxx/html.rb', line 6 def view @view end |
Instance Method Details
#debug(str, level = 3) ⇒ Object
28 29 30 |
# File 'waxx/html.rb', line 28 def debug(str, level=3) Waxx.debug(str, level) end |
#f(v, *fmt) ⇒ Object
12 13 14 |
# File 'waxx/html.rb', line 12 def f v, *fmt v.f *fmt end |
#h(v) ⇒ Object
16 17 18 19 20 21 22 |
# File 'waxx/html.rb', line 16 def h v begin v.h rescue v.to_s.h end end |