Sha256: d82004d3f53fa9acd5340b7cfdb8729d69ebbe51cdfa9d45bae1e69d4671e0c9

Contents?: true

Size: 227 Bytes

Versions: 5

Compression:

Stored size: 227 Bytes

Contents

module Helium
  class Console
    define_formatter_for TrueClass do
      def call
        green('true')
      end
    end

    define_formatter_for FalseClass do
      def call
        red('false')
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
helium-console-0.1.7 lib/helium/console/registry/booleans.rb
helium-console-0.1.6 lib/helium/console/registry/booleans.rb
helium-console-0.1.5 lib/helium/console/registry/booleans.rb
helium-console-0.1.4 lib/helium/console/registry/booleans.rb
helium-console-0.1.3 lib/helium/console/registry/booleans.rb