代码搜索:Ruby
找到约 1,747 项符合「Ruby」的源代码
代码结果 1,747
www.eeworm.com/read/414813/2142550
rb test_buffer.rb
#!/usr/bin/env ruby
require 'test/unit'
require 'geos'
require 'test_helper'
class TestBuffer < Test::Unit::TestCase
def setup
@test_helper = GeosTestHelper.new()
end
def test_xml_cases
www.eeworm.com/read/389759/2538319
rb amaroknowplaying.rb
#!/usr/bin/env ruby
#
# Now playing script for IRC.
# Use with the "/exec -o" command of your client. You can bind an alias like this:
# /alias np exec -o /home/myself/amaroknowplaying.rb
#
# (c) 200
www.eeworm.com/read/389759/2538369
rb stalealbums.rb
#!/usr/bin/env ruby
#
# script to remove stale entries in some database tables (album)
#
# (c) 2006 Roland Gigler
# License: GNU General Public License V2
class String
def shellq
www.eeworm.com/read/249774/12475402
rb test.rb
#!/usr/bin/ruby
require 'TinySVM'
ex = TinySVM::Example.new()
ex.read("../tests/train.svmdata")
model = ex.learn()
print "Trnum=", model.getTrainingDataSize(), "\n";
print "SV=", model.getSVnum(),
www.eeworm.com/read/275831/10793917
rb 12 - securing drb services with access control lists.rb
#!/usr/bin/ruby
# acl_hash_server.rb
require 'drb'
require 'drb/acl'
# Setup the security--remember to call before DRb.start_service()
DRb.install_acl(ACL.new(%w{ deny all
www.eeworm.com/read/243314/12949389
rb mkunidata.rb
#! /usr/local/bin/ruby -KU
if $KCODE != 'UTF8'
raise "$KCODE must be UTF8"
end
HEAD=
www.eeworm.com/read/243314/12949403
c unicode.c
/*
* Unicode Library version 0.1
* Nov 23, 1999 yoshidam
*
*/
#include "ruby.h"
#include "rubyio.h"
#include
#include "wstring.h"
#include "unidata.map"
static VALUE mUnicode;
static V
www.eeworm.com/read/115070/6120592
rb soap_client.rb
#!/usr/bin/env ruby
require 'soap/driver'
soapClient = SOAP::Driver.new( Devel::Logger.new(STDERR) , nil, 'GForgeAPI', 'http://shire/soap/SoapAPI.php' )
soapClient = SOAP::Driver.new( nil , nil, 'GFo
www.eeworm.com/read/389759/2538136
am makefile.am
amarokmongreldir = \
$(kde_datadir)/amarok/ruby_lib/mongrel
amarokmongrel_DATA = \
cgi.rb \
command.rb \
configurator.rb \
debug.rb \
handlers.rb \
init.rb \
mime_type
www.eeworm.com/read/389759/2538156
rl http11_parser.rl
/**
* Copyright (c) 2005 Zed A. Shaw
* You can redistribute it and/or modify it under the same terms as Ruby.
*/
#include "http11_parser.h"
#include
#include
#include