Sha256: aa4228cf92b8cafb6476418b7e17e984fa0d8b6066e4e741b89007bfa050bc63
Contents?: true
Size: 442 Bytes
Versions: 2
Compression:
Stored size: 442 Bytes
Contents
# frozen_string_literal: true module Wallaby module Resources module Index # Html cell class NumrangeHtml < Cell # @return [String] def render if value.nil? null else concat content_tag(:span, value.first, class: 'from') concat '...' concat content_tag(:span, value.last, class: 'to') 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/numrange_html.rb |
wallaby-6.0.1 | app/views/wallaby/resources/index/numrange_html.rb |