Sha256: da1924df0a389bacf6dcff169c9ad7c47cac50eb3b76339fcccfbe1ad989a2a7

Contents?: true

Size: 330 Bytes

Versions: 2

Compression:

Stored size: 330 Bytes

Contents

# frozen_string_literal: true

module Wallaby
  module Resources
    module Index
      # Html cell
      class PasswordHtml < Cell
        # @return [String]
        def render
          if value.nil?
            null
          else
            content_tag :code, '********'
          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/password_html.rb
wallaby-6.0.1 app/views/wallaby/resources/index/password_html.rb