Changeset 124
- Timestamp:
- 03/28/2007 21:15:38 (20 months ago)
- Location:
- trunk
- Files:
-
- 3 modified
-
Rakefile (modified) (1 diff)
-
ext/hpricot_scan/hpricot_scan.java.rl (modified) (1 diff)
-
lib/hpricot/blankslate.rb (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Rakefile
r111 r124 125 125 Win32Spec.extensions = [] 126 126 127 WIN32_PKG_DIR = "#{PKG}- win32"127 WIN32_PKG_DIR = "#{PKG}-mswin32" 128 128 129 129 desc "Package up the Win32 distribution." -
trunk/ext/hpricot_scan/hpricot_scan.java.rl
r118 r124 201 201 raw.setTaint(true); 202 202 } 203 runtime.getCurrentContext().yield(ary, block);203 block.yield(runtime.getCurrentContext(), ary); 204 204 } 205 205 -
trunk/lib/hpricot/blankslate.rb
r123 r124 37 37 module Kernel 38 38 class << self 39 alias_method : blank_slate_method_added, :method_added39 alias_method :hpricot_slate_method_added, :method_added 40 40 41 41 # Detect method additions to Kernel and remove them in the 42 42 # BlankSlate class. 43 43 def method_added(name) 44 blank_slate_method_added(name)44 hpricot_slate_method_added(name) 45 45 return if self != Kernel 46 46 Hpricot::BlankSlate.hide(name) … … 51 51 class Object 52 52 class << self 53 alias_method : blank_slate_method_added, :method_added53 alias_method :hpricot_slate_method_added, :method_added 54 54 55 55 # Detect method additions to Object and remove them in the 56 56 # BlankSlate class. 57 57 def method_added(name) 58 blank_slate_method_added(name)58 hpricot_slate_method_added(name) 59 59 return if self != Object 60 60 Hpricot::BlankSlate.hide(name)
