<FromGitter>
<3n-k1> This code works without the module part, but with the module part I get "Error: undefined method 'index_view' for Cwiki:Module". What am I doing wrong? ⏎ ⏎ ```code paste, see link``` [https://gitter.im/crystal-lang/crystal?at=5e8148f4ceb7644818445adc]
<FromGitter>
<Blacksmoke16> It's probably a class method
sz0 has quit [Quit: Connection closed for inactivity]
ur5us has quit [Ping timeout: 252 seconds]
return0e_ has quit [Remote host closed the connection]
return0e_ has joined #crystal-lang
return0e_ has quit [Ping timeout: 246 seconds]
return0e has joined #crystal-lang
return0e has quit [Remote host closed the connection]
return0e has joined #crystal-lang
return0e has quit [Read error: Connection reset by peer]
lanodan has joined #crystal-lang
tankf33der has left #crystal-lang [#crystal-lang]
_ht has joined #crystal-lang
_ht has quit [Remote host closed the connection]
_ht has joined #crystal-lang
lanodan has quit [Quit: WeeChat 2.7.1]
lanodan has joined #crystal-lang
HumanG33k has joined #crystal-lang
HumanG33k has quit [Remote host closed the connection]
HumanG33k has joined #crystal-lang
xyhuvud has quit [Read error: Connection reset by peer]
yxhuvud has joined #crystal-lang
_ht has quit [Remote host closed the connection]
_ht has joined #crystal-lang
return0e has joined #crystal-lang
HumanG33k has quit [Ping timeout: 252 seconds]
HumanG33k has joined #crystal-lang
<FromGitter>
<straight-shoota> @3n-k1 `index_view` is a class method, you can't call it on the module. Define it as `def self.index_view` to be able to call `Ciwiki.index_view`.
ur5us has joined #crystal-lang
deavmi has quit [Read error: Connection reset by peer]
deavmi has joined #crystal-lang
deavmi has quit [Read error: Connection reset by peer]
<FromGitter>
<jordifreek> Can i pass the `clients` array to the `handle_client` method? what if the clients has a large amount of data, should it explode with the 8mb of a fiber? Also, is `clients` passed by reference?
<yxhuvud>
jordifreek: the best way is usually to use a Channel.
<FromGitter>
<jordifreek> thanks @yxhuvud, all the info is inside concurrency section of hte Reference Guide?
<yxhuvud>
I don't know. You may have to check the api docs as well
<FromGitter>
<jordifreek> thanks
HumanG33k has quit [Remote host closed the connection]
HumanG33k has joined #crystal-lang
_whitelogger has joined #crystal-lang
asterite has joined #crystal-lang
gangstacat has joined #crystal-lang
deavmi has quit [Remote host closed the connection]
deavmi has joined #crystal-lang
deavmi has quit [Read error: Connection reset by peer]
deavmi has joined #crystal-lang
oz has quit [Quit: EOF]
Welog has quit [Ping timeout: 256 seconds]
Welog has joined #crystal-lang
oz has joined #crystal-lang
juanfra_ has quit [Ping timeout: 240 seconds]
beepdog has quit [Ping timeout: 240 seconds]
return0e has quit [Remote host closed the connection]