Sha256: 8b09c7ee433f08e6f3dec9187154fcd013fd9067f59c40d941caca89a541d9d7

Contents?: true

Size: 210 Bytes

Versions: 2

Compression:

Stored size: 210 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
helium-console-0.1.11 lib/helium/console/registry/pathname.rb
helium-console-0.1.10 lib/helium/console/registry/pathname.rb