Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [/var/lib/gems/1.8/gems/twitter-0.3.7/lib/twitter]
- 11:20 [farzy:pts/2] pragmatic% irb
- >> $:.unshift "."
- => [".", "/usr/local/lib/site_ruby/1.8", "/usr/local/lib/site_ruby/1.8/i486-linux", "/usr/local/lib/site_ruby/1.8/i386-linux", "/usr/local/lib/site_ruby", "/usr/lib/ruby/vendor_ruby/1.8", "/usr/lib/ruby/vendor_ruby/1.8/i486-linux", "/usr/lib/ruby/vendor_ruby", "/usr/lib/ruby/1.8", "/usr/lib/ruby/1.8/i486-linux", "/usr/lib/ruby/1.8/i386-linux", "."]
- >> require 'easy_class_maker'
- => true
- >> class Glop
- >> include Twitter::EasyClassMaker
- >> attr_accessor :a, :b
- >> end
- => [:a, :b]
- >> Glop.new do |g|
- > g.a = 'foo'
- > g.b = 'bar'
- > end
Add Comment
Please, Sign In to add comment