Advertisement
Guest User

Untitled

a guest
Apr 25th, 2014
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. class LinksController < ApplicationController
  2.  
  3. # A declared constant outside of any functions which is shuffled and joined
  4. SYMBOLS =
  5. (('a'..'z').to_a + ('A'..'Z').to_a + (0..9).to_a).shuffle.join
  6.  
  7. end
  8.  
  9. puts "A"
  10. class Test
  11. puts "B"
  12. SYMBOLS = 3
  13. puts "C"
  14. end
  15. puts "D"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement