Guest User

Untitled

a guest
Oct 19th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. PS D:\dev\shoes4\lib\shoes> pry
  2. You should: `gem install win32console` for better auto-indent and color support.
  3. [1] pry(main)> require 'color.rb'
  4. => true
  5. [3] pry(main)> red=Shoes::COLORS[:red]
  6. => #<Shoes::Color:0x0000000 @alpha=255, @blue=0, @green=0, @red=255>
  7. [4] pry(main)> blue=Shoes::COLORS[:blue]
  8. => #<Shoes::Color:0x0000000 @alpha=255, @blue=255, @green=0, @red=0>
  9. [5] pry(main)> red==red
  10. => true
  11. [6] pry(main)> red==blue
  12. => true
  13. [7] pry(main)> red<=>red
  14. => 0
  15. [8] pry(main)> red<=>blue
  16. => 0
  17. [9] pry(main)>
Add Comment
Please, Sign In to add comment