ruby

rubyのIDE

使ってみたい。 http://www.jetbrains.com/ruby/whatsnew/

JavaプログラマのためのRuby入門作者: arton,高井直人出版社/メーカー: アスキー・メディアワークス発売日: 2009/01/29メディア: 大型本購入: 1人 クリック: 79回この商品を含むブログ (18件) を見るJavaからRubyへというような流れがどこまで行くか は分か…

ファイル読み込み begin f = open("hoge") f.each {|o| p o } ensure f.close end ファイル書込み begin f = open("hoge","w") f.puts "hogehoge" ensure f.close end メール送信 require 'net/smtp' require 'net/pop' smtp = Net::SMTP.new "mail.server.a…

REXML Tutorial - Home require "rexml/document" require "kconv" file = File.new("test.xml") doc = REXML::Document.new file doc.elements.each("tests") { |site| p site.elements.each("test") { |e| puts e.attributes["id"]; puts Kconv.tosjis(e.e…

インスタンス変数 @'で始まる変数はインスタンス変数、特定のオブジェクトに所属。 インスタンス変数はそのクラスまたはサブクラスのメソッドから参照できる。 初期化されていないインスタンス変数を参照した時の値はnil。 class Foo def initialize @a = 1 …

クラスを作る

class Hello def initialize(myname="ruby") @name = myname end def hello print "hello,world. I am ", @name, ".\n" end bob = Hello.new("bob") alice = Hello.new("alice") ruby = Hello.new bob.hello alice.hello bob.hello ruby.hello end 結果 hell…

http://www.ruby-lang.org/ja/ rubyの入手Ruby on Rails API

http://www.ruby-lang.org/en/documentation/http://www.diana.dti.ne.jp/~katta/programs/ruby/index.htmlhttp://blog.creamu.com/mt/2007/10/ruby_on_rails2020_tools_for_ro.htmlhttp://homepage2.nifty.com/sakazuki/rde/index.html

Eclipseのプラグイン

RDT(Ruby Development Tool)のアップデートサイト http://updatesite.rubypeople.org/release

rubyのお勉強

rubyの勉強を今後開始したいと思ってるのですが、なんかいいIDE ないかな

Rubyのインストールダウンロードサイト http://rubyforge.org/frs/?group_id=167&release_id=10461ruby186-25.exeファイルをダウンロードpostgresのインストールダウンロードサイト http://www.postgresql.org/ftp/binary/v8.2.4/win32/データベースアダプタ…