Commit 2b002d4
authored
README.md: Update server/client code (#51)
This commit fixes the server/client code example on README.md fixing the
following rubocop issues. I confirmed the updated code example worked in
my local environment.
* C: [Correctable] Layout/SpaceAroundOperators: Surrounding space
missing for operator =.
* C: [Correctable] Style/StringLiterals: Prefer single-quoted strings
when you don't need string interpolation or special symbols.
* C: [Correctable] Layout/EmptyLinesAroundClassBody: Extra empty line
detected at class body beginning.
* C: [Correctable] Layout/EmptyLinesAroundClassBody: Extra empty line
detected at class body end.
* C: Naming/AccessorMethodName: Do not prefix reader method names with
get_.1 parent 037ea75 commit 2b002d4
1 file changed
Lines changed: 6 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | | - | |
| 43 | + | |
| 44 | + | |
46 | 45 | | |
47 | | - | |
48 | 46 | | |
49 | 47 | | |
50 | 48 | | |
51 | | - | |
| 49 | + | |
52 | 50 | | |
53 | 51 | | |
54 | 52 | | |
| |||
61 | 59 | | |
62 | 60 | | |
63 | 61 | | |
64 | | - | |
| 62 | + | |
65 | 63 | | |
66 | 64 | | |
67 | 65 | | |
| |||
74 | 72 | | |
75 | 73 | | |
76 | 74 | | |
77 | | - | |
| 75 | + | |
78 | 76 | | |
79 | 77 | | |
80 | 78 | | |
| |||
0 commit comments