代码搜索:Ruby
找到约 1,747 项符合「Ruby」的源代码
代码结果 1,747
www.eeworm.com/read/105589/15664778
cnx usr_43.cnx
*usr_43.txt* Vim version 6.3. 最近更新:2004年6月
VIM USER MANUAL - by Bram Moolenaar
(译者:lang2 http://vimcdoc.sf.net)
使用文件类型
当你在编辑某一类型文件时,例如一个 C 程序或者一个 shell script,你通常重复使用
同样的
www.eeworm.com/read/275831/10794513
rb 09 - allowing input editing with readline.rb
#!/usr/bin/ruby -w
# readline.rb
require 'readline'
vegetable = Readline.readline("What's your favorite vegetable?> ")
puts "#{vegetable.capitalize}? Are you crazy?"
#---
$ ruby readline.rb
What's you
www.eeworm.com/read/399569/7847479
css dark.css
/*
Dark style from softwaremaniacs.org (c) Ivan Sagalaev
*/
pre code[class]:after {
content: 'highlight: ' attr(class);
display: block; text-align: right;
font-s
www.eeworm.com/read/243314/12949396
readme
Unicode Library for Ruby
Version 0.1
Yoshida Masato
- Introduction
Unicode string manipulation library for Ruby.
This library is based on UTR #15 Unicode Normalization Forms(*
www.eeworm.com/read/129756/5970515
rb crc32.rb
if defined?(NO_CRC32_IN_C) || defined?(NO_C)
require 'digest/crc32_in_ruby'
module Digest
class CRC32 < CRC32InRuby
end
end
else
begin
require 'digest/crc32_in_c'
modu
www.eeworm.com/read/169330/9865362
ico quantum%20foam%20ruby.ico
www.eeworm.com/read/278468/10534376
pdf pragmatic bookshelf, programming ruby 2nd.pdf
www.eeworm.com/read/275831/10793826
rb 01 - using a c library from ruby.rb
#include "stdio.h"
#include "ruby.h"
static VALUE rb_mStdio;
static VALUE rb_cStdioFile;
struct file
{
FILE *fhandle;
};
static VALUE
file_allocate(VALUE klass)
{
struct file *f = malloc(sizeo
www.eeworm.com/read/275831/10794496
rb 13 - creating a gui application with ruby-gtk.rb
#!/usr/bin/ruby -w
# gtktrout.rb
require 'gtk2'
Gtk.init
window = Gtk::Window.new 'Tiny Ruby/GTK Application'
label = Gtk::Label.new 'You are a trout!'
window.add label
window.signal_connect('destro
www.eeworm.com/read/433994/7898563