代码搜索:Ruby

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

代码结果 1,747
www.eeworm.com/read/275831/10793903

rb 09 - sharing a hash between any number of computers.rb

#!/usr/local/ruby -w # drb_hash_server.rb require 'drb' # Start up DRb with a URI and a hash to share shared_hash = {:server => 'Some data set by the server' } DRb.start_service('druby://127.0.0.1:61
www.eeworm.com/read/275831/10794210

rb 11 - profiling your application.rb

#!/usr/bin/env ruby # sequence_counter.rb require 'profile' total = 0 # Count the letter sequences containing an a, b, or c. ('a'..'zz').each do |seq| ['a', 'b', 'c'].each do |i| if seq.index(i
www.eeworm.com/read/275831/10794497

rb 01 - getting input one character at a time.rb

#!/usr/bin/ruby -w # curses_single_char_input.rb require 'curses' include Curses # Setup: create a curses screen that doesn't echo its input. init_screen noecho # Cleanup: restore the terminal setti
www.eeworm.com/read/120251/6078707

i engine.i

//This is a swig package for ruby. //http://www.swig.org //Author: Gaw (garcia@cs.ttu.edu) %module Oasis %{ #include "oasisCommon.h" #include "oasisVector3.h" #include "oasisQuaternion.h" #i
www.eeworm.com/read/113165/6140721

i engine.i

//This is a swig package for ruby. //http://www.swig.org //Author: Gaw (garcia@cs.ttu.edu) %module Oasis %{ #include "oasisCommon.h" #include "oasisVector3.h" #include "oasisQuaternion.h" #i
www.eeworm.com/read/213767/4912190

rb template_test.rb

#!/usr/bin/env ruby require 'test/unit' require 'rubygems' require 'active_support' require 'action_view' require File.dirname(__FILE__) + '/../lib/haml/template' require File.dirname(__FILE__) + '/
www.eeworm.com/read/213767/4912396

rb 05_markdown.tests.rb

#!/usr/bin/ruby # # Test case for BlueCloth Markdown transforms. # $Id: TEMPLATE.rb.tpl,v 1.2 2003/09/11 04:59:51 deveiant Exp $ # # Copyright (c) 2004 The FaerieMUD Consortium. # if !defined?( Blue
www.eeworm.com/read/213767/4912454

rb tc_syntax.rb

$:.unshift File.dirname(__FILE__) + "/../lib" require 'syntax' require 'test/unit' class TC_Syntax < Test::Unit::TestCase def test_all langs = Syntax.all assert langs.include?("ruby") a
www.eeworm.com/read/273662/4202093

rb util.rb

module Svn module Util @@wrapper_procs = [] module_function def to_ruby_class_name(name) name.split("_").collect{|x| "#{x[0,1].upcase}#{x[1..-1]}"}.join("") end
www.eeworm.com/read/273660/4203103

rb util.rb

module Svn module Util @@wrapper_procs = [] module_function def to_ruby_class_name(name) name.split("_").collect{|x| "#{x[0,1].upcase}#{x[1..-1]}"}.join("") end