Sha256: 80fc8a0021f06d248daf3a55c50c6b8778f451dd1eb7e1e2bb89dcad8be5e393
Contents?: true
Size: 468 Bytes
Versions: 2
Compression:
Stored size: 468 Bytes
Contents
# frozen_string_literal: true module Wallaby module Resources module Index # Html cell class PointHtml < Cell # @return [String] 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 end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
wallaby-6.0.2 | app/views/wallaby/resources/index/point_html.rb |
wallaby-6.0.1 | app/views/wallaby/resources/index/point_html.rb |