Sha256: 78c6dd63ccb3e54552f93c0af8ddd290c2bbd827994969fd92f775ae26e4dcf1
Contents?: true
Size: 179 Bytes
Versions: 4
Compression:
Stored size: 179 Bytes
Contents
# frozen_string_literal: true module Motoko module Formatters class Boolean < BaseFormatter def format(value) value ? '√' : nil end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
motoko-1.2.1 | lib/motoko/formatters/boolean.rb |
motoko-1.2.0 | lib/motoko/formatters/boolean.rb |
motoko-1.1.0 | lib/motoko/formatters/boolean.rb |
motoko-1.0.0 | lib/motoko/formatters/boolean.rb |