quick-debug 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,12 +7,20 @@ class D
7
7
  @@active = {:bg => true, :lg => true}
8
8
 
9
9
  def self.disable where
10
- locations = where == :all ? [:bg, :lg] : where
10
+ locations = if where == :all
11
+ [:bg, :lg]
12
+ else
13
+ [where]
14
+ end
11
15
  locations.each{ |location| @@active[location] = false }
12
16
  end
13
17
 
14
18
  def self.enable where
15
- locations = where == :all ? [:bg, :lg] : where
19
+ locations = if where == :all
20
+ [:bg, :lg]
21
+ else
22
+ [where]
23
+ end
16
24
  locations.each{ |location| @@active[location] = true }
17
25
  end
18
26
 
@@ -1,3 +1,3 @@
1
1
  class D
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
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: 25
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
9
+ - 4
10
+ version: 0.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Suan-Aik Yeo
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2013-01-02 00:00:00 Z
18
+ date: 2013-01-05 00:00:00 Z
19
19
  dependencies: []
20
20
 
21
21
  description: Debug your Ruby code with just a few keystrokes!