代码搜索:Ruby

找到约 1,747 项符合「Ruby」的源代码

代码结果 1,747
www.eeworm.com/read/389759/2538157

h http11_parser.h

/** * Copyright (c) 2005 Zed A. Shaw * You can redistribute it and/or modify it under the same terms as Ruby. */ #ifndef http11_parser_h #define http11_parser_h #include #if define
www.eeworm.com/read/389759/2538265

rb opinion.rb

# Plugin for the Ruby IRC bot (http://linuxbrit.co.uk/rbot/) # (c) 2005-2006 Mark Kretschmann # Licensed under GPL V2. class OpinionPlugin < Plugin def help(plugin, topic="")
www.eeworm.com/read/389759/2538267

rb grouphug.rb

# Plugin for the Ruby IRC bot (http://linuxbrit.co.uk/rbot/) # (c) 2005 Mark Kretschmann # Licensed under GPL V2. require "net/http" class GrouphugPlugin < Plugin def help( plug
www.eeworm.com/read/389759/2538295

rb lyrics_astraweb.rb

#!/usr/bin/env ruby # # Amarok Script for fetching song lyrics from http://lyrics.astraweb.com. # # (c) 2006 Mark Kretschmann # # License: GNU General Public License V2 require "net/
www.eeworm.com/read/366702/2880519

c unswitch-loops-pr26969.c

/* { dg-do compile } */ /* { dg-require-effective-target vect_int } */ void ruby_re_compile_fastmap (char *fastmap, int options) { int j; for (j = 0; j < (1
www.eeworm.com/read/275831/10794154

rb 09 - using breakpoint to inspect and change the state of your application.rb

#!/usr/bin/ruby -w # breakpoint_test.rb require 'rubygems' require 'breakpoint' class Foo def initialize(init_value) @instance_var = init_value end def bar test_var = @instance_var
www.eeworm.com/read/275831/10794511

rb 11 - creating a gui application with tk.rb

require 'tk' root = TkRoot.new { title "Tiny Tk Application" } label = TkLabel.new(root) { text "You are a trout!" } label.pack Tk.mainloop #--- #!/usr/bin/ruby # stopwatch.rb require 'tk' class Stop
www.eeworm.com/read/109233/6175953

rb tkfrom.rb

#! /usr/local/bin/ruby require "parsedate" require "base64" include ParseDate class Mail def Mail.new(f) if !f.kind_of?(IO) f = open(f, "r") me = super(f) f.close else
www.eeworm.com/read/261194/11660056

readme

MING THE MODULE Last updated 2nd February 2004. Ming is a Flash (SWF) output library. It can be used from PHP, Perl, Ruby, Python, C, C++, Java, and probably more on the way. It comprises a lot o
www.eeworm.com/read/213767/4912404

rb 10_bug.tests.rb

#!/usr/bin/ruby # # Unit test for bugs found in BlueCloth # $Id: 10_Bug.tests.rb 68 2004-08-25 05:14:37Z ged $ # # Copyright (c) 2004 The FaerieMUD Consortium. # if !defined?( BlueCloth ) || !define