Sha256: 97507a98537d8271a79863850ddf78c7bcff8a60399a8345993b43f7e6e2d2ba

Contents?: true

Size: 217 Bytes

Versions: 2

Compression:

Stored size: 217 Bytes

Contents

# frozen_string_literal: true

module Helium
  class Console
    define_formatter_for 'Pathname' do
      def render_compact
        "#{format(Pathname, :compact)}: #{yellow(object.to_s)}"
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
helium-console-0.1.13 lib/helium/console/registry/pathname.rb
helium-console-0.1.12 lib/helium/console/registry/pathname.rb