代码搜索:Ruby
找到约 1,747 项符合「Ruby」的源代码
代码结果 1,747
www.eeworm.com/read/275831/10793925
rb 13 - automatically discovering drb servers and clients.rb
#!/usr/bin/ruby
# rinda_server.rb
require 'rinda/ring' # for RingServer
require 'rinda/tuplespace' # for TupleSpace
DRb.start_service
# Create a TupleSpace to hold named services, and start
www.eeworm.com/read/484590/6580585
js highlight.js
/*
Syntax highlighting with language autodetection.
http://softwaremaniacs.org/soft/highlight/
*/
var hljs = new function() {
var DEFAULT_LANGUAGES = ['python', 'ruby', 'perl', 'php', 'css', 'x
www.eeworm.com/read/458008/1590407
readme
= meantime_filter for Rails controllers
A plugin for Ruby On Rails extending ActionController features.
It works with Rails v1.1.4, it has not been tested with other versions.
== Description
This pl
www.eeworm.com/read/190346/5185175
readme
This directory used to contain a set of Ruby bindings which were
hand-built. They became completely stale and confused people by
their presence, so the bindings were removed in revision 6485.
If you
www.eeworm.com/read/177008/5334146
rb depend.rb
#!/bin/ruby
$pattern = ["*.cpp", "*.c"]
def getDependFile(f)
r = Array.new
IO.foreach(f) do |line|
if (line =~ /\#include\s*\"/) then
part = line.split('"');
www.eeworm.com/read/177008/5334273
rb depend.rb
#!/bin/ruby
$pattern = ["*.cpp", "*.c"]
def getDependFile(f)
r = Array.new
IO.foreach(f) do |line|
if (line =~ /\#include\s*\"/) then
part = line.split('"');
www.eeworm.com/read/278145/4147549
re
Oniguruma Regular Expressions Version 3.6.0 2005/02/01
syntax: ONIG_SYNTAX_RUBY (default)
1. Syntax elements
\ escape (enable or disable meta character meaning)
| alternation
www.eeworm.com/read/414813/2142553
rb test_relations.rb
#!/usr/bin/env ruby
# These tests evaluate the geos relational operators
require 'test/unit'
require 'geos'
require 'test_helper'
class TestGeosRelations < Test::Unit::TestCase
X = RuntimeError
www.eeworm.com/read/413713/2159730
readme_for_app
Pre-requisites :
--------------
Ruby 1.8.6-26 or above
Rails 2.0.2
MySQL 4.0 or above
mysql gem
WEBrick or any other HTTP server
Database Creation:
-----------------
Modify config/data
www.eeworm.com/read/413713/2159800
rb factory_master.rb
#Model class to store data of factory id and name.
#As per Ruby On Rails conventions, we have the corresponding table
#factory_masters in the database.
class Fusioncharts::FactoryMaster < ActiveRe