mirror of
https://github.com/edgecase/ruby_koans.git
synced 2026-04-15 07:23:19 -04:00
whitespace cleanup
This commit is contained in:
@@ -47,7 +47,7 @@ class AboutClassMethods < EdgeCase::Koan
|
|||||||
end
|
end
|
||||||
|
|
||||||
# ------------------------------------------------------------------
|
# ------------------------------------------------------------------
|
||||||
|
|
||||||
class Dog2
|
class Dog2
|
||||||
def wag
|
def wag
|
||||||
:instance_level_wag
|
:instance_level_wag
|
||||||
@@ -96,14 +96,13 @@ class AboutClassMethods < EdgeCase::Koan
|
|||||||
def test_you_can_define_class_methods_inside_the_class
|
def test_you_can_define_class_methods_inside_the_class
|
||||||
assert_equal __(:dogs_class_method), Dog.a_class_method
|
assert_equal __(:dogs_class_method), Dog.a_class_method
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
# ------------------------------------------------------------------
|
# ------------------------------------------------------------------
|
||||||
|
|
||||||
LastExpressionInClassStatement = class Dog
|
LastExpressionInClassStatement = class Dog
|
||||||
21
|
21
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_class_statements_return_the_value_of_their_last_expression
|
def test_class_statements_return_the_value_of_their_last_expression
|
||||||
assert_equal __(21), LastExpressionInClassStatement
|
assert_equal __(21), LastExpressionInClassStatement
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user