debayer has quit [Quit: if you can't play with it, why bother?]
sagax has joined #crystal-lang
ur5us has quit [Ping timeout: 244 seconds]
onyx has joined #crystal-lang
Sankalp has quit [Ping timeout: 252 seconds]
Sankalp has joined #crystal-lang
ur5us has joined #crystal-lang
ur5us has quit [Remote host closed the connection]
ur5us has joined #crystal-lang
notzmv has quit [Ping timeout: 244 seconds]
ur5us has quit [Ping timeout: 250 seconds]
Sankalp has quit [Ping timeout: 252 seconds]
Sankalp has joined #crystal-lang
Sankalp has quit [Ping timeout: 244 seconds]
Sankalp has joined #crystal-lang
notzmv has joined #crystal-lang
walez has joined #crystal-lang
walez has quit [Quit: Leaving]
Starfoxxes has quit [Ping timeout: 260 seconds]
Starfoxxes has joined #crystal-lang
walez__ has joined #crystal-lang
Starfoxxes has quit [Ping timeout: 265 seconds]
Starfoxxes has joined #crystal-lang
<FromGitter>
<domgetter> How am I supposed to check if a hash has had a key associated with a value yet? I tried `if my_hash[some_key]?` but it raises that it's missing the hash key, which is of course the exact thing I'm trying to check.
<FromGitter>
<RespiteSage> `Hash#[]?` should work... Can you give some example code?
<FromGitter>
<domgetter> Sorry, I got flustered and thought I got the same error, but after changing [] to []?, it is now reporting the error on a further line down and I failed to read that.
<FromGitter>
<RespiteSage> Oh, gotcha. No worries. :)