Class: Motoko::Formatters::Boolean
- Inherits:
-
BaseFormatter
- Object
- BaseFormatter
- Motoko::Formatters::Boolean
- Defined in:
- lib/motoko/formatters/boolean.rb
Instance Method Summary collapse
Methods inherited from BaseFormatter
Constructor Details
This class inherits a constructor from Motoko::Formatters::BaseFormatter
Instance Method Details
#format(value) ⇒ Object
6 7 8 |
# File 'lib/motoko/formatters/boolean.rb', line 6 def format(value) value ? '√' : nil end |