Commit 1bd9995d authored by Dmitry Gutov's avatar Dmitry Gutov
Browse files

* indent/ruby.rb: Fix an example, remove wrong example, and add two more.

parent f55f544f
......@@ -182,12 +182,9 @@ def foo
end
method !arg1,
arg2
method [],
arg2
method {:a => 1, :b => 2},
method [],
arg2
method :foo,
......@@ -195,3 +192,11 @@ def foo
method (a + b),
c
it "is a method call with block" do
foo
end
it("is too!") {
bar
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment