Sha256: 323a36260a169a80cb2c874a709700ca9c20699f2eff66169a05be7c3c259d7b

Contents?: true

Size: 260 Bytes

Versions: 2

Compression:

Stored size: 260 Bytes

Contents

# frozen_string_literal: true

module Wallaby
  module Resources
    module Index
      # Html cell
      class UnsignedIntegerHtml < Cell
        # @return [String]
        def render
          value.try(:to_i) || null
        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/unsigned_integer_html.rb
wallaby-6.0.1 app/views/wallaby/resources/index/unsigned_integer_html.rb