代码搜索:Ruby
找到约 1,747 项符合「Ruby」的源代码
代码结果 1,747
www.eeworm.com/read/414813/2142552
rb test_io.rb
#!/usr/bin/env ruby
require 'test/unit'
require 'geos'
class TestIo < Test::Unit::TestCase
def check(wkt, ndr_hex_in, xdr_hex_in)
wkt_reader = Geos::WktReader.new
geom1 = wkt_reader.re
www.eeworm.com/read/389759/2538347
rb addimage2mp3.rb
#!/usr/bin/env ruby
#
# Script for embedding album cover images in MP3 files. This requires an existing
# ID3-V2 tag in the file.
#
# (c) 2005-2006 Mark Kretschmann
# License: GNU Gene
www.eeworm.com/read/109233/6175962
rb sample1.rb
#! /usr/local/bin/ruby -d
#! /usr/local/bin/ruby
# -d オプションを烧けると, デバッグ攫鼠を山绩する.
# tcltk ライブラリのサンプル
# まず, ライブラリを require する.
require "tcltk"
# 笆布は, Test1 のインスタンスの initialize() で,
# tcl/tk に簇する借妄を乖う毋で
www.eeworm.com/read/275831/10793871
rb 15 - redirecting standard input or output.rb
#!/usr/bin/env ruby
# redirect_stdout.rb
require 'stringio'
new_stdout = StringIO.new
$stdout = new_stdout
puts 'Hello, hello.'
puts "I'm writing to standard output."
$stderr.puts "#{new_stdout.size
www.eeworm.com/read/493655/1164239
am makefile.am
pkglib_LTLIBRARIES = librcssmonitor3D.la
AM_CPPFLAGS = -I${top_srcdir}/lib -I${top_srcdir}/plugin -I${top_srcdir}/utility \
@FREETYPE_CPPFLAGS@ @RUBY_CPPFLAGS@
librcssmonitor3D_la_LDFLAGS = -
www.eeworm.com/read/467930/1494858
svn-base riki_entry.cgi.svn-base
#!/usr/bin/ruby -w
require 'cgi'
require 'drb'
request = CGI.new
SERVER_URI = "druby://localhost:7000"
print "Content-type: text/plain\n\n"
DRb.start_service
riki = DRbObject.new_with_uri(SERVER_U
www.eeworm.com/read/467930/1494860
cgi riki_entry.cgi
#!/usr/bin/ruby -w
require 'cgi'
require 'drb'
request = CGI.new
SERVER_URI = "druby://localhost:7000"
print "Content-type: text/plain\n\n"
DRb.start_service
riki = DRbObject.new_with_uri(SERVER_U
www.eeworm.com/read/270087/4241803
am makefile.am
pkglib_LTLIBRARIES = librcssmonitor3D.la
AM_CPPFLAGS = -I${top_srcdir}/lib -I${top_srcdir}/plugin -I${top_srcdir}/utility \
@FREETYPE_CPPFLAGS@ @RUBY_CPPFLAGS@
librcssmonitor3D_la_LDFLAGS = -
www.eeworm.com/read/414813/2142547
rb test_srid.rb
#!/usr/bin/env ruby
require 'test/unit'
require 'geos'
class SridTest < Test::Unit::TestCase
def test_srid
cs = Geos::CoordinateSequence.new(1,2)
cs.set_x(0, 7)
cs.set_y(0, 8)
www.eeworm.com/read/414813/2142555
rb test_geometry.rb
#!/usr/bin/env ruby
require 'test/unit'
require 'geos'
class TestGeometry < Test::Unit::TestCase
def test_create_point
cs = Geos::CoordinateSequence.new(1,3)
cs.set_x(0, 7)
cs.set_y(0