refr 0.0.3.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/refr.rb +4 -4
  2. metadata +2 -2
data/lib/refr.rb CHANGED
@@ -10,7 +10,7 @@
10
10
  # 0. You just DO WHAT THE FUCK YOU WANT TO.
11
11
  #++
12
12
 
13
- class Reference < BasicObject
13
+ class Reference
14
14
  def self.local (&block)
15
15
  self.new(block.call, block.binding)
16
16
  end
@@ -23,11 +23,11 @@ class Reference < BasicObject
23
23
  end
24
24
  end
25
25
 
26
- BasicObject.instance_methods.each {|meth|
27
- tmp, $VERBOSE = $VERBOSE, nil
26
+ tmp, $VERBOSE = $VERBOSE, nil
27
+ Object.instance_methods.each {|meth|
28
28
  undef_method meth
29
- $VERBOSE = tmp
30
29
  }
30
+ $VERBOSE = tmp
31
31
 
32
32
  def initialize (name, vars)
33
33
  begin
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: refr
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.3.3
5
+ version: 0.0.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - meh.
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-07-17 00:00:00 Z
13
+ date: 2011-07-18 00:00:00 Z
14
14
  dependencies: []
15
15
 
16
16
  description: