havenwood changed the topic of #ruby to: Ruby 3.3.6 (3.4.0-preview2) https://www.ruby-lang.org | Log https://libera.irclog.whitequark.org/ruby
cappy has quit [Quit: Leaving]
dannyAAM has quit [Ping timeout: 264 seconds]
dannyAAM has joined #ruby
dannyAAM has quit [Remote host closed the connection]
dannyAAM has joined #ruby
Thanzex02 has quit [Quit: The Lounge - https://thelounge.chat]
Thanzex02 has joined #ruby
<v0n> Hi there -- I'm trying to generate a .yaml file from Ruby, but I'm not able to generate `key: ~`.
<v0n> { 'key' => nil }.to_yaml returns "key:\n" amd { 'key' => '~' }.to_yaml returns "key:\"~\"\n".
<v0n> How can I do that?
<havenwood> v0n: You *can* do stuff like:
<havenwood> class NilClass def encode_with(coder) = coder.represent_scalar(nil, '~') end
Tempesta has joined #ruby
powersurge3604 has quit [Read error: Connection reset by peer]
szkl has quit [Quit: Connection closed for inactivity]
powersurge3604 has joined #ruby
powersurge3604 has quit [Ping timeout: 255 seconds]
victori has joined #ruby
victori has quit [Ping timeout: 260 seconds]
victori has joined #ruby
powersurge3604 has joined #ruby
victori has quit [Ping timeout: 260 seconds]
victori has joined #ruby
powersurge36049 has joined #ruby
powersurge3604 has quit [Ping timeout: 252 seconds]
powersurge36049 has quit [Client Quit]
powersurge3604 has joined #ruby
Furai has quit [Quit: WeeChat 4.4.3]
Linux_Kerio has joined #ruby
Furai has joined #ruby
rvalue- has joined #ruby
rvalue has quit [Ping timeout: 255 seconds]
rvalue- is now known as rvalue
reset has joined #ruby
grenierm has joined #ruby
hwpplayer1 has joined #ruby
hwpplayer1 has quit [Remote host closed the connection]
grenierm has quit [Quit: Client closed]
Linux_Kerio has quit [Ping timeout: 248 seconds]
hwpplayer1 has joined #ruby
grenierm has joined #ruby
gr33n7007h has quit [Read error: Connection reset by peer]
gr33n7007h has joined #ruby
hwpplayer1 has quit [Quit: I'll be back later]
dalan03822833508 has joined #ruby
gvg has quit [Ping timeout: 260 seconds]
dalan03822833508 has quit [Quit: dalan03822833508]
brokkoli_origin has quit [Remote host closed the connection]
brokkoli_origin has joined #ruby
szkl has joined #ruby
Rounin has quit [Ping timeout: 260 seconds]
grenierm has quit [Ping timeout: 256 seconds]
Rounin has joined #ruby
Rounin has quit [Changing host]
Rounin has joined #ruby
hwpplayer1 has joined #ruby
Linux_Kerio has joined #ruby
reset has quit [Quit: reset]
Thanzex02 has quit [Ping timeout: 252 seconds]
graywolf has joined #ruby
Guest79 has joined #ruby
Guest79 has quit [Client Quit]
graywolf has quit [Quit: WeeChat 4.4.3]
hwpplayer1 has quit [Quit: I'll be back later]
whiteman809 has joined #ruby
cappy has joined #ruby
CRISPR has joined #ruby
livoreno has joined #ruby
user71 has joined #ruby
deadmarshal_ has quit [Quit: IRCNow and Forever!]
CRISPR has quit [Ping timeout: 252 seconds]
cappy has quit [Quit: Leaving]
<whiteman809> is book "the ruby programming language" a good point to getting started into ruby?
<whiteman809> this book describes ruby 1.9
<whiteman809> has ruby been changed significantly since 1.9?
<kjetilho> I would say yes.
eddof13 has joined #ruby
<kjetilho> but if it is the book you have available at this time, it's not a bad start.
cappy has joined #ruby
eddof13 has quit [Quit: eddof13]
deadmarshal_ has joined #ruby
cappy has quit [Quit: Leaving]
livoreno has quit [Quit: Connection closed for inactivity]
<johnjaye> how do i do reflection in ruby
<johnjaye> for example if i wanted to find out puts was defined in kernel
<johnjaye> how would i find that out programmatically?
<havenwood> johnjaye: method(:puts).owner
<johnjaye> amazing. thanks
joako has quit [Quit: quit]
joako has joined #ruby
victori has quit [Ping timeout: 260 seconds]
victori has joined #ruby
donofrio has joined #ruby
CRISPR has joined #ruby
victori has quit [Ping timeout: 255 seconds]
vigumnov has joined #ruby
victori has joined #ruby
vigumnov has quit [Ping timeout: 245 seconds]
victori has quit [Ping timeout: 252 seconds]
victori has joined #ruby
victori has quit [Ping timeout: 245 seconds]
victori has joined #ruby
vigumnov has joined #ruby
victori has quit [Ping timeout: 260 seconds]
niv has quit [Quit: ZNC - https://znc.in]
niv has joined #ruby
vigumnov has quit [Ping timeout: 260 seconds]
victori has joined #ruby
vigumnov has joined #ruby
victori has quit [Ping timeout: 248 seconds]
vigumnov has quit [Remote host closed the connection]
smp has quit [Read error: Connection reset by peer]
munduz has joined #ruby
munduz has left #ruby [#ruby]
smp has joined #ruby
victori has joined #ruby
CRISPR has quit [Ping timeout: 276 seconds]
Obsdark has joined #ruby
Obsdark has quit [Changing host]
Obsdark has joined #ruby
dstein64- has joined #ruby
dstein64 has quit [Ping timeout: 246 seconds]
dstein64- is now known as dstein64
szkl has quit [Quit: Connection closed for inactivity]
smp_ has joined #ruby
smp has quit [Ping timeout: 252 seconds]
smp_ is now known as smp
smp has quit [Ping timeout: 264 seconds]
smp has joined #ruby
smp has quit [Read error: Connection reset by peer]
smp has joined #ruby
Linux_Kerio has quit [Ping timeout: 244 seconds]
hwpplayer1 has joined #ruby
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
user71 has quit [Quit: Leaving]
CRISPR has joined #ruby
donofrio has quit [Read error: Connection reset by peer]
donofrio has joined #ruby
Thanzex02 has joined #ruby
CRISPR has quit [Ping timeout: 252 seconds]
CRISPR has joined #ruby
Vonter has quit [Ping timeout: 245 seconds]
Vonter has joined #ruby
Obsdark has quit [Quit: Nettalk6 - www.ntalk.de]
CRISPR has quit [Ping timeout: 252 seconds]
CRISPR has joined #ruby
szkl has joined #ruby
CRISPR has quit [Ping timeout: 248 seconds]
donofrio has quit [Ping timeout: 252 seconds]
hwpplayer1 has quit [Quit: I'll be back later tomorrow or before tomorrow :D]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
quorra has joined #ruby
mms has quit [Ping timeout: 246 seconds]
brokkoli_origin has quit [Ping timeout: 248 seconds]
brokkoli_origin has joined #ruby