代码搜索:Ruby
找到约 1,747 项符合「Ruby」的源代码
代码结果 1,747
www.eeworm.com/read/389759/2538349
rb score2rating.rb
#!/usr/bin/env ruby
#
# Score2Rating 3.0 (for Amarok 1.4)
# ---------------------------------
#
# First of all:
# PLEASE MAKE A BACKUP OF YOUR DATABASE BEFORE RUNNING THIS SCRIPT!
# It might do bad th
www.eeworm.com/read/319707/13445799
py using_dict.py
# Filename: using_dict.py
# 'ab' is short for 'a'ddress'b'ook
ab = { 'Swaroop' : 'swaroopch@byteofpython.info',
'Larry' : 'larry@wall.org',
'Matsumoto' : 'matz@ruby-lang
www.eeworm.com/read/472233/1416701
js regexp-dna.js
// The Computer Language Shootout
// http://shootout.alioth.debian.org/
//
// contributed by Jesse Millikan
// Base on the Ruby version by jose fco. gonzalez
var l;
var dnaInput = ">ONE Homo sapiens
www.eeworm.com/read/213767/4912183
rb template.rb
require File.dirname(__FILE__) + '/engine'
require 'rubygems'
require 'active_support'
require 'action_view'
module Haml
# This class interfaces with ActionView
# to make Haml usable as a Ruby on
www.eeworm.com/read/213767/4912400
txt ml-announce.txt
Hi,
I'd like to announce the alpha release of a Markdown library for [Ruby][1]
called "BlueCloth". It's mostly a direct port of the most recent Perl version,
minus the various plugin hooks and whatno
www.eeworm.com/read/273662/4201427
rb commit-email.rb
#!/usr/bin/env ruby
require "optparse"
require "ostruct"
require "stringio"
require "tempfile"
SENDMAIL = "/usr/sbin/sendmail"
def parse(args)
options = OpenStruct.new
options.to = []
options
www.eeworm.com/read/273660/4202504
rb commit-email.rb
#!/usr/bin/env ruby
require "optparse"
require "ostruct"
require "stringio"
require "tempfile"
SENDMAIL = "/usr/sbin/sendmail"
def parse(args)
options = OpenStruct.new
options.to = []
options
www.eeworm.com/read/389759/2538121
rb gem_runner.rb
#!/usr/bin/env ruby
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
# See LICENSE.txt for permissions.
#++
module Gem
############################
www.eeworm.com/read/389759/2538273
rb megahal.rb
# This is a port of the MegaHal chatterbot software to Ruby.
# The original code can be downloaded here: http://megahal.alioth.debian.org/
# This port is also based on JMegaHal, http://www.jibble.org/
www.eeworm.com/read/275831/10793672
rb 04 - gathering statistics about your code.rb
# scriptlines.rb
# A ScriptLines instance analyses a Ruby script and maintains
# counters for the total number of lines, lines of code, etc.
class ScriptLines
attr_reader :name
attr_accessor :byt