box-o-sand/why/metaid/attr_abort.rb

10 lines
151 B
Ruby
Raw Normal View History

class Class
def attr_abort(*args)
abort "Please no more attributes today."
end
end
class MyNewClass
attr_abort :id, :diagram, :telegram
end