Repository navigation
v3.0.0
Optional booleans that are not present now return nil instead of false. This makes it easier to detect if the value was present.
attribute :param1, :boolean, optional: trueIf the intent is to use spec to coerce an optional property to only true/false, use default:
attribute :param1, :boolean, default: false