Changeset 115
- Timestamp:
- 02/18/2007 10:21:56 (22 months ago)
- Files:
-
- 1 modified
-
trunk/ext/hpricot_scan/hpricot_scan.java.rl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ext/hpricot_scan/hpricot_scan.java.rl
r110 r115 2 2 import java.io.IOException; 3 3 4 import org.jruby. IRuby;4 import org.jruby.Ruby; 5 5 import org.jruby.RubyClass; 6 6 import org.jruby.RubyHash; … … 209 209 int tokstart=-1, tokend; 210 210 char[] buf; 211 IRuby runtime;211 Ruby runtime; 212 212 IRubyObject attr, bufsize; 213 213 IRubyObject[] tag, akey, aval; … … 332 332 333 333 public static IRubyObject __hpricot_scan(IRubyObject recv, IRubyObject port, Block block) { 334 IRuby runtime = recv.getRuntime();334 Ruby runtime = recv.getRuntime(); 335 335 HpricotScanService service = new HpricotScanService(); 336 336 service.runtime = runtime; … … 349 349 350 350 351 public boolean basicLoad(final IRuby runtime) throws IOException {351 public boolean basicLoad(final Ruby runtime) throws IOException { 352 352 Init_hpricot_scan(runtime); 353 353 return true; 354 354 } 355 355 356 public static void Init_hpricot_scan( IRuby runtime) {356 public static void Init_hpricot_scan(Ruby runtime) { 357 357 RubyModule mHpricot = runtime.defineModule("Hpricot"); 358 358 mHpricot.getMetaClass().attr_accessor(new IRubyObject[]{runtime.newSymbol("buffer_size")});
