Skip to content

Commit 19f4318

Browse files
author
Benoit Tigeot
committed
Fix indent for memory_profiler code snippets
1 parent c37e864 commit 19f4318

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -119,26 +119,26 @@ Here is a list of questions I have. Feel free to make a PR to answer them.
119119
require 'memory_profiler'
120120

121121
report_1 = MemoryProfiler.report do
122-
def get_me_directly
123-
"hey"
124-
end
125-
get_me_directly
122+
def get_me_directly
123+
"hey"
124+
end
125+
get_me_directly
126126
end
127127

128128
report_2 = MemoryProfiler.report do
129-
ST = "yep"
130-
def get_me_with_constant
131-
ST
132-
end
133-
get_me_with_constant
129+
ST = "yep"
130+
def get_me_with_constant
131+
ST
132+
end
133+
get_me_with_constant
134134
end
135135

136136
report_3 = MemoryProfiler.report do
137-
ST_FREEZE = "yop".freeze
138-
def get_me_with_constant_freeze
139-
ST_FREEZE
140-
end
141-
get_me_with_constant_freeze
137+
ST_FREEZE = "yop".freeze
138+
def get_me_with_constant_freeze
139+
ST_FREEZE
140+
end
141+
get_me_with_constant_freeze
142142
end
143143

144144
report_1.pretty_print

0 commit comments

Comments
 (0)