Class: Parlour::Types::Boolean
Overview
Type for a boolean.
Instance Method Summary collapse
Methods inherited from Type
Instance Method Details
#==(other) ⇒ Object
437 438 439 |
# File 'lib/parlour/types.rb', line 437 def ==(other) Boolean === other end |
#describe ⇒ Object
452 453 454 |
# File 'lib/parlour/types.rb', line 452 def describe "bool" end |
#generate_rbi ⇒ Object
442 443 444 |
# File 'lib/parlour/types.rb', line 442 def generate_rbi "T::Boolean" end |
#generate_rbs ⇒ Object
447 448 449 |
# File 'lib/parlour/types.rb', line 447 def generate_rbs "bool" end |