irb是在object下运行的,在里面定义的任何方面都会成为object的方法

puts Object.public_instance_methods.sort

g.respond_to?("name")

attr_accessor

gem search vim-ruby --remote
gem install vim-ruby
gem list
gem contents vim-ruby

vim-ruby-install.rb

gem install -v=2.3.5 rails
sudo ln -s /var/lib/gems/1.8/bin/rails /usr/bin/rails

09-04 18:00