<havenwood>
saba_sedigh: With C, C++, D, et al., you can use different compilers. With Ruby, Python, Closure, et al., you can use different virtual machines.
<havenwood>
Same language running on a different platform.
niv has joined #ruby
ur5us has joined #ruby
Garb0 has quit [Quit: Garb0]
<rg>
D? is that still a thing?
mrkz_c has quit [Quit: Connection closed for inactivity]
ur5us has quit [Ping timeout: 272 seconds]
Tempesta has quit [Ping timeout: 245 seconds]
cdolan has quit [Ping timeout: 252 seconds]
Tempesta has joined #ruby
lad_ has quit [Ping timeout: 244 seconds]
pwnd_sfw4 has joined #ruby
pwnd_sfw has quit [Ping timeout: 252 seconds]
pwnd_sfw4 is now known as pwnd_sfw
lad_ has joined #ruby
kssm has quit [Quit: Lost terminal]
mrkz_c has joined #ruby
reset has quit [Quit: reset]
willthechill has quit [Ping timeout: 250 seconds]
pwnd_sfw has quit [Ping timeout: 258 seconds]
pwnd_sfw has joined #ruby
Rounin has joined #ruby
dvgorod has joined #ruby
lad_ has quit [Ping timeout: 265 seconds]
postmodern has quit [Quit: Leaving]
ur5us has joined #ruby
dvgorod has quit [Ping timeout: 258 seconds]
gr33n7007h has joined #ruby
rodd has quit [*.net *.split]
FastJack has quit [*.net *.split]
leftylink has quit [*.net *.split]
markmarkmark has quit [*.net *.split]
miah has quit [*.net *.split]
cout has quit [*.net *.split]
ged has quit [*.net *.split]
cout has joined #ruby
leftylink has joined #ruby
miah has joined #ruby
FastJack has joined #ruby
rodd has joined #ruby
ged has joined #ruby
markmarkmark has joined #ruby
gr33n7007h has quit [Read error: Connection reset by peer]
gr33n7007h has joined #ruby
nakilon has quit [*.net *.split]
tweaks has quit [*.net *.split]
nakilon has joined #ruby
tweaks has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
gr33n7007h has quit [Read error: Connection reset by peer]
gr33n7007h has joined #ruby
mrkz_c has quit [Quit: Connection closed for inactivity]
gr33n7007h has quit [Read error: Connection reset by peer]
gr33n7007h has joined #ruby
<nakilon>
how do I create a struct instance passing args to initializer but avoiding them being also applied to defined struct attributes?
<nakilon>
for example I have the first struct attribute to become an instance variable, not an externally readable struct field
gr33n7007h has quit [Read error: Connection reset by peer]
<nakilon>
I guess I just should not use the Struct#new(my_secret_attr_value) for initial creation then
ur5us has quit [Ping timeout: 252 seconds]
gr33n7007h has joined #ruby
<nakilon>
but hmmm... I need to use it in initialize
<nakilon>
>> Struct.new(:a) do ; def initialize ; instance_variable_set :@b, @@c end end.tap{ |_| _.class_variable_set :@@c, 1 }.new.instance_variable_get :@b
<nakilon>
is there any light analogue of nokogiri? some small pure ruby library that doesn't aim to parse everything in the world but to do a simple tasks