<postmodern>
is there an equivalent of Kernel in Crystal? or do I just include a module into the top-level to add top-level methods?
jhass[m] has joined #crystal-lang
repo[m] has joined #crystal-lang
fifr[m] has joined #crystal-lang
olbat[m] has joined #crystal-lang
petoem has joined #crystal-lang
<postmodern>
hmm there's no `self` at the top-level so I can't capture the top-level scope into a constant?
<raz>
i'm kinda afraid to ask, but why would you want to do that? :p
HumanG33k has quit [Ping timeout: 260 seconds]
HumanG33k has joined #crystal-lang
<postmodern>
raz, porting a ruby library that includes a Mixin method into Kernel. I also have a test that checks that Kernel includes that Mixin module, just to make sure no one in the future breaks that code.
<postmodern>
raz, apparently in Crystal you can't just do expect(Kernel).to ...
debayer has joined #crystal-lang
debayer has quit [Ping timeout: 256 seconds]
notzmv has quit [Ping timeout: 240 seconds]
yxhuvud has quit [Ping timeout: 268 seconds]
debayer has joined #crystal-lang
debayer has quit [Ping timeout: 256 seconds]
yxhuvud has joined #crystal-lang
debayer has joined #crystal-lang
notzmv has joined #crystal-lang
postmodern has quit [Remote host closed the connection]
sagax has quit [Quit: Konversation terminated!]
sagax has joined #crystal-lang
greenbigfrog has quit [Ping timeout: 240 seconds]
greenbigfrog has joined #crystal-lang
debayer has quit [Remote host closed the connection]