rudebug 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,9 +5,11 @@ class GladeXML # :nodoc:
5
5
  # from a glade file against the GC by holding a reference so they won't go
6
6
  # away. However, it can try to reference objects which weren't loaded when we
7
7
  # supply a root argument. This ought to protect against that case. -- flgr
8
- alias :guard_source_from_gc_without_nil_check :guard_source_from_gc
9
- def guard_source_from_gc(source)
10
- guard_source_from_gc_without_nil_check(source) unless source.nil?
8
+ if method_defined?(:guard_source_from_gc) then
9
+ alias :guard_source_from_gc_without_nil_check :guard_source_from_gc
10
+ def guard_source_from_gc(source)
11
+ guard_source_from_gc_without_nil_check(source) unless source.nil?
12
+ end
11
13
  end
12
14
  end
13
15
 
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: rudebug
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.3.0
6
+ version: 0.3.1
7
7
  date: 2007-01-06 00:00:00 +01:00
8
8
  summary: A graphical debugger for Ruby
9
9
  require_paths: