This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.menu1{ | |
li { | |
text-align: left; | |
border-bottom: 1px solid #555; | |
} | |
li a { | |
display: block; | |
color: #000; | |
padding: 8px 16px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Pretend the addLog's are puts with the message for the sake of sanity | |
instant_crash_percentage = 5 | |
remaining = 100 - instant_crash_percentage | |
odds = SecureRandom.random_number(1..100) | |
puts odds | |
case odds | |
when 1..instant_crash_percentage |
NewerOlder