代码搜索:Ruby
找到约 1,747 项符合「Ruby」的源代码
代码结果 1,747
www.eeworm.com/read/109233/6175940
rb tkmenubar.rb
#
# tkmenubar.rb
#
# Copyright (C) 1998 maeda shugo. All rights reserved.
# This file can be distributed under the terms of the Ruby.
# Usage:
#
# menu_spec = [
# [['File', 0],
# ['Open', proc
www.eeworm.com/read/109233/6175954
rb tktimer.rb
#!/usr/local/bin/ruby
# This script generates a counter with start and stop buttons.
require "tk"
$label = TkLabel.new {
text '0.00'
relief 'raised'
width 10
pack('side'=>'bottom', 'fill'=>'b
www.eeworm.com/read/109233/6175959
rb lines2.rb
#! /usr/local/bin/ruby
require "tcltk"
def drawlines()
print Time.now, "\n"
for j in 0 .. 99
print "*"
$stdout.flush
if (j & 1) != 0
col = "blue"
else
col = "red"
www.eeworm.com/read/338640/6316473
rb repeat.rb
#!/usr/local/ruby
class Repeat
@@total=0
def initialize(string, times)
@string = string
@times = times
end
def repeat
@@total +=@times
return @string * @times
end
def total
"total t
www.eeworm.com/read/484542/6579554
html comparelanguages.html
RedBlack Tree Example: Comparison of C++, Java, Python, Ruby and MATLAB
www.eeworm.com/read/474095/1395581
js shbrushruby.js
/*
* JsMin
* Javascript Compressor
* http://www.crockford.com/
* http://www.smallsharptools.com/
*/
dp.sh.Brushes.Ruby=function()
{var keywords='alias and BEGIN begin break case class def
www.eeworm.com/read/459777/1565171
js shbrushruby.js
/*
* JsMin
* Javascript Compressor
* http://www.crockford.com/
* http://www.smallsharptools.com/
*/
dp.sh.Brushes.Ruby=function()
{var keywords='alias and BEGIN begin break case class def
www.eeworm.com/read/213767/4912467
rb roster.rb
# License: see LICENSE.txt
# Jabber4R - Jabber Instant Messaging Library for Ruby
# Copyright (C) 2002 Rich Kilmer
#
module Jabber
##
# The Roster class encaps
www.eeworm.com/read/346804/3180910
js shbrushruby.js
/*
* JsMin
* Javascript Compressor
* http://www.crockford.com/
* http://www.smallsharptools.com/
*/
dp.sh.Brushes.Ruby=function()
{var keywords='alias and BEGIN begin break case class def
www.eeworm.com/read/329621/3430505
js shbrushruby.js
/*
* JsMin
* Javascript Compressor
* http://www.crockford.com/
* http://www.smallsharptools.com/
*/
dp.sh.Brushes.Ruby=function()
{var keywords='alias and BEGIN begin break case class def