Leaving a trailing comma in attribute declarations, such as #attr_reader
will
nullify the next method definition by overriding it with a getter method.
class Foo
attr_reader :bar,
def foo
puts "Can not be reached."
end
end
class Foo
attr_reader :bar
def foo
puts "This is very much reachable!"
end
end