新手问题 大家用过 cloud 9 写 ruby 吗,我有一个小问题

zhuxingruo · January 19, 2013 · Last by yesmeck replied at January 19, 2013 · 1824 hits

建立 a.rb require 'b.rb'

b.rb puts 'Hello Ruby!'

大家在 cloud 9 上可以跑吗?

a.rb 改成

require_relative 'b'
You need to Sign in before reply, if you don't have an account, please Sign up first.