quick-debug 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/quick-debug.rb +1 -1
- data/lib/quick-debug/version.rb +1 -1
- metadata +3 -3
data/lib/quick-debug.rb
CHANGED
@@ -39,7 +39,7 @@ class D
|
|
39
39
|
timestamp = Time.now.strftime("%a %H:%M:%S")
|
40
40
|
File.open(@@logpath, 'a+') do |f|
|
41
41
|
print_separator_if_needed f
|
42
|
-
f.puts "[#{timestamp}] #{eval_inspect(caller[
|
42
|
+
f.puts "[#{timestamp}] #{eval_inspect(caller[2], &block)}"
|
43
43
|
end
|
44
44
|
end
|
45
45
|
|
data/lib/quick-debug/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: quick-debug
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 2
|
10
|
+
version: 0.1.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Suan-Aik Yeo
|