# File lib/aws/record/attribute_macros.rb, line 181 def boolean_attr name, options = {} attr = add_attribute(BooleanAttribute.new(name, options)) # add the boolean question mark method define_method("#{attr.name}?") do !!__send__(attr.name) end end