# File lib/skeleton/attributes.rb, line 3 def attr_presence(*methods) Array(methods).each do |method| define_method("#{method}?") do !!self.public_send(method.to_s) end end end