Class: Wallaby::Resources::Index::PointHtml
- Inherits:
-
Cell
- Object
- Cell
- Wallaby::Resources::Index::PointHtml
- Defined in:
- app/views/wallaby/resources/index/point_html.rb
Overview
Html cell
Instance Method Summary collapse
Instance Method Details
#render ⇒ String
9 10 11 12 13 14 15 16 17 18 19 |
# File 'app/views/wallaby/resources/index/point_html.rb', line 9 def render if value.nil? null else concat '(' concat content_tag(:span, value[0], class: 'x') concat ', ' concat content_tag(:span, value[1], class: 'y') ')' end end |