Bool | Nil, but I guess it would be true only in the first branch and false | nil in the second
JSON::Serializableand create a general class, which consumes any json string and returns Hash representation.
crystal spec --help. Because it's a runtime option, you currently only get the help by building and runnning the spec (
crystal spec -- --help)
superwont work because its not the same method
::parent_methodwould do it?
super.parent_methoddoesnt work either
Unhandled exception in spawn: Closed stream (IO::Error) from /home/jonathan/.asdf/installs/crystal/1.0.0/share/crystal/src/io.cr:118:5 in 'check_open' from /home/jonathan/.asdf/installs/crystal/1.0.0/share/crystal/src/io/buffered.cr:100:5 in 'peek' from /home/jonathan/.asdf/installs/crystal/1.0.0/share/crystal/src/io.cr:622:37 in 'gets' from /home/jonathan/.asdf/installs/crystal/1.0.0/share/crystal/src/io.cr:595:5 in 'gets' from /home/jonathan/.asdf/installs/crystal/1.0.0/share/crystal/src/io.cr:565:5 in 'gets' from /home/jonathan/.asdf/installs/crystal/1.0.0/share/crystal/src/io.cr:564:3 in 'gets' from src/lib/irc.cr:160:5 in 'get_response' from src/lib/irc.cr:33:9 in 'initialize' from src/lib/irc.cr:22:3 in 'new' from config/application.cr:83:3 in '->' from /home/jonathan/.asdf/installs/crystal/1.0.0/share/crystal/src/primitives.cr:255:3 in 'run' from /home/jonathan/.asdf/installs/crystal/1.0.0/share/crystal/src/fiber.cr:92:34 in '->' from ???