# File lib/cgikit/element.rb, line 294 def bool( name, does_resolve = true ) if as = @associations[name] then if does_resolve then as.bool(root) else as.bool end else if @api and @api[name] then Association.adapt_to_bool(@api[name].default(root)) else nil end end end