@stetim94/

PositiveInferiorGuanaco

Ruby

No description

fork
loading
Files
  • main.rb

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.28725546763336185","path":"main.rb","file":{"path":"main.rb","content":{"asEncoding":{"base64":"CmNyZWF0dXJlcyA9IEhhc2gubmV3KCJObyBzdWNoIGNyZWF0dXJlISIpCmNyZWF0dXJlcyA9IHsgIndlYXNlbHMiID0+IDAsCiAgInB1cHBpZXMiID0+IDYsCiAgInBsYXR5cHVzZXMiID0+IDMsCiAgImNhbmFyaWVzIiA9PiAxLAogICJIZWZmYWx1bXBzIiA9PiA3LAogICJUaWdnZXJzIiA9PiAxCn0KCnB1dHMgY3JlYXR1cmVzWyJwdXBwaWVzIl0KcHV0cyBjcmVhdHVyZXNbIlpvaWRiZXJnIl0="},"asBuffer":null},"loaded":true}}
1
2
3
4
5
6
7
8
9
10
11
12
creatures = Hash.new("No such creature!")
creatures = { "weasels" => 0,
  "puppies" => 6,
  "platypuses" => 3,
  "canaries" => 1,
  "Heffalumps" => 7,
  "Tiggers" => 1
}

puts creatures["puppies"]
puts creatures["Zoidberg"]
ruby 2.5.5p157 (2019-03-15 revision 67260) [x86_64-linux]