Skip to content

Commit 23e8159

Browse files
committed
Use instance variable
1 parent e45da11 commit 23e8159

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/ferrum.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,11 @@ def mri?
132132
end
133133

134134
def started
135-
@@started ||= monotonic_time
135+
@started ||= monotonic_time
136136
end
137137

138138
def elapsed_time(start = nil)
139-
monotonic_time - (start || @@started)
139+
monotonic_time - (start || @started)
140140
end
141141

142142
def monotonic_time

0 commit comments

Comments
 (0)