prompt.txt 620 B

1234567891011121314151617181920212223
  1. 2.0.0p0 :001 > ['some']
  2. => ["some"]
  3. 2.0.0p0 :002 > if true
  4. 2.0.0p0 :003?> "yop"
  5. 2.0.0p0 :004?> end
  6. => "yop"
  7. jruby-1.7.16 :001 > "RVM-Format"
  8. >> obj = OpenStruct.new :integer => 987, :symbol => :so_great
  9. => #<OpenStruct integer=987, symbol=:so_great>
  10. >> [obj,obj,obj]
  11. => [#<OpenStruct integer=987, symbol=:so_great>, #<OpenStruct integer=987, symbol=:so_great>, #<OpenStruct integer=987, symbol=:so_great>]
  12. >> {1 => obj, 2 => obj}
  13. => {1=>#<OpenStruct integer=987, symbol=:so_great>, 2=>#<OpenStruct integer=987, symbol=:so_great>}
  14. >> if 10 > 20
  15. >> "YEAH"
  16. >> else
  17. ?> "NO"
  18. >> end
  19. => "NO"
  20. irb(main):002:0> test = 1