Skip to content

Commit a4af940

Browse files
jonaslanglotzbbatsov
authored andcommitted
Change example to be consistent with style guide
Example for "Consistent Classes" section didn't follow the style guide
1 parent 622fbdd commit a4af940

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3210,7 +3210,8 @@ class Person
32103210
prepend YetAnotherModule
32113211
32123212
# inner classes
3213-
CustomError = Class.new(StandardError)
3213+
class CustomError < StandardError
3214+
end
32143215
32153216
# constants are next
32163217
SOME_CONSTANT = 20

0 commit comments

Comments
 (0)