Sha256: 8daa25914e20e0a06b5a32c573f349a28c1d708d03c53b5ec49dd55d08597a25

Contents?: true

Size: 311 Bytes

Versions: 2

Compression:

Stored size: 311 Bytes

Contents

# frozen_string_literal: true

module Wallaby
  module Resources
    module Index
      # Html cell
      class RawHtml < Cell
        # @return [String]
        def render
          if value.nil?
            null
          else
            value.html_safe
          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/raw_html.rb
wallaby-6.0.1 app/views/wallaby/resources/index/raw_html.rb