struct

Bool

Inherits Value < Object

Bool has only two possible values: true and false. They are constructed using these literals:

true  # A Bool that is true
false # A Bool that is false

See Bool literals in the language reference.

Instance methods

blank?

A bool object will be blank if it's false.

true.blank?
=> false

false.blank?
=> true

source: Rails ActiveSupport

Source
to_param

Return self

Source