We should discuss code convention about indentation private methods in classes. We have two common conventions.
First one:
class Foo
def public_method
end
private
def private_method
end
end
Second one:
class Bar
def public_method
end
private
def private_method
end
end
Also I propose to add one blank line before private word and one after.
We should discuss code convention about indentation private methods in classes. We have two common conventions.
First one:
Second one:
Also I propose to add one blank line before
privateword and one after.