代码搜索:Ruby
找到约 1,747 项符合「Ruby」的源代码
代码结果 1,747
www.eeworm.com/read/319795/3552458
rb boot.rb
# Don't change this file. Configuration is done in config/environment.rb and config/environments/*.rb
unless defined?(RAILS_ROOT)
root_path = File.join(File.dirname(__FILE__), '..')
unless RUBY_P
www.eeworm.com/read/319795/3552497
rb boot.rb
# Don't change this file. Configuration is done in config/environment.rb and config/environments/*.rb
unless defined?(RAILS_ROOT)
root_path = File.join(File.dirname(__FILE__), '..')
unless RUBY_P
www.eeworm.com/read/274610/4185129
makefile
top_builddir = ../../..
include ../../../config.mk
.PHONY: all clean rebuild install uninstall
RUBYCFLAGS = $(shell LANG=POSIX $(RUBY) getcflags.rb | sed -e "s|-x.* | |g" -e "s|-belf||g" -e "s|-mtu
www.eeworm.com/read/422060/2044274
history
History
2005/03/07: Version 3.7.1
2005/03/07: [test] success in ruby 1.9.0 (2005-03-07) [i686-linux].
2005/03/07: [impl] (thanks Rui Hirokawa)
add ONIG_ESCAPE_UCHAR_COLLISION.
www.eeworm.com/read/414813/2142546
rb test_version.rb
#!/usr/bin/env ruby
require 'test/unit'
require 'geos'
class TestVersion < Test::Unit::TestCase
def test_versions
assert_equal("3.0.0rc4-CAPI-1.3.3", Geos::version)
assert_equal(3, Geos::
www.eeworm.com/read/389759/2538124
rb open-uri.rb
#= open-uri.rb
#
#open-uri.rb is easy-to-use wrapper for net/http, net/https and net/ftp.
#
#== Example
#
#It is possible to open http/https/ftp URL as usual a file:
#
# open("http://www.ruby-lang.or
www.eeworm.com/read/389759/2538263
rb wordoftheday.rb
# Plugin for the Ruby IRC bot (http://linuxbrit.co.uk/rbot/)
# Fetches the "Word of the day" from http://uncyclopedia.org
# (c) 2005 Mark Kretschmann
# Licensed under GPL V2.
class W
www.eeworm.com/read/389759/2538341
rb lyrics_lyrc.rb
#!/usr/bin/env ruby
#
# Amarok Script for fetching song lyrics from http://lyrc.com.ar.
# Ported from Amarok's contextbrowser.cpp.
#
# (c) 2006 Mark Kretschmann
# (c) 2004 Christian Mu
www.eeworm.com/read/275831/10794078
rb 09 - killing all processes for a given user.rb
#!/usr/bin/ruby -w
# banish.rb
def signal_all(username, signal)
lookup_uid(username)
killed = 0
%x{ps -U #{username}}.each_with_index do |proc, i|
next if i == 0 # Skip the header provided
www.eeworm.com/read/275831/10794509
rb 12 - creating a gui application with wxruby.rb
#!/usr/bin/ruby -w
# wxtrout.rb
require 'wxruby'
class TroutApp < Wx::App
def on_init
frame = Wx::Frame.new(nil, -1, 'Tiny wxRuby Application')
panel = Wx::StaticText.new(frame, -1, 'You ar