<
FromGitter>
<watzon> Seems as though Crystal is missing `pack` and `unpack` methods?
<
FromGitter>
<aemadrid> it looks like you are right @watzon
<
FromGitter>
<watzon> Really I just need to be able to convert an `Int` to a `ByteArray`. So really, `1024` should be converted to `[4, '0']`
<
FromGitter>
<watzon> I think :/
snsei has quit [Read error: Connection reset by peer]
snsei has joined #crystal-lang
snsei has quit [Remote host closed the connection]
snsei has joined #crystal-lang
<
FromGitter>
<watzon> I know I can use `.as(Child)`, but that's obviously not ideal
snsei_ has joined #crystal-lang
snsei has quit [Ping timeout: 255 seconds]
<
FromGitter>
<renich> o/
<
FromGitter>
<renich> when I run crystal spec
<
FromGitter>
<renich> it says there are two pending tests... why is this?
<
FromGitter>
<fridgerator> has 2 pending tests
<
FromGitter>
<watzon> @renich have you changed the tests in the spec from `pending` to `it` like the instructions say?
<
FromGitter>
<renich> errr... no
<
FromGitter>
<renich> @watzon good point... hehe
<
FromGitter>
<renich> Yep, did that. they all pass. Thanks a lot.
<
FromGitter>
<watzon> No problem haha
<
FromGitter>
<watzon> Won't help anyone unless you have a razer keyboard, mouse, or trackpad, but it's pretty cool
<
FromGitter>
<fridgerator> 👍
snsei_ has quit [Remote host closed the connection]
<
FromGitter>
<renich> cool
snsei has joined #crystal-lang
maxpowa has quit [Ping timeout: 258 seconds]
snsei_ has joined #crystal-lang
snsei has quit [Ping timeout: 260 seconds]
Philpax has joined #crystal-lang
_whitelogger has joined #crystal-lang
pwned has joined #crystal-lang
maxpowa has joined #crystal-lang
<
oprypin>
watzon, regarding calling specific classes method, i think wrapping it in .responds_to? would work
<
oprypin>
i mean wrapping it in an 'if' checking that
donny-artzma has joined #crystal-lang
donny-artzma has quit [Client Quit]
pwned has quit [Ping timeout: 248 seconds]
Raimondii has joined #crystal-lang
Raimondi has quit [Ping timeout: 268 seconds]
Raimondii is now known as Raimondi
pwned has joined #crystal-lang
rohitpaulk has joined #crystal-lang
olbat[m] has joined #crystal-lang
Groogy has joined #crystal-lang
snsei_ has quit [Remote host closed the connection]
snsei has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 255 seconds]
rohitpaulk has joined #crystal-lang
bjz has joined #crystal-lang
fenicks has joined #crystal-lang
nikkkk has joined #crystal-lang
cyberarm has quit [Ping timeout: 240 seconds]
cyberarm has joined #crystal-lang
Philpax has quit [Ping timeout: 240 seconds]
pwned has quit [Ping timeout: 276 seconds]
pwned has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 240 seconds]
rohitpaulk has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 248 seconds]
fenicks has quit [Ping timeout: 240 seconds]
fenicks has joined #crystal-lang
<
Majost>
The code in the readme doesn't seem to work with 0.23.1, and the example seems to be just the spec which is weird
<
FromGitter>
<konovod> @Majost `crystal spec` works in 0.23.0. What's an error in 0.23.1?
<
Majost>
I am just starting out and was trying to compile that
pwned has quit [Ping timeout: 255 seconds]
snsei has quit [Remote host closed the connection]
rohitpaulk has joined #crystal-lang