ChanServ changed the topic of #crystal-lang to: The Crystal programming language | https://crystal-lang.org | Fund Crystal's development: https://crystal-lang.org/sponsors | GH: https://github.com/crystal-lang/crystal | Docs: https://crystal-lang.org/docs | Gitter: https://gitter.im/crystal-lang/crystal
postmodern has joined #crystal-lang
ur5us_ has quit [Ping timeout: 240 seconds]
<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]
debayer has joined #crystal-lang
debayer has quit [Quit: The Lounge - https://thelounge.chat]
debayer has joined #crystal-lang
debayer has quit [Client Quit]
greenbigfrog has quit [Ping timeout: 240 seconds]
greenbigfrog has joined #crystal-lang
debayer has joined #crystal-lang
taskylizard has joined #crystal-lang
debayer has quit [Ping timeout: 240 seconds]
ur5us_ has joined #crystal-lang
debayer has joined #crystal-lang
debayer has quit [Ping timeout: 245 seconds]
ur5us_ has quit [Ping timeout: 268 seconds]
debayer has joined #crystal-lang
taskylizard has quit [Ping timeout: 240 seconds]
ur5us_ has joined #crystal-lang
debayer has quit [Ping timeout: 240 seconds]
ur5us_ has quit [Ping timeout: 256 seconds]
notzmv has quit [Ping timeout: 268 seconds]
debayer has joined #crystal-lang
debayer has quit [Ping timeout: 268 seconds]
notzmv has joined #crystal-lang