Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class LinksController < ApplicationController
- # A declared constant outside of any functions which is shuffled and joined
- SYMBOLS =
- (('a'..'z').to_a + ('A'..'Z').to_a + (0..9).to_a).shuffle.join
- end
- puts "A"
- class Test
- puts "B"
- SYMBOLS = 3
- puts "C"
- end
- puts "D"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement