havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.4.1, 2.3.4 & 2.2.7: https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby || Books: https://goo.gl/wpGhoQ
cagomez has quit [Ping timeout: 240 seconds]
cisco has quit [Quit: Leaving.]
bonhoeffer has joined #ruby
<StoneCypher> volty: ... what?
nobitanobi has joined #ruby
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<StoneCypher> volty: can you give me an example of the thing that you just said
charliesome has joined #ruby
nobitanobi has quit [Ping timeout: 240 seconds]
<volty> no, I did it in old style, then, after having resolved the problems, to keep up with being "sexy" ,rewrote it in recursive manner , and threw away the "old good donky way code"
gusrub has quit []
<volty> Or, in other words: I do not keep archives for that purpose
<cseder> Just found a free Udacity course on Sinatra. Learning time! :)
<volty> Verity: balance between coding and learning. Keep as much more coding than learning as you can.
<volty> Going to grasp scale constructors inheritance. Bye
volty has quit [Quit: Konversation terminated!]
* StoneCypher has no idea what that guy meant
snockerton has quit [Quit: Leaving.]
bkxd has joined #ruby
rakm has joined #ruby
minimalism has quit [Quit: minimalism]
rakm has quit [Client Quit]
swills has quit [Quit: Leaving]
bkxd has quit [Ping timeout: 240 seconds]
Lord_of_Life has quit [Excess Flood]
br0d1n has joined #ruby
Lord_of_Life has joined #ruby
nitric has quit [Ping timeout: 252 seconds]
Rodya_ has quit [Remote host closed the connection]
CloCkWeRX has quit [Quit: Leaving.]
username1 has quit [Ping timeout: 260 seconds]
Rodya_ has joined #ruby
marr has quit [Ping timeout: 255 seconds]
solocshaw has quit [Ping timeout: 252 seconds]
rexb0t has joined #ruby
rakm has joined #ruby
chouhoulis has joined #ruby
rexb0t has quit [Client Quit]
nankyokusei has joined #ruby
blackwind_123 has quit [Ping timeout: 260 seconds]
blackwind_123 has joined #ruby
__Yiota has joined #ruby
nankyokusei has quit [Ping timeout: 255 seconds]
rakm has quit [Remote host closed the connection]
rakm has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
brent__ has quit [Remote host closed the connection]
nuck has joined #ruby
brent__ has joined #ruby
AndBobsYourUncle has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Channel6 has joined #ruby
PorcoRex has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
<PorcoRex> Good evening.
jgt3 has joined #ruby
brent__ has quit [Ping timeout: 240 seconds]
duderono_ has joined #ruby
jgt2 has quit [Ping timeout: 240 seconds]
duderonomy has quit [Ping timeout: 245 seconds]
BabyMario has joined #ruby
jenrzzz has joined #ruby
jgt3 has quit [Ping timeout: 252 seconds]
jdm has quit [Remote host closed the connection]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
solocshaw has joined #ruby
solocshaw has quit [Remote host closed the connection]
lxsameer has quit [Quit: WeeChat 1.7]
jenrzzz has quit [Ping timeout: 240 seconds]
cam27 has joined #ruby
xenops has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
amclain has quit [Quit: Leaving]
__Yiota has joined #ruby
<impermanence> I notice in the StdLib docs that fileutils is required as: require 'fileutils', but then its functions are called like FileUtils.some_method. Why is that?
<havenwood> PorcoRex: g'eve'
<PorcoRex> havenwood, night!
<havenwood> impermanence: Because the file is fileutils.rb not file_utils.rb since it was created before the uniform naming standards.
<impermanence> k
erlend has quit [Read error: Connection reset by peer]
erlend has joined #ruby
djbkd_ has quit [Quit: My people need me...]
roshanavand has quit [Ping timeout: 240 seconds]
bdonnahue has joined #ruby
<bdonnahue> hello... im trying to figure out how to add a source to gem using a script... how can i do this without needing to type yes
<PorcoRex> bdonnahue, what does "source to gem" means?
mooser has quit [Read error: Connection reset by peer]
<bdonnahue> sorry gem sources -a "https://foobar"
bkxd has joined #ruby
binaryplease has quit [Ping timeout: 240 seconds]
hutch34 has joined #ruby
mooser has joined #ruby
cam27 has quit [Quit: cam27]
Robtop__ has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pwnd_nsfw` has quit [Ping timeout: 252 seconds]
bkxd has quit [Ping timeout: 240 seconds]
hutch34 has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
spicerack has joined #ruby
s2013 has joined #ruby
outreachdan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
marcdel has joined #ruby
<bdonnahue> im getting this error when trying to gem install bundler
<bdonnahue> SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://api.rubygems.org/specs.4.8.gz)
<PorcoRex> bdonnahue, what version of rubygems are you using? I started a local gem server with "gem server" and then added the source with "gem sources -a http://localhost:8808" and it didn't ask for confirmation.
<bdonnahue> can anyone help me out? changing the source to no https did not help
Rodya_ has quit [Remote host closed the connection]
<PorcoRex> I didn't have a problem adding it:
<PorcoRex> # gem sources -a https://api.rubygems.org
<PorcoRex> https://api.rubygems.org added to sources
<bdonnahue> 2.6.11
<PorcoRex> You probably need to update your certificates?
sylario has quit [Quit: Connection closed for inactivity]
<bdonnahue> SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://api.rubygems.org/specs.4.8.gz)
<bdonnahue> ar the certificates a ruby thing or an OS level thing?
Karunamon has joined #ruby
<PorcoRex> OS, as far as I understand.
marcdel has quit [Ping timeout: 260 seconds]
<bdonnahue> hmm ok im asking in #centos bc i have no idea
<bdonnahue> thanks
<PorcoRex> Sure. Try updating your packages first.
cseder has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gizmore has quit [Remote host closed the connection]
StoneCypher has quit [Ping timeout: 240 seconds]
mim1k has joined #ruby
sumobob has quit [Ping timeout: 252 seconds]
brent__ has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
brent__ has quit [Ping timeout: 255 seconds]
<bdonnahue> i added the ca cert but it still fails with the same ssl error
<BabyMario> on windows?
<bdonnahue> centos
<bdonnahue> <PorcoRex> updating which packages?
<BabyMario> I've only had that issue on windows, which that guide is for
jameser has joined #ruby
<PorcoRex> bdonnahue, the CentOS packages. Something like yum update or something. I don't remember exactly how those are updated. Maybe you need to install the certs?
t-recx has quit [Quit: t-recx]
<BabyMario> you could try: yum install ca-certificates
<BabyMario> or yum upgrade ca-certificates
Channel6 has quit [Quit: Leaving]
rexb0t has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
__Yiota has joined #ruby
<impermanence> so there's no ARGV.second ?
<PorcoRex> impermanence, `second` is a Rails extension.
libastral has quit [Ping timeout: 255 seconds]
libastral has joined #ruby
<impermanence> PorcoRex: okay. I was only asking because there is an ARGV.first...so I was just wondering maybe if there was kind of Ruby syntax for ARGV.n but it seems no.
hutch34 has joined #ruby
<impermanence> or at least I think there is an ARGV.first :)
<impermanence> it works in my script
patarr has joined #ruby
<PorcoRex> impermanence, there is a `first` and `last` method for arrays in Ruby. Rails adds `second`, `third`, `fourth`, `fifth` and `forty_two`.
<impermanence> PorcoRex: okay, thanks.
<PorcoRex> You're welcome.
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
BTRE has quit [Remote host closed the connection]
Qommand0r has quit [Quit: WeeChat 1.7]
BTRE has joined #ruby
patarr has quit [Ping timeout: 240 seconds]
SCHAPiE has quit [Read error: Connection reset by peer]
jzigmund has quit [Ping timeout: 256 seconds]
duderono_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SCHAPiE has joined #ruby
Qommand0r has joined #ruby
__Yiota has joined #ruby
sumobob has joined #ruby
jeyraof^mbpr has joined #ruby
sumobob has quit [Ping timeout: 240 seconds]
mooser has quit [Remote host closed the connection]
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jdm has joined #ruby
workmad3 has joined #ruby
pwnd_nsfw` has joined #ruby
Guest61929 has joined #ruby
Rodya_ has joined #ruby
Robtop__ has quit [Ping timeout: 240 seconds]
bonhoeffer has quit [Ping timeout: 255 seconds]
n_ has joined #ruby
rexb0t has quit [Quit: Mutter: www.mutterirc.com]
Guest61929 has quit [Read error: Connection reset by peer]
nankyokusei has joined #ruby
Rodya_ has quit [Ping timeout: 245 seconds]
jdm has quit [Remote host closed the connection]
n_ has quit [Ping timeout: 245 seconds]
nankyokusei has quit [Ping timeout: 255 seconds]
claudevandort has joined #ruby
jdm has joined #ruby
hndk has joined #ruby
jdm has quit [Remote host closed the connection]
AndBobsYourUncle has joined #ruby
br0d1n has quit [Quit: Leaving]
<allisio> lel: https://eval.in/774068
raspado has quit [Remote host closed the connection]
tolerablyjake has joined #ruby
raspado has joined #ruby
GodFather has quit [Ping timeout: 255 seconds]
sumobob has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jdm has joined #ruby
AndBobsYourUncle has quit [Ping timeout: 255 seconds]
raspado has quit [Ping timeout: 255 seconds]
elsevero has joined #ruby
tolerablyjake has quit [Quit: Textual IRC Client: www.textualapp.com]
gix has quit [Ping timeout: 255 seconds]
jdm has quit [Ping timeout: 240 seconds]
duderonomy has joined #ruby
xenops has joined #ruby
jgt3 has joined #ruby
gix has joined #ruby
Guest96 has quit [Remote host closed the connection]
xenops has quit [Ping timeout: 240 seconds]
impermanence has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
__Yiota has joined #ruby
Guest96 has joined #ruby
jgt3 has quit [Ping timeout: 245 seconds]
ryan_notabot has quit [Ping timeout: 245 seconds]
mostlybadfly has joined #ruby
impermanence has joined #ruby
Cohedrin has joined #ruby
jusa has joined #ruby
impermanence has quit [Client Quit]
harfangk has joined #ruby
war_pigs has joined #ruby
bkxd has joined #ruby
impermanence has joined #ruby
jgt3 has joined #ruby
jdm has joined #ruby
impermanence has quit [Client Quit]
war_pigs has quit [Client Quit]
bkxd has quit [Ping timeout: 255 seconds]
jgt3 has quit [Ping timeout: 240 seconds]
PorcoRex has quit [Quit: Leaving]
enterprisey has joined #ruby
anisha has joined #ruby
__Yiota has quit [Read error: Connection reset by peer]
__Yiota has joined #ruby
jgt3 has joined #ruby
Rodya_ has joined #ruby
hfp_work has quit [Ping timeout: 255 seconds]
railswebdev has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hfp_work has joined #ruby
Rodya_ has quit [Ping timeout: 245 seconds]
sumobob has quit [Ping timeout: 245 seconds]
chichou has joined #ruby
war_pigs has joined #ruby
mim1k has joined #ruby
aryaching has joined #ruby
jgt3 has quit [Ping timeout: 260 seconds]
duderonomy has quit [Ping timeout: 240 seconds]
workmad3 has quit [Ping timeout: 240 seconds]
chichou has quit [Ping timeout: 255 seconds]
mim1k has quit [Ping timeout: 240 seconds]
cagomez has joined #ruby
Bock has joined #ruby
Bock has quit [Max SendQ exceeded]
Pumukel has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Bock has joined #ruby
Bock has quit [Max SendQ exceeded]
hndk has quit [Quit: Leaving]
s2013 has joined #ruby
marcdel has joined #ruby
cagomez has quit [Remote host closed the connection]
Bock has joined #ruby
bronson has quit [Remote host closed the connection]
xall has joined #ruby
ryan_notabot has joined #ruby
impermanence has joined #ruby
impermanence has quit [Client Quit]
rakm has joined #ruby
Gadgetoid has quit [Ping timeout: 264 seconds]
jdm has quit [Remote host closed the connection]
Azure has quit [Ping timeout: 240 seconds]
jdm has joined #ruby
hutch34 has quit [Ping timeout: 252 seconds]
Gadgetoid has joined #ruby
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
Cohedrin has quit [Read error: Connection reset by peer]
Cohedrin has joined #ruby
cschneid_ has joined #ruby
gix has quit [Ping timeout: 255 seconds]
nobitanobi has joined #ruby
cschneid_ has quit [Ping timeout: 245 seconds]
bronson has joined #ruby
cagomez has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
gix has joined #ruby
nobitanobi has quit [Ping timeout: 252 seconds]
StoneCypher has joined #ruby
cagomez has quit [Ping timeout: 245 seconds]
war_pigs has quit [Quit: later... computer is sleeping]
StoneCypher has quit [Ping timeout: 252 seconds]
sumobob has joined #ruby
bronson has quit [Remote host closed the connection]
war_pigs has joined #ruby
duderonomy has joined #ruby
sumobob has quit [Ping timeout: 255 seconds]
xall has quit [Ping timeout: 240 seconds]
_djbkd has joined #ruby
Guest96 has quit [Remote host closed the connection]
dhollinger has quit [Ping timeout: 240 seconds]
cagomez has joined #ruby
chouhoulis has quit [Remote host closed the connection]
Guest96 has joined #ruby
Yzguy has joined #ruby
Cohedrin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
claudevandort has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cagomez has quit [Ping timeout: 240 seconds]
mazeinmaze_ has joined #ruby
Rodya_ has joined #ruby
StoneCypher has joined #ruby
bkxd has joined #ruby
mim1k has joined #ruby
nankyokusei has joined #ruby
renchan has joined #ruby
StoneCypher has quit [Ping timeout: 255 seconds]
Rodya_ has quit [Ping timeout: 255 seconds]
bkxd has quit [Ping timeout: 252 seconds]
mim1k has quit [Ping timeout: 252 seconds]
nankyokusei has quit [Ping timeout: 255 seconds]
anisha has quit [Quit: This computer has gone to sleep]
dhollinger has joined #ruby
ledestin has joined #ruby
Cohedrin has joined #ruby
mazeinmaze_ has quit [Ping timeout: 252 seconds]
mzo has quit [Ping timeout: 245 seconds]
nofxxxx has joined #ruby
Guest96 has quit [Remote host closed the connection]
Guest96 has joined #ruby
xall has joined #ruby
nofxxx has quit [Ping timeout: 268 seconds]
mooser has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
xall has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
govg has quit [Ping timeout: 252 seconds]
Suslov has joined #ruby
jenrzzz has joined #ruby
antoniobeyah has quit [Quit: Connection closed for inactivity]
xenops has joined #ruby
patarr has joined #ruby
war_pigs has quit [Quit: later... computer is sleeping]
jgt3 has joined #ruby
patarr has quit [Ping timeout: 255 seconds]
cseder has joined #ruby
jgt3 has quit [Ping timeout: 252 seconds]
xall has joined #ruby
jgt3 has joined #ruby
mooser has quit [Remote host closed the connection]
JoshS has joined #ruby
_djbkd has quit [Quit: My people need me...]
womble has joined #ruby
johnzorn has joined #ruby
johnzorn has quit [Client Quit]
MrBusiness has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
johnzorn has joined #ruby
Suslov has quit [Quit: Leaving...]
MrBusiness has quit [Client Quit]
_whitelogger has joined #ruby
govg has joined #ruby
enterprisey has quit [Ping timeout: 252 seconds]
brent__ has joined #ruby
djbkd_ has joined #ruby
rafadc has joined #ruby
bjpenn has joined #ruby
<bjpenn> whats the terminology or programming keyword for '#{blah}' where blah is a variable name
rafadc has quit [Client Quit]
rafadc has joined #ruby
brent__ has quit [Ping timeout: 240 seconds]
rafadc has quit [Client Quit]
rafadc has joined #ruby
rafadc has quit [Client Quit]
impermanence has joined #ruby
rafadc has joined #ruby
rafadc has quit [Client Quit]
rafadc has joined #ruby
<elomatreb> bjpenn: String interpolation
enterprisey has joined #ruby
rafadc has quit [Client Quit]
cagomez has joined #ruby
johnlinvc_ has joined #ruby
rafadc has joined #ruby
<bjpenn> elomatreb: nice
impermanence has quit [Client Quit]
rafadc has quit [Client Quit]
johnlinvc_ has quit [Remote host closed the connection]
<bjpenn> elomatreb: i was thinking if theres a way to do something like '#{foo} || bar'
<bjpenn> so if foo doesn't exist, it defaults to 'bar'
<elomatreb> You can put any expression in there, so "#{foo || bar}" works
<bjpenn> ah nice!
<elomatreb> Keep in mind that #{} doesn't work in single-quoted strings
<bjpenn> oh ok
<bjpenn> i wonder why that is
<elomatreb> Single-quoted strings have less features enabled, but require less escaping of special characters
<elomatreb> >> 'test \ test'
<ruby[bot]> elomatreb: # => "test \\ test" (https://eval.in/774104)
Coldblackice has quit []
cagomez has quit [Ping timeout: 240 seconds]
StoneCypher has joined #ruby
astrobunny has joined #ruby
<bjpenn> elomatreb: got it
railswebdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Yzguy has quit [Quit: Zzz...]
<dminuoso> bjpenn: Be sure to keep any non-trivial expressions out of string interpolation though.
<dminuoso> Variables are cheap. :-)
astrobunny has quit [Remote host closed the connection]
astrobunny has joined #ruby
<bjpenn> dminuoso: will do :)
<bjpenn> thanks
astrobunny has quit [Read error: Connection reset by peer]
astrobunny has joined #ruby
cagomez has joined #ruby
cagomez has quit [Ping timeout: 245 seconds]
aufi has joined #ruby
etehtsea has joined #ruby
bkxd has joined #ruby
rafadc_ has joined #ruby
mooser has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
stomar has joined #ruby
astrobunny has quit [Remote host closed the connection]
mooser has quit [Ping timeout: 252 seconds]
astrobunny has joined #ruby
Pumukel has quit [Remote host closed the connection]
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
pifon has joined #ruby
Rodya_ has joined #ruby
bjpenn has quit [Ping timeout: 252 seconds]
nankyokusei has joined #ruby
djbkd_ has quit []
conta has joined #ruby
jenrzzz has joined #ruby
Rodya_ has quit [Ping timeout: 260 seconds]
mark_66 has joined #ruby
nankyokusei has quit [Ping timeout: 255 seconds]
Lyubo1 has quit [Read error: Connection reset by peer]
cpt_yossarian has joined #ruby
woodruffw has joined #ruby
woodruffw has joined #ruby
jamesaxl has joined #ruby
impermanence has joined #ruby
Lyubo1 has joined #ruby
jameser has quit [Ping timeout: 240 seconds]
impermanence has quit [Client Quit]
esObe_ has quit [Remote host closed the connection]
bjpenn has joined #ruby
Doow_ has joined #ruby
matled- has joined #ruby
jameser has joined #ruby
alphor has quit [Ping timeout: 260 seconds]
sirecote has quit [Ping timeout: 268 seconds]
Psy-Q has quit [Ping timeout: 260 seconds]
gsingh93 has quit [Ping timeout: 260 seconds]
drale2k_ has quit [Ping timeout: 260 seconds]
Zarthus has quit [Ping timeout: 260 seconds]
spicerack has quit [Ping timeout: 260 seconds]
pleiosau1 has quit [Ping timeout: 268 seconds]
phansch has quit [Ping timeout: 260 seconds]
Guest84056 has quit [Ping timeout: 260 seconds]
Garo_ has quit [Ping timeout: 260 seconds]
justinmrkva has quit [Ping timeout: 260 seconds]
destructure has quit [Ping timeout: 260 seconds]
ironcamel has quit [Ping timeout: 260 seconds]
pleiosaur has joined #ruby
pskosinski has quit [Read error: Connection reset by peer]
Sammichmaker has quit [Read error: Connection reset by peer]
Davey has quit [Excess Flood]
statelesscode_ has joined #ruby
statelesscode has quit [Ping timeout: 268 seconds]
ensyde has quit [Ping timeout: 268 seconds]
atom3_ has quit [Ping timeout: 268 seconds]
yorickpeterse has quit [Ping timeout: 268 seconds]
devn has quit [Ping timeout: 268 seconds]
mgorbach has quit [Ping timeout: 268 seconds]
esObe has quit [Ping timeout: 268 seconds]
Freijo has quit [Ping timeout: 268 seconds]
phreakocious has quit [Ping timeout: 268 seconds]
bayed has quit [Ping timeout: 268 seconds]
statelesscode_ is now known as statelesscode
Guest74367 has quit [Ping timeout: 260 seconds]
matled has quit [Ping timeout: 260 seconds]
Muz has quit [Ping timeout: 260 seconds]
veloutin has quit [Ping timeout: 260 seconds]
mgorbach has joined #ruby
Guest57405 is now known as CrazEd
matled- is now known as matled
ensyde has joined #ruby
ironcamel has joined #ruby
nikivi has quit [Ping timeout: 264 seconds]
Doow has quit [Ping timeout: 268 seconds]
gigetoo has quit [Ping timeout: 268 seconds]
mlehrer_ has quit [Ping timeout: 268 seconds]
pabs has quit [Ping timeout: 268 seconds]
angseus has quit [Ping timeout: 268 seconds]
pabs has joined #ruby
CrazEd is now known as Guest14977
yorickpeterse has joined #ruby
pskosinski has joined #ruby
bayed has joined #ruby
Fraeon has joined #ruby
devn has joined #ruby
sirecote has joined #ruby
avrelaun_ has joined #ruby
pskosinski is now known as Guest32730
mlehrer has joined #ruby
phreakocious has joined #ruby
phansch has joined #ruby
angseus has joined #ruby
Garo_ has joined #ruby
gigetoo has joined #ruby
Muz has joined #ruby
gsingh93 has joined #ruby
drale2k has joined #ruby
nobitanobi has joined #ruby
nikivi has joined #ruby
esObe has joined #ruby
alphor has joined #ruby
justinmrkva has joined #ruby
C0deMaver1ck has joined #ruby
esObe_ has joined #ruby
C0deMaver1ck is now known as Guest70698
avrelaun has quit [Read error: Connection reset by peer]
veloutin has joined #ruby
Zarthus has joined #ruby
Psy-Q has joined #ruby
Davey has joined #ruby
Davey has joined #ruby
Davey has quit [Changing host]
bigkevmcd has joined #ruby
atom3 has joined #ruby
destructure has joined #ruby
Guest2400 has joined #ruby
xall has quit [Ping timeout: 255 seconds]
roshanavand has joined #ruby
moei has quit [Quit: Leaving...]
domgetter has quit [Ping timeout: 255 seconds]
esObe has quit [Ping timeout: 240 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jgnagy has quit [Remote host closed the connection]
jgnagy has joined #ruby
patarr has joined #ruby
qvqidv has joined #ruby
roshanavand has quit [Quit: roshanavand]
bjpenn has quit [Ping timeout: 255 seconds]
shortdudey123 has quit [Ping timeout: 268 seconds]
grh has joined #ruby
MrBusiness3 has joined #ruby
patarr has quit [Ping timeout: 240 seconds]
valkyr2e has quit [Ping timeout: 240 seconds]
rikai has quit [Quit: No Ping reply in 180 seconds.]
MrBismuth has quit [Ping timeout: 255 seconds]
rikai has joined #ruby
woodruffw has quit [Read error: Connection reset by peer]
valkyr2e has joined #ruby
cpt_yossarian has quit [Read error: Connection reset by peer]
cpt_yossarian has joined #ruby
shortdudey123 has joined #ruby
antgel has joined #ruby
charliesome has joined #ruby
woodruffw has joined #ruby
woodruffw has joined #ruby
rgtk has joined #ruby
mooser has joined #ruby
esObe has joined #ruby
tvw has joined #ruby
cpt_yossarian has quit [Quit: And then he took off.]
Burgestrand has joined #ruby
esObe has quit [Remote host closed the connection]
griff has joined #ruby
mooser has quit [Ping timeout: 255 seconds]
anisha has joined #ruby
griff has quit [Client Quit]
DARPA has joined #ruby
Rodya_ has joined #ruby
minimalism has joined #ruby
jamesaxl has quit [Ping timeout: 240 seconds]
jamesaxl has joined #ruby
chichou has joined #ruby
P1ro has quit [Remote host closed the connection]
cfec0b8d has quit [Quit: Leaving.]
Arpanet69 has joined #ruby
Rodya_ has quit [Ping timeout: 260 seconds]
chichou has quit [Ping timeout: 260 seconds]
arne_ has quit [Remote host closed the connection]
DARPA has quit [Ping timeout: 268 seconds]
woodruffw has quit [Max SendQ exceeded]
woodruffw has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #ruby
Silthias has joined #ruby
Silthias has quit [Read error: Connection reset by peer]
P1ro has joined #ruby
nemesit|znc has quit [K-Lined]
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #ruby
nemesit|znc has joined #ruby
armyriad has quit [Ping timeout: 255 seconds]
woodruffw has quit [Changing host]
woodruffw has joined #ruby
Xiti has quit [Quit: Xiti]
mim1k has joined #ruby
Silthias has joined #ruby
toretore has joined #ruby
sleetdrop has joined #ruby
Guest14977 is now known as CrazEd
CrazEd is now known as Guest96265
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 255 seconds]
domgetter has joined #ruby
cschneid_ has joined #ruby
jusa has quit [Ping timeout: 240 seconds]
flying has joined #ruby
<kke> how can i get already initialized constant warnings in a file that is only loaded using require? (the usual class Foo; BAR = "foo"; end kind of thing)
woodruffw has quit [Max SendQ exceeded]
<kke> is require somehow scoped?
woodruffw has joined #ruby
woodruffw has joined #ruby
woodruffw has quit [Changing host]
domgetter has quit [Ping timeout: 245 seconds]
cschneid_ has quit [Ping timeout: 245 seconds]
womble has left #ruby ["Oooh! Shiny!"]
armyriad has joined #ruby
elsevero has quit [Quit: elsevero]
Antiarc has quit [Ping timeout: 246 seconds]
nadir has quit [Quit: Connection closed for inactivity]
elsevero has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
mim1k has quit [Ping timeout: 268 seconds]
<Burgestrand> kke ruby typically says where the previous definition was, is the redefined constant defined from the same place?
mikecmpbll has joined #ruby
bjpenn has joined #ruby
<Burgestrand> kke you can debug it by `p caller` in your source file, it'll get printed every time the file is required, and the stacktrace will show you who's requiring the file using which kind of call
<kke> yep the same file. "already initialized constant FOO in client.rb:4" + "previous definition of FOO was in client:rb:4"
<Burgestrand> kke typically ruby prevents you from loading the same file when you use `require` though (not if you use `load` however)
jamesaxl has joined #ruby
Robtop__ has joined #ruby
<herwin> or if you put "require 'client.rb'" in client.rb
woodruffw has quit [Max SendQ exceeded]
jsrn_ has joined #ruby
<kke> yep it should put all loaded absolute paths in $LOADED_PATHS or $" or whatever and never load it twice
<kke> $LOADED_FEATURES
<Burgestrand> herwin cool, didn't know about that
bjpenn has quit [Ping timeout: 240 seconds]
mim1k has joined #ruby
Beams has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 240 seconds]
<herwin> only after a file has been fully required, require will not require it again
woodruffw has joined #ruby
woodruffw has joined #ruby
woodruffw has quit [Changing host]
<kke> i think it's a case of require + require_relative
<kke> and possibly symlinks
bkxd has joined #ruby
nofxxxx has quit [Ping timeout: 240 seconds]
bronson has quit [Remote host closed the connection]
Qchmqs has joined #ruby
MrBusiness3 has quit [Ping timeout: 255 seconds]
<Burgestrand> kke symlinks would make sense, I do however think `require` and `require_relative` both follow the same anti-double-require rules
<kke> but differently
haxrbyte has joined #ruby
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
xall has joined #ruby
haxrbyte has quit [Client Quit]
jameser_ has joined #ruby
<Burgestrand> :)
<kke> perhaps i must add $".push(Pathname.new(__FILE__).realpath) to all files :)
dionysus69 has joined #ruby
bkxd has quit [Ping timeout: 245 seconds]
jameser has quit [Ping timeout: 240 seconds]
<kke> (no, i just use FOO ||= "foo")
<kke> which i think is cleaner than FOO = "foo" unless const_defined?(:FOO)
mooser has joined #ruby
xall has quit [Ping timeout: 240 seconds]
qvqidv has quit [Remote host closed the connection]
domgetter has joined #ruby
chouhoulis has joined #ruby
theRoUS has quit [Ping timeout: 260 seconds]
esObe has joined #ruby
mooser has quit [Ping timeout: 240 seconds]
bweston92 has joined #ruby
Cohedrin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chouhoulis has quit [Ping timeout: 240 seconds]
qba73 has joined #ruby
esObe has quit [Remote host closed the connection]
esObe has joined #ruby
jameser_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
woodruffw has quit [Max SendQ exceeded]
woodruffw has joined #ruby
jameser has joined #ruby
Rodya_ has joined #ruby
nankyokusei has joined #ruby
marr has joined #ruby
woodruffw has quit [Changing host]
woodruffw has joined #ruby
godd2 has joined #ruby
domgetter has quit [Ping timeout: 268 seconds]
Rodya_ has quit [Ping timeout: 260 seconds]
nankyokusei has quit [Ping timeout: 255 seconds]
stomar has quit [Ping timeout: 260 seconds]
Guest32730 has quit [Changing host]
Guest32730 has joined #ruby
Guest32730 has joined #ruby
Guest32730 is now known as pskosinski
woodruffw has quit [Max SendQ exceeded]
cschneid_ has joined #ruby
yxadyx has joined #ruby
woodruffw has joined #ruby
woodruffw has quit [Changing host]
woodruffw has joined #ruby
elsevero has quit [Quit: elsevero]
godd2 has quit [Ping timeout: 268 seconds]
impermanence has joined #ruby
domgetter has joined #ruby
cschneid_ has quit [Ping timeout: 260 seconds]
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
haraoka has joined #ruby
impermanence has quit [Client Quit]
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #ruby
latemus has joined #ruby
woodruffw has quit [Max SendQ exceeded]
<latemus> am i the only one finding it much easier to work with object relaitonal mapping in ruby than in php?
lxsameer has joined #ruby
woodruffw has joined #ruby
woodruffw has quit [Changing host]
woodruffw has joined #ruby
<herwin> unlikely, but the answer in #php might be different
Guest96265 is now known as CrazEd
<latemus> lol
CrazEd is now known as Guest79175
<Burgestrand> kke doesn't solve the problem that your file happens to be required multiple times though, but perhaps it's a sufficient band-aid for now
ketan has joined #ruby
woodruffw has quit [Max SendQ exceeded]
dhollin3 has joined #ruby
woodruffw has joined #ruby
woodruffw has joined #ruby
woodruffw has quit [Changing host]
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #ruby
dhollinger has quit [Ping timeout: 245 seconds]
roshanavand has joined #ruby
tvw has quit []
rafadc_ has quit [Quit: Bye!]
<dminuoso> latemus: Yes for quite a few reasons. The Smalltalk influence in Ruby makes this really easy to implement.
<dminuoso> latemus: Though technically PHP has the same functionality in __call
<dminuoso> So I guess it's actually a moot point.
nicoulaj has quit [Remote host closed the connection]
woodruffw has quit [Max SendQ exceeded]
elsevero has joined #ruby
nicoulaj has joined #ruby
nicoulaj has quit [Remote host closed the connection]
woodruffw has joined #ruby
woodruffw has quit [Changing host]
woodruffw has joined #ruby
velu_aon[m] has quit [Remote host closed the connection]
travisr has quit [Write error: Connection reset by peer]
jakebriggs[m] has quit [Remote host closed the connection]
Tagami[m] has quit [Remote host closed the connection]
zenspider[m] has quit [Remote host closed the connection]
heftig has quit [Read error: Connection reset by peer]
bascht1 has quit [Remote host closed the connection]
KevinMGranger has quit [Read error: Connection reset by peer]
M107262[m] has quit [Read error: Connection reset by peer]
testnick[m] has quit [Read error: Connection reset by peer]
nicoulaj has joined #ruby
aviraldg has quit [Write error: Connection reset by peer]
dman[m] has quit [Write error: Connection reset by peer]
MicaFox[m] has quit [Remote host closed the connection]
thulsa_legume[m] has quit [Remote host closed the connection]
el_ocho[m] has quit [Remote host closed the connection]
daveyboi[m] has quit [Write error: Broken pipe]
Giphy[m] has quit [Write error: Connection reset by peer]
enterprisey has quit [Quit: Leaving]
elsevero has quit [Client Quit]
bjpenn has joined #ruby
patarr has joined #ruby
bascht1 has joined #ruby
astrobunny has quit [Remote host closed the connection]
astrobunny has joined #ruby
moei has joined #ruby
woodruffw has quit [Max SendQ exceeded]
bjpenn has quit [Ping timeout: 240 seconds]
Terens has joined #ruby
patarr has quit [Ping timeout: 245 seconds]
astrobunny has quit [Ping timeout: 260 seconds]
woodruffw has joined #ruby
woodruffw has joined #ruby
woodruffw has quit [Changing host]
xall has joined #ruby
jenrzzz has joined #ruby
jeyraof^mbpr has quit [Quit: Leaving]
Tagami[m] has joined #ruby
Giphy[m] has joined #ruby
heftig has joined #ruby
KevinMGranger has joined #ruby
M107262[m] has joined #ruby
daveyboi[m] has joined #ruby
jzigmund has joined #ruby
dman[m] has joined #ruby
travisr has joined #ruby
MicaFox[m] has joined #ruby
aviraldg has joined #ruby
thulsa_legume[m] has joined #ruby
jakebriggs[m] has joined #ruby
zenspider[m] has joined #ruby
el_ocho[m] has joined #ruby
velu_aon[m] has joined #ruby
testnick[m] has joined #ruby
JeanCarloMachado has quit [Ping timeout: 260 seconds]
p0p0pr37_ has joined #ruby
p0p0pr37_ has joined #ruby
p0p0pr37_ has quit [Changing host]
Asher1 has joined #ruby
Asher has quit [Read error: Connection reset by peer]
User458764 has joined #ruby
p0p0pr37 has quit [Ping timeout: 252 seconds]
p0p0pr37_ is now known as p0p0pr37
ryan_notabot has quit [Ping timeout: 252 seconds]
ryan_notabot has joined #ruby
Rodya_ has joined #ruby
ferr1 has joined #ruby
woodruffw has quit [Max SendQ exceeded]
stomar has joined #ruby
woodruffw has joined #ruby
woodruffw has joined #ruby
woodruffw has quit [Changing host]
Rodya_ has quit [Ping timeout: 245 seconds]
brent__ has joined #ruby
mim1k has quit [Ping timeout: 268 seconds]
lenwood has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
mim1k has joined #ruby
bkxd has joined #ruby
elsevero has joined #ruby
brent__ has quit [Ping timeout: 260 seconds]
StoneCypher has quit [Ping timeout: 240 seconds]
Snickers has joined #ruby
Sammichmaker has joined #ruby
Sammichmaker has joined #ruby
Sammichmaker has quit [Changing host]
jusa has joined #ruby
MrBusiness has joined #ruby
impermanence has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
binaryplease has joined #ruby
tvw has joined #ruby
impermanence has quit [Client Quit]
stomar has quit [Ping timeout: 240 seconds]
jusa has quit [Ping timeout: 240 seconds]
<latemus> dminuoso: interesting none the les
<latemus> s
elsevero has quit [Quit: elsevero]
Guest79175 is now known as CrazEd
CrazEd is now known as Guest69326
Qchmqs has quit [Ping timeout: 255 seconds]
circ-user-Y335P has joined #ruby
Beams has quit [Quit: .]
circ-user-Y335P has left #ruby [#ruby]
lenwood has quit [Ping timeout: 252 seconds]
roshanavand has quit [Ping timeout: 260 seconds]
arne_ has joined #ruby
<arne_> suggestions to make this code cooler?
* dminuoso just got triggered
<dminuoso> arne_: Yes.
<dminuoso> Plenty.
<dminuoso> arne_: Use this moment to configure your editor for 2-space indentions.
<arne_> so help me please, i never worked with inheritance
<arne_> dminuoso: opinion
<dminuoso> arne_: I will share my thoughts when you have fixed a) your editor and b) your gist.
<dminuoso> Because that thing gives me eye cancer.
<arne_> okay
<arne_> thats just immature
<dminuoso> I am immature from time to time.
<arne_> if it was 100 lines, okay, but these 3, nope
<dminuoso> arne_: It does not matter whether its 3 or 100 lines. If you can't be bothered to even fix 3 lines by hand, it shows how much you care about presenting your problem.
<dminuoso> Try to think about it from that perspective.
<arne_> okay just dont respond then please
charliesome has joined #ruby
<dminuoso> Good luck.
jusa has joined #ruby
<arne_> you can have a screenshot how it looks all the same as it was spaces, if you want
patarr has joined #ruby
bjpenn has joined #ruby
bjpenn has quit [Ping timeout: 268 seconds]
patarr has quit [Ping timeout: 268 seconds]
<dminuoso> arne_: So that's your style of identing code?
<latemus> vim's default indentation on my os has been driving be mad
<dminuoso> latemus: Are you perhaps missing a syntax plugin?
<latemus> id rather do it manually than fight with it
<latemus> dminuoso: i believe so
<arne_> dminuoso: i am using tabs..yes and that is fine
<latemus> and i need to write up a vimrc file
<arne_> ruby doesn't care. so this is kinda offtopic, there is nothing to "fix"
<dminuoso> arne_: Im sorry, if you don't think there's anything wrong with how that code looks then I can't help you.
<latemus> OMG that gist really is atrocious though
bronson has joined #ruby
<dminuoso> latemus: "syntax on" and "filetype plugin indent on" is likely all you need to get started.
<arne_> it looks wrong in the gist, i admit, but fixing this is not neccessary with these 3 lines, you refusing to help is just an ego issue
<dminuoso> latemus: And possibly settings for ts/sw/et if you want to customize that.
<dminuoso> arne_: By refusing to make your gist even half way readable, you demonstrate a complete disregard of how your problem appears.
<dminuoso> It has nothing to do with ego.
pifon has quit [Quit: Connection closed for inactivity]
jusa has quit [Ping timeout: 252 seconds]
<dminuoso> I dont want to have to format your code just to read it.
<dminuoso> That's your job
Qchmqs has joined #ruby
<dminuoso> Unless you expect everybody in this channel that wants to participate to first fork your gist and re-indent with consitent tabs to just get an idea of what this does.
Beams has joined #ruby
<dminuoso> Which I guess makes sense if you consider your time far more valuable than ours.
<arne_> thats alot of assumptions
<arne_> latemus: well, thanks alot
<latemus> arne_: it's good etiquette
<arne_> i wasn't expecting everyone to edit the code.. i was just expecting an answer like "use === instead of <.." or something
<dminuoso> arne_: Right, which is why you should make sure that whatever you are showing to us is readable at least.
<arne_> it's readable
<latemus> li mean, irc ettiquete has remained unchanged for > 20 years bro
<dminuoso> It's not.
<arne_> it's 3 freaking lines of codes
<arne_> it's weird though, why does the html textarea insert tabs as spaces or it is it a github "feature"
<arne_> or has it always been this way?
howdoi has joined #ruby
<dminuoso> arne_: It uses whatever you paste to it, though tabs/spaces is really a minor thing, since you can actually use url params to have github convert those on the fly.
<dminuoso> 12:26 < arne_> it's 3 freaking lines of codes < this actually proves my point. 3 lines means it would have taken you less than 5 seconds to fix this.
<arne_> yeah but i am copying tabs, and it will be spaces in the textarea, always wondered about that
<arne_> dminuoso: imho there is nothing to fix, as i said
<dminuoso> arne_: May be your editor.
<arne_> dminuoso: no, i tested that
<dminuoso> arne_: so 1 tab for if, 7 tabs for the code, then 6 tabs for the else. Thats normal indention on your code?
mooser has joined #ruby
<arne_> well, the code is nested in some modules classes, so yeah
<dminuoso> arne_: https://ibb.co/gxdBgQ
<dminuoso> arne_: look at that image and tell me if it looks healthy.
<dminuoso> arne_: I mean you likely tripped up the indentation on the first line.
whenIdoIsudo has quit [Read error: Connection reset by peer]
<arne_> this discussion ends up in a circle... imho you can read that in ~5 seconds, and tell me what operators i should use instead
<dminuoso> arne_: Actually this has turned into something productive now. 6/7 levels of indentation is a real code smell.
<dminuoso> arne_: It indicates that you probably should decompose into separate modules and use include.
<arne_> this discussion did cost more than evrything we could've done differently
<dminuoso> 12:30 < arne_> this discussion ends up in a circle... imho you can read that in ~5 seconds, and tell me what operators i should use instead
xall has quit [Ping timeout: 240 seconds]
<arne_> yes instead you chose to lecture me ~20 mins about tabs and spaces, while it doesn'T matter
<dminuoso> arne_: fine, have it your way. I will not bother with your problems anymore becuase you cant be bothered *at all* to use even minimal efforts to provide something readable.
<arne_> does not sound very rational
<dminuoso> arne_: Same could be said to you. Instead of just editing your gist, you refuse to make your gist look readable at first glance.
<dminuoso> Instead arguing for 20 minutes.
<dminuoso> It's not about tabs vs spaces.
<dminuoso> Its about 1/7/6/7/6 tabs
<arne_> matter of principle, i do not even know if you were to help me later, and i am not the one who started the discussion
aspiers has quit [Ping timeout: 260 seconds]
<arne_> let's just stop
<dminuoso> two of these are readable
<dminuoso> one is not.
Pumukel has joined #ruby
<arne_> yeah i agree, so what, you could've just read it man
<arne_> lets just stop, this isn't going anywhere
<arne_> thanks for trying to help in your way.. though
Silthias has quit [Quit: Leaving.]
<dminuoso> arne_: use model = case(self) when SomeModel then self when Sequel::DataSet then self.respond_to?(:model) ? self.model : nil else nil end
<arne_> thanks alot
<arne_> will case when work? because in that case self is a class
<dminuoso> arne_: Just spend a minute before you paste a gist next time.
aspiers has joined #ruby
<dminuoso> And look if you can modify it to make it more presentable.
<arne_> dminuoso: if it was bigger i would've, really
<dminuoso> arne_: If its small it means its even less work.
<dminuoso> Your argument is completely moot.
Rodya_ has joined #ruby
<dminuoso> Boy I cant be arsed to deal with anymore.
<dminuoso> Bye.
nankyokusei has joined #ruby
<arne_> i am sorry ^^
xall has joined #ruby
Silthias has joined #ruby
Arpanet69 has quit [Ping timeout: 268 seconds]
<arne_> and i am afraid that code doesn't work that way
Rodya_ has quit [Ping timeout: 260 seconds]
GodFather has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
rgr has joined #ruby
StoneCypher has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
xall has quit [Ping timeout: 260 seconds]
aspiers has quit [Ping timeout: 268 seconds]
bkxd has joined #ruby
StoneCypher has quit [Ping timeout: 252 seconds]
flying has quit []
bkxd has quit [Ping timeout: 268 seconds]
Silthias1 has joined #ruby
Silthias has quit [Ping timeout: 240 seconds]
lenwood has joined #ruby
centrx has joined #ruby
centrx has joined #ruby
centrx has quit [Changing host]
aspiers has joined #ruby
nobitanobi has quit [Remote host closed the connection]
cschneid_ has joined #ruby
mooser has quit [Ping timeout: 268 seconds]
cagomez has joined #ruby
ziarkaen has joined #ruby
__Yiota has joined #ruby
impermanence has joined #ruby
impermanence has quit [Client Quit]
cschneid_ has quit [Ping timeout: 240 seconds]
StoneCypher has joined #ruby
cagomez has quit [Ping timeout: 240 seconds]
JoshS has quit [Read error: Connection reset by peer]
ltem has joined #ruby
ixti has quit [Read error: Connection reset by peer]
StoneCypher has quit [Ping timeout: 240 seconds]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
al2o3-cr has joined #ruby
bjpenn has joined #ruby
lenwood has quit [Ping timeout: 252 seconds]
stomar has joined #ruby
artek_ has joined #ruby
ketan has quit [Remote host closed the connection]
bjpenn has quit [Ping timeout: 240 seconds]
chichou has joined #ruby
yokel has quit [Ping timeout: 260 seconds]
yokel has joined #ruby
ketan has joined #ruby
ketan has quit [Remote host closed the connection]
jaruga has joined #ruby
rgtk has quit [Ping timeout: 260 seconds]
workmad3 has joined #ruby
cagomez has joined #ruby
nowhere_man has quit [Ping timeout: 240 seconds]
cagomez has quit [Ping timeout: 240 seconds]
etehtsea has quit [Ping timeout: 252 seconds]
Rodya_ has joined #ruby
Rodya_ has quit [Ping timeout: 240 seconds]
hamedtalebpoorb has joined #ruby
<hamedtalebpoorb> hi
<hamedtalebpoorb> i have a problem with rails
<hamedtalebpoorb> the prolem is :
<Psy-Q> is there a more recommended JSON-RPC 2.0 library than jimson?
harfangk has joined #ruby
<matthewd> ?rails hamedtalebpoorb
<ruby[bot]> hamedtalebpoorb: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
<hamedtalebpoorb> yea
<hamedtalebpoorb> Bundler::GemNotFound: Could not find rake-12.0.0 in any of the sources
<hamedtalebpoorb> can not help me?
CloCkWeRX has joined #ruby
hamedtalebpoorb has quit [Ping timeout: 260 seconds]
User458764 has joined #ruby
workmad3 has quit [Ping timeout: 268 seconds]
mooser has joined #ruby
nobitanobi has joined #ruby
ketan has joined #ruby
bkxd has joined #ruby
mooser has quit [Ping timeout: 240 seconds]
DarthGandalf has joined #ruby
synthroid has joined #ruby
binaryplease has quit [Quit: binaryplease]
bkxd has quit [Ping timeout: 252 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
hutch34 has joined #ruby
mim1k has quit [Ping timeout: 252 seconds]
Pumukel has quit [Remote host closed the connection]
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
DWSR has joined #ruby
Pumukel has joined #ruby
bjpenn has joined #ruby
GodFather has quit [Ping timeout: 268 seconds]
shinnya has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
bjpenn has quit [Ping timeout: 260 seconds]
cagomez has joined #ruby
hutch34_ has joined #ruby
cagomez has quit [Ping timeout: 240 seconds]
nadir has joined #ruby
mim1k has joined #ruby
hutch34 has quit [Ping timeout: 260 seconds]
haraoka has quit [Ping timeout: 260 seconds]
<DWSR> *Disclaimer: I am an ops person in a dev world.* Hey all, I'm trying to install gems into a specific directory as part of setting up a build environment. Specifically, I'm setting up sass, compass, susy, and breakpoint on Ubuntu 16.04. I have ruby and ruby-dev installed from apt and I have the gems installed globally. However, when I try to use gems to install to the specific folder, I get error messages like so: https://gist.github.com/
Rodya_ has joined #ruby
<DWSR> Obviously, gem doesn't detect the ruby headers. How can I tell gem that the headers for ruby are located in a different location, while still installing to a specific directory?
jamesaxl has quit [Read error: Connection reset by peer]
<herwin> your link to gist.github is missing something
jamesaxl has joined #ruby
<DWSR> herwin: Thanks.
<DWSR> Ran into the character limit for messages, I think
mim1k has quit [Ping timeout: 240 seconds]
<matthewd> DWSR: Commands you're running too please
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<matthewd> Why are you installing to "a specific directory"?
<DWSR> matthewd: gist is updated.
chouhoulis has joined #ruby
zapata has quit [Ping timeout: 240 seconds]
jamesaxl has quit [Read error: Connection reset by peer]
<DWSR> matthewd: I'm building under Atlassian Bamboo. I have defined Ruby as a build system capability, but want to allow the devs to be able to define which libraries that they use and include without having to install them globally
<DWSR> matthewd: That way they can just write a gem file and have everything stuffed into the build env.
<chichou> DWSR: could you run the gcc command manually?
<matthewd> Okay, next: why aren't you using bundler?
<herwin> so you're trying to reinvent bundler?
<DWSR> matthewd: What is a bundler? :P
<DWSR> matthewd: I'm not a developer, I just got shoved into a devops role, so trial by fire.
<matthewd> Have you spoken to your (presumably ruby) devs about your plan?
<DWSR> matthewd: They're not ruby devs.
<DWSR> And, yes.
cagomez has joined #ruby
jamesaxl has joined #ruby
nankyokusei has joined #ruby
al2o3-cr has quit [Ping timeout: 260 seconds]
<DWSR> So the problem (at the moment) is that the developers don't have a gem file, just an imperative build script that installs everything globally. It's fine when they're only building the one project, but this build system will have several, and I don't want to trample gems that are specific versions
<herwin> DWSR: https://bundler.io/
cagomez has quit [Ping timeout: 268 seconds]
brent__ has joined #ruby
Puffball has joined #ruby
nankyokusei has quit [Ping timeout: 240 seconds]
jamesaxl has quit [Ping timeout: 260 seconds]
zapata has joined #ruby
<DWSR> And the problem is still the fact that the ffi gem needs compilation
bdonnahue has quit [Ping timeout: 252 seconds]
chouhoulis has quit [Remote host closed the connection]
brent__ has quit [Ping timeout: 260 seconds]
chouhoulis has joined #ruby
Lord_of_Life has quit [Excess Flood]
CloCkWeRX has quit [Ping timeout: 268 seconds]
Lord_of_Life has joined #ruby
stomar has quit [Ping timeout: 240 seconds]
swills has joined #ruby
aupadhye has joined #ruby
hutch34_ has quit [Ping timeout: 268 seconds]
cfec0b8d has joined #ruby
Rodya_ has quit [Remote host closed the connection]
<herwin> is the debian-package libffi-dev installed on the machine where you're trying to compile?
<DWSR> herwin: Yes. If I run the same command but go a global install, it completes successfully.
<DWSR> s/go/do/
cfec0b8d has quit [Client Quit]
yokel has quit [Ping timeout: 240 seconds]
<DWSR> herwin: Also, ruby-ffi is installed from apt as well.
<matthewd> Oh, so the global install probably isn't actually trying to do anything
GodFather has joined #ruby
<DWSR> matthewd: I can remove the deb package and see.
Puffball has quit [Ping timeout: 240 seconds]
<DWSR> matthewd: Good call, global install fails.
jamesaxl has joined #ruby
yokel has joined #ruby
<matthewd> Which would imply some general issue with your ruby-dev setup
<DWSR> So just reinstall all of ruby?
mim1k has joined #ruby
<matthewd> Work out why the ruby headers aren't where they should be
Puffball has joined #ruby
<DWSR> Going to start with a reinstall.
mooser has joined #ruby
Lord_of_Life has quit [Excess Flood]
ramortegui has joined #ruby
bkxd has joined #ruby
<DWSR> So it looks like compass is installing ffi, which can't find the development headers for libffi
mooser has quit [Remote host closed the connection]
mooser has joined #ruby
Lord_of_Life has joined #ruby
StoneCypher has joined #ruby
artek_ has quit [Quit: Leaving]
george2seven has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
PaulCapestany has quit [Quit: .]
Lord_of_Life has quit [Excess Flood]
PaulCapestany has joined #ruby
StoneCypher has quit [Ping timeout: 260 seconds]
CloCkWeRX has joined #ruby
Beams has quit [Quit: .]
domgetter has quit [Ping timeout: 260 seconds]
centrx has quit []
bjpenn has joined #ruby
stomar has joined #ruby
qba73 has quit [Ping timeout: 260 seconds]
__Yiota has joined #ruby
ltem has quit [Quit: Leaving]
mzo has joined #ruby
avrelaun_ has quit [Quit: leaving]
bjpenn has quit [Ping timeout: 268 seconds]
jusa has joined #ruby
conall has joined #ruby
<conall> Hi, I am trying to mock a method in a utility class and Im not sure how I can go about that. The class I am testing is "LogStash::Filters::myClass", and at the top of that file there is a require_relative to a file with the method I wish to mock.
<conall> The method I wish to mock is not in a "describe" block, it is not associated with any class (so I believe anyways)
<conall> Any and all help is greatly appreciated. Thanks
claudevandort has joined #ruby
stomar has quit [Quit: Konversation terminated!]
<Papierkorb> conall: Expect that call to be made against Kernel: `expect(Kernel).to receive(:the_method).with("foo").and_return 5`, if that didn't work, try Object as receiver instead
<Papierkorb> conall: And/Or require the library in a pry session and then try finding it through `method(:the_method)`, the resulting readable output should also tell you who owns it
sleetdrop has quit [Quit: Computer has gone to sleep.]
aupadhye has quit [Ping timeout: 268 seconds]
Beams has joined #ruby
TeddySmoker has joined #ruby
<kke> IO.console_size is documented but does not actually exist (with or without require 'io/console') http://ruby-doc.org/stdlib-2.4.1/libdoc/io/console/rdoc/IO.html haven't changed since at least 2.0.0
<kke> or am i doing something wrong?
aupadhye has joined #ruby
<kke> require 'io/console'; IO.console_size --> undefined method `console_size' for IO:Class (NoMethodError)
qba73 has joined #ruby
<kke> IO.console.winsize works fine
<kke> oh but is that an instance method
<Burgestrand> kke it looks to be defined in `io/console/size` which is not pulled in by `io/console`
<Burgestrand> >> require "io/console/size"; IO.console_size
<ruby[bot]> Burgestrand: # => (https://eval.in/774732)
<kke> i guess it's a documentation bug then
<allisio> Just dumb structuring, honestly.
<allisio> It's a separate require because the rest of io/console is implemented in C.
DLSteve has joined #ruby
<kke> all of the other methods say "you must require 'io/console' to use this method"
CloCkWeRX has quit [Quit: Leaving.]
mzo has quit [Ping timeout: 255 seconds]
<kke> so that one should say "you must require io/console/size etc"
<allisio> Fair enough.
<kke> well of course it could very well be in io/console
jameser has quit [Ping timeout: 260 seconds]
aryaching has quit [Read error: Connection reset by peer]
safetypin has joined #ruby
Yzguy has joined #ruby
Puffball has quit [Ping timeout: 240 seconds]
impermanence has joined #ruby
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
Pumukel has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
jonjitsu has joined #ruby
woodruffw has quit [Ping timeout: 240 seconds]
woodruffw has joined #ruby
woodruffw has joined #ruby
woodruffw has quit [Changing host]
Fin1te has joined #ruby
chouhoulis has quit [Remote host closed the connection]
war_pigs has joined #ruby
seggy has joined #ruby
rammanoj_ has joined #ruby
war_pigs has quit [Client Quit]
impermanence has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
swills has quit [Ping timeout: 268 seconds]
Snickers has quit [Quit: Snickers]
<rammanoj_> i have installed ruby in my system by command sudo apt-get install ruby-full but when I try to install the bundler by typing gem install bundler I am getting an error reporting Fetching: bundler-1.14.6.gem (100%)
<rammanoj_> can anyone help me in solving this issue?
<rammanoj_> You don't have write permissions for the /var/lib/gems/2.3.0 directory.
<rammanoj_> ERROR: While executing gem ... (Gem::FilePermissionError)
george2seven has quit []
<conall> Papierkorb: not working. The method(:my_method) returns #<Method: LogStash::Filters::MyClass(Object)#my_method>. What should I put in the allow() in this case?
<DWSR> rammanoj_: You need to be root to install gems into /var/lib
swills has joined #ruby
<rammanoj_> @DWSR thanks I have installed it
<DWSR> rammanoj_: I understand that you have gem installed.
GodFather has quit [Ping timeout: 240 seconds]
woodruffw has quit [Read error: Connection reset by peer]
jrafanie has joined #ruby
brogrammer has joined #ruby
<brogrammer> hey guys
<brogrammer> I am not able to log onto #rails
war_pigs has joined #ruby
<brogrammer> what gives?
GodFather has joined #ruby
woodruffw has joined #ruby
woodruffw has joined #ruby
woodruffw has quit [Changing host]
<TeddySmoker> brogrammer: I am pretty sure that it's #RubyOnRails
<TeddySmoker> brogrammer: But there's not much activity there : (
<TeddySmoker> If nobody minds, can I ask a rails-related question here?
railswebdev has joined #ruby
<latemus> i want to store objects in a mysql database from my ruby script, not rails. do you guys recommend dbi or mysql
anisha has quit [Ping timeout: 255 seconds]
<matthewd> TeddySmoker: There are people there. But it's possible noone knows the answer to your question.
jameser has joined #ruby
StoneCypher has joined #ruby
war_pigs has quit [Client Quit]
<TeddySmoker> matthewd: Indeed, it is possible.
User458764 has joined #ruby
patarr has joined #ruby
Yzguy has quit [Quit: Zzz...]
ResidentBiscuit has joined #ruby
sumobob has joined #ruby
DroidBurgundy has joined #ruby
mooser has quit [Remote host closed the connection]
anisha has joined #ruby
grh has quit [Ping timeout: 260 seconds]
brogrammer is now known as Nimzowitsch
bronson has quit [Remote host closed the connection]
bjpenn has joined #ruby
bronson has joined #ruby
Snickers has joined #ruby
impermanence has joined #ruby
millerti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ldnunes has joined #ruby
war_pigs has joined #ruby
rammanoj_ has quit []
nobitanobi has quit []
railswebdev has quit [Quit: Textual IRC Client: www.textualapp.com]
bjpenn has quit [Ping timeout: 240 seconds]
workmad3 has joined #ruby
jrafanie_ has joined #ruby
jrafanie_ has quit [Client Quit]
Puffball has joined #ruby
jrafanie has quit [Ping timeout: 268 seconds]
Nimzowitsch has quit [Ping timeout: 260 seconds]
jrafanie has joined #ruby
dhollin3 is now known as dhollinger
<ljarvis> latemus: mysql2
dionysus69 has quit [Ping timeout: 260 seconds]
Arpanet69 has joined #ruby
ferr1 has quit [Quit: WeeChat 1.7]
<matthewd> latemus: I'd still recommend Active Record.. but if you only want to talk raw SQL, then yeah, mysql2
<dminuoso> But then again matthewd might be biased. :-)
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nankyokusei has joined #ruby
<ljarvis> also, I would recommend avoiding ActiveRecord unless you think you need it
<ljarvis> so, there are your options :)
<ljarvis> (i might also be biased)
<matthewd> dminuoso: Okay, I'd recommend using an ORM, because... objects. (And would then secondarily note that AR is perfectly usable without the rest of Rails.)
<matthewd> Better? :P
TeddySmoker has quit [Quit: Leaving]
<dminuoso> matthewd: I was not critisizing you at all. :)
<havenwood> latemus: Another popular, very-nice option is the Sequel gem: http://sequel.jeremyevans.net/
<ljarvis> or just don't use an orm </outrageous comment>
nankyokusei has quit [Ping timeout: 245 seconds]
<havenwood> I often use Sequel without ORM. ;-P
<havenwood> The ORM part is optional.
workmad3 has quit [Ping timeout: 240 seconds]
<dminuoso> I often use Sequel without a database.
<dminuoso> But then again Im not always entirely mature.
Puffball has quit [Ping timeout: 255 seconds]
<havenwood> DBM forever! \o/
Puffball has joined #ruby
jonjitsu has quit [Quit: Leaving]
insane_tesla has joined #ruby
<insane_tesla> hi
<havenwood> YAML::DBM really is handy to have in the stdlib.
<havenwood> insane_tesla: hi
<insane_tesla> I'm trying to implement a login in my app with a microsoft account
<insane_tesla> Do you guys have any experience with that?
sumobob has quit [Ping timeout: 252 seconds]
<havenwood> insane_tesla: Is that OAuth then?
<havenwood> insane_tesla: https://github.com/oauth-xx/oauth-ruby
govg has quit [Ping timeout: 260 seconds]
<insane_tesla> yes, is Oauth
<insane_tesla> the problem is where I have to register my app on microsoft structure?
<havenwood> insane_tesla: What does that mean?
<insane_tesla> because I've tried on Azure, apps.dev.microsoft
shinnya has quit [Ping timeout: 240 seconds]
<insane_tesla> and is not working well
StoneCypher has quit [Ping timeout: 260 seconds]
rippa has joined #ruby
jusa has quit [Ping timeout: 240 seconds]
patarr_ has joined #ruby
mooser has joined #ruby
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mooser has quit [Remote host closed the connection]
bjpenn has joined #ruby
mooser has joined #ruby
rgtk has joined #ruby
patarr has quit [Ping timeout: 260 seconds]
<bjpenn> exit
bjpenn has quit [Quit: leaving]
bkxd has joined #ruby
mzo has joined #ruby
workmad3 has joined #ruby
jgnagy has quit [Remote host closed the connection]
jgnagy has joined #ruby
VeryBewitching has joined #ruby
mooser has quit [Remote host closed the connection]
bkxd has quit [Ping timeout: 260 seconds]
Fin1te has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
jamesaxl has quit [Read error: Connection reset by peer]
cagomez has joined #ruby
conta has quit [Quit: conta]
StoneCypher has joined #ruby
Arpanet69 has quit [Ping timeout: 255 seconds]
anisha has quit [Ping timeout: 260 seconds]
oded has joined #ruby
chouhoulis has joined #ruby
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
anisha has joined #ruby
elsevero has joined #ruby
Fin1te has joined #ruby
elsevero has quit [Client Quit]
blackwind_123 has quit [Ping timeout: 260 seconds]
conall has left #ruby [#ruby]
jrafanie has joined #ruby
bronson has quit [Remote host closed the connection]
qba73 has quit [Quit: Leaving]
mooser has joined #ruby
aupadhye has quit [Ping timeout: 260 seconds]
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
BackEndCoder has quit [Excess Flood]
cschneid_ has joined #ruby
mooser_ has joined #ruby
synthroid has quit [Remote host closed the connection]
mooser has quit [Ping timeout: 260 seconds]
BackEndCoder has joined #ruby
mooser_ has quit [Remote host closed the connection]
mooser has joined #ruby
cdg has joined #ruby
plantfood has joined #ruby
haylon has joined #ruby
mark_66 has quit [Remote host closed the connection]
brent__ has joined #ruby
brent__ has quit [Remote host closed the connection]
brent__ has joined #ruby
Burgestrand has quit [Quit: Closing time!]
aupadhye has joined #ruby
jdbrowne has joined #ruby
Doow_ has quit [Read error: Connection reset by peer]
s2013 has quit [Quit: Textual IRC Client: www.textualapp.com]
Pierreb|home has quit []
bkxd has joined #ruby
[Butch] has joined #ruby
sumobob has joined #ruby
sleetdrop has joined #ruby
bkxd has quit [Ping timeout: 255 seconds]
GodFather has quit [Ping timeout: 252 seconds]
aufi has quit [Quit: Leaving]
enterprisey has joined #ruby
polishdub has joined #ruby
luckyruby has joined #ruby
vdl has quit [Quit: WeeChat 1.6]
mooser has quit [Remote host closed the connection]
rakm has joined #ruby
vdl has joined #ruby
Pumukel has quit [Remote host closed the connection]
amclain has joined #ruby
enterprisey has quit [Client Quit]
synthroid has joined #ruby
synthroid has quit [Remote host closed the connection]
synthroi_ has joined #ruby
skweek has quit [Ping timeout: 240 seconds]
antgel has quit [Ping timeout: 268 seconds]
cseder has quit [Quit: Textual IRC Client: www.textualapp.com]
jsrn_ has quit [Read error: Connection reset by peer]
hutch34_ has joined #ruby
nowhere_man has joined #ruby
war_pigs has quit [Quit: later... computer is sleeping]
war_pigs has joined #ruby
mooser has joined #ruby
MrBismuth has joined #ruby
workmad3 has quit [Ping timeout: 260 seconds]
Puffball has quit [Ping timeout: 268 seconds]
theRoUS has joined #ruby
bkxd has joined #ruby
MrBusiness has quit [Ping timeout: 252 seconds]
nitric has joined #ruby
gusrub has joined #ruby
jameser_ has joined #ruby
Lord_of_Life has joined #ruby
jameser has quit [Ping timeout: 252 seconds]
theRoUS has quit [Changing host]
theRoUS has joined #ruby
Rodya_ has joined #ruby
cagomez has quit [Remote host closed the connection]
anisha has quit [Quit: This computer has gone to sleep]
mim1k has quit [Ping timeout: 240 seconds]
mooser has quit [Remote host closed the connection]
outreachdan has joined #ruby
bkxd has quit [Ping timeout: 260 seconds]
workmad3 has joined #ruby
dionysus69 has joined #ruby
nankyokusei has joined #ruby
plantfood has quit [Quit: Leaving]
gk_1wm_su has joined #ruby
cagomez has joined #ruby
gk_1wm_su has left #ruby [#ruby]
mikecmpbll has quit [Ping timeout: 240 seconds]
jaequery has joined #ruby
Xiti has joined #ruby
gk_1wm_su has joined #ruby
gk_1wm_su has left #ruby [#ruby]
workmad3 has quit [Ping timeout: 245 seconds]
cagomez has quit [Ping timeout: 240 seconds]
workmad3 has joined #ruby
muelleme_ has joined #ruby
plantfood has joined #ruby
plantfood has quit [Read error: Connection reset by peer]
cfec0b8d has joined #ruby
aupadhye has quit [Ping timeout: 240 seconds]
workmad3 has quit [Ping timeout: 240 seconds]
cagomez has joined #ruby
tuxmachine__ has joined #ruby
tuxmachine__ has quit [Client Quit]
SeepingN has joined #ruby
tuxmachine__ has joined #ruby
nankyokusei has quit [Remote host closed the connection]
luckyrub_ has joined #ruby
cagomez has quit [Ping timeout: 260 seconds]
aupadhye has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
luckyrub_ has quit [Client Quit]
bronson has joined #ruby
luckyruby has quit [Ping timeout: 240 seconds]
tuxmachine__ has quit [Client Quit]
lxsameer has quit [Quit: WeeChat 1.5]
tuxmachine__ has joined #ruby
tuxmachine__ has quit [Client Quit]
ziarkaen has quit [Ping timeout: 252 seconds]
jusa has joined #ruby
lenwood has joined #ruby
tuxmachine__ has joined #ruby
__Yiota has joined #ruby
jusa has quit [Ping timeout: 260 seconds]
Qchmqs has quit [Ping timeout: 260 seconds]
tuxmachine__ has quit [Ping timeout: 255 seconds]
renchan has quit [Quit: Leaving...]
rgtk has quit [Ping timeout: 260 seconds]
war_pigs has quit [Quit: later... computer is sleeping]
lenwood has quit [Ping timeout: 255 seconds]
claudevandort has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
skweek has joined #ruby
tuxmachine__ has joined #ruby
Beams has quit [Quit: .]
dhollinger has quit [Ping timeout: 240 seconds]
dhollinger has joined #ruby
DroidBurgundy has quit [Remote host closed the connection]
bronson has quit [Remote host closed the connection]
DroidBurgundy has joined #ruby
lenwood has joined #ruby
_djbkd has joined #ruby
AndBobsYourUncle has joined #ruby
hfp has quit [Ping timeout: 245 seconds]
tuxmachine__ has quit [Ping timeout: 255 seconds]
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jrafanie has quit [Quit: Textual IRC Client: www.textualapp.com]
hfp_work has quit [Ping timeout: 240 seconds]
Fin1te has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
lenwood has quit [Read error: Connection reset by peer]
lenwood has joined #ruby
hfp has joined #ruby
hfp_work has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jrafanie has joined #ruby
ketan has quit [Remote host closed the connection]
ketan has joined #ruby
rakm has joined #ruby
cagomez has joined #ruby
tlaxkit has joined #ruby
govg has joined #ruby
insane_tesla has left #ruby [#ruby]
whathappens has joined #ruby
tvw has quit []
ketan has quit [Ping timeout: 240 seconds]
cagomez has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 268 seconds]
nowhere_man has quit [Ping timeout: 240 seconds]
yxadyx has quit [Remote host closed the connection]
gk_1wm_su has joined #ruby
gk_1wm_su has left #ruby [#ruby]
brout has joined #ruby
manjaro-kde5 has joined #ruby
cagomez has joined #ruby
knight33 has joined #ruby
lenwood has quit [Ping timeout: 240 seconds]
gusrub has quit [Remote host closed the connection]
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
gusrub has joined #ruby
gusrub has quit [Remote host closed the connection]
gusrub has joined #ruby
cagomez has quit [Ping timeout: 268 seconds]
minimalism has quit [Quit: minimalism]
claudevandort has joined #ruby
gk_1wm_su has joined #ruby
gk_1wm_su has left #ruby [#ruby]
millerti has joined #ruby
millerti has quit [Client Quit]
vuoto has joined #ruby
kristofferR has quit [Quit: Textual IRC Client: www.textualapp.com]
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
psychicist__ has joined #ruby
naprimer_2 has quit [Ping timeout: 252 seconds]
jamesaxl has joined #ruby
yokel has quit [Ping timeout: 268 seconds]
yokel has joined #ruby
yokel has quit [Changing host]
yokel has joined #ruby
jameser_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kristofferR has joined #ruby
skweek has quit [Ping timeout: 240 seconds]
kristofferR has quit [Client Quit]
Cohedrin has joined #ruby
naprimer_2 has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Epigene has joined #ruby
fnodeuser has joined #ruby
kristofferR has joined #ruby
oded has quit [Quit: Konversation terminated!]
skweek has joined #ruby
fnodeuser has left #ruby [#ruby]
mikecmpbll has joined #ruby
bonhoeffer_ has joined #ruby
jamesaxl has quit [Ping timeout: 240 seconds]
jamesaxl has joined #ruby
s2013 has joined #ruby
cagomez has joined #ruby
pupsicle has quit [Quit: pupsicle]
bonhoeffer_ has quit [Ping timeout: 268 seconds]
TomyLobo has joined #ruby
Fin1te has joined #ruby
cagomez has quit [Ping timeout: 252 seconds]
<LyndsySimon> I'm bending Ruby again, and I've run into an issue with variable scope. Can anyone tell me why `x` in this gist is not accessible in the scope where I'm trying to use it? https://gist.github.com/lyndsysimon/2289c70a9cf6ff2496b6217373f97273
<LyndsySimon> I guess more importantly, I'm looking for a way of passing a value from the outermost scope to the innermost.
govg_ has joined #ruby
govg has quit [Ping timeout: 260 seconds]
jdbrowne has quit [Ping timeout: 260 seconds]
vuoto has quit [Remote host closed the connection]
<baweaver> the things between do and end are blocks
<baweaver> and you're passing the blocks to module_eval
<LyndsySimon> Yes.
<baweaver> which will strip their native context
<baweaver> ie they have no idea what's outside, they were just told that module _is_ their outside
<LyndsySimon> Hmmm. There's a lot of misinformation out there then.
<baweaver> Is there?
bkxd has joined #ruby
<LyndsySimon> Yeah, one sec. I'll link you what I was reading.
<matthewd> e.g. that ^ ;)
SeepingN has quit [Read error: Connection reset by peer]
<matthewd> Only the def will break the scope
SeepingN has joined #ruby
<matthewd> You could use define_method instead
<baweaver> ah. Shenanigans
<LyndsySimon> baweaver: "The block inherits the scope from the context it is defined in"
war_pigs has joined #ruby
duderonomy has quit [Ping timeout: 240 seconds]
rgtk has joined #ruby
<LyndsySimon> baweaver: I'm not arguing - your explanation matches my observed behavior - just showing why I was confused.
<baweaver> Would have thought module_eval redefined the immediate scope
<baweaver> fair fair
cagomez has joined #ruby
<baweaver> I just never mess with those areas so I may not be a good source
<matthewd> It does in the sense that it changes self, but blocks can always see locals from outer scopes
toretore has quit [Ping timeout: 260 seconds]
<LyndsySimon> matthewd: Interesting. Let me tinker with define_method, one sec.
<LyndsySimon> matthewd: It works in my contrived example. So far so good :)
Robtop__ is now known as pwnd_nsfw
<matthewd> LyndsySimon: It has different results, as you might expect -- it retains a closure, so other things can be kept alive because they're still in scope
bonhoeffer has joined #ruby
<LyndsySimon> matthewd: Yep, that's *exactly* what I wanted. I expected my block to create a closure. The use of `def` was preventing inner closures from accessing the locals outside the def.
bkxd has quit [Ping timeout: 240 seconds]
<LyndsySimon> Yay! Want to see my actual use case?
futilegames has joined #ruby
cagomez has quit [Ping timeout: 255 seconds]
Bock has quit [Read error: Connection reset by peer]
cdg has quit [Ping timeout: 260 seconds]
nofxx has joined #ruby
nowhere_man has joined #ruby
millerti has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
crankharder has quit [Ping timeout: 260 seconds]
jamesaxl has joined #ruby
J3RN has joined #ruby
_djbkd has quit [Quit: My people need me...]
war_pigs has quit [Quit: later... computer is sleeping]
gk_1wm_su has joined #ruby
J3RN has left #ruby ["WeeChat 1.7"]
manjaro-kde5 has quit [Quit: Konversation terminated!]
manjaro-kde5 has joined #ruby
gk_1wm_su has left #ruby [#ruby]
jamesaxl has quit [Ping timeout: 240 seconds]
toretore has joined #ruby
jamesaxl has joined #ruby
enterprisey has joined #ruby
sumobob has quit [Ping timeout: 240 seconds]
jgt3 has quit [Ping timeout: 255 seconds]
aryaching has joined #ruby
patarr_ has quit [Ping timeout: 240 seconds]
ashinde_1 has joined #ruby
<ashinde_1> screen
<ashinde_1> ignore it
patarr has joined #ruby
war_pigs has joined #ruby
User458764 has joined #ruby
nankyokusei has joined #ruby
_djbkd has joined #ruby
roshanavand has joined #ruby
hahuang65 has quit [Ping timeout: 240 seconds]
war_pigs has quit [Client Quit]
knight33 has joined #ruby
war_pigs has joined #ruby
ashinde_1 has quit [Quit: Lost terminal]
nankyokusei has quit [Ping timeout: 260 seconds]
pilne has joined #ruby
jusa has joined #ruby
ozcanesen has joined #ruby
manjaro-kde5 has quit [Ping timeout: 255 seconds]
dagelf has quit [Remote host closed the connection]
dagelf has joined #ruby
Guest96_ has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
Guest96 has quit [Ping timeout: 252 seconds]
jusa has quit [Ping timeout: 240 seconds]
aknagi has joined #ruby
outreachdan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jamesaxl has joined #ruby
cagomez has joined #ruby
outreachdan has joined #ruby
_djbkd has quit [Quit: My people need me...]
govg_ has quit [Quit: Reconnecting]
govg has joined #ruby
gk_1wm_su has joined #ruby
patarr has quit [Ping timeout: 240 seconds]
jamesaxl has quit [Read error: Connection reset by peer]
cfec0b8d has quit [Ping timeout: 240 seconds]
manjaro-kde5 has joined #ruby
mndr has joined #ruby
jamesaxl has joined #ruby
gk_1wm_su has left #ruby [#ruby]
cagomez has quit [Ping timeout: 240 seconds]
haylon has quit [Remote host closed the connection]
hxegon is now known as hxegon_afk
brout has quit [Ping timeout: 268 seconds]
bronson has joined #ruby
patarr has joined #ruby
<allisio> LyndsySimon: Show me.
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
cschneid_ has quit []
cagomez has joined #ruby
patarr has quit [Ping timeout: 240 seconds]
Asher1 is now known as Asher
jamesaxl has quit [Ping timeout: 240 seconds]
jamesaxl has joined #ruby
cagomez has quit [Ping timeout: 240 seconds]
rikkipitt has joined #ruby
mooser has joined #ruby
bonhoeffer has quit [Ping timeout: 260 seconds]
bkxd has joined #ruby
jaruga has quit [Quit: jaruga]
ResidentBiscuit has quit [Ping timeout: 268 seconds]
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #ruby
muelleme_ has quit [Ping timeout: 240 seconds]
mooser has quit [Remote host closed the connection]
blackwind_123 has joined #ruby
bkxd has quit [Ping timeout: 260 seconds]
patarr has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
ResidentBiscuit has joined #ruby
jamesaxl has joined #ruby
gdonald has left #ruby ["Leaving"]
patarr_ has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
patarr has quit [Ping timeout: 260 seconds]
b3l914n has quit [Ping timeout: 252 seconds]
_sfiguser has joined #ruby
ResidentBiscuit has quit [Ping timeout: 260 seconds]
jamesaxl has joined #ruby
futilegames has quit [Quit: futilegames]
jrafanie has quit [Ping timeout: 240 seconds]
manjaro-kde5 has quit [Ping timeout: 252 seconds]
jgt3 has joined #ruby
hahuang65 has joined #ruby
Guest96 has joined #ruby
deepworld has joined #ruby
bronson has quit [Remote host closed the connection]
bronson has joined #ruby
Guest96_ has quit [Ping timeout: 240 seconds]
jamesaxl has quit [Read error: Connection reset by peer]
jgt3 has quit [Ping timeout: 260 seconds]
pupsicle has joined #ruby
jamesaxl has joined #ruby
djbkd has quit [Ping timeout: 264 seconds]
kristofferR has quit [Quit: Textual IRC Client: www.textualapp.com]
yqt has joined #ruby
GodFather has joined #ruby
* hanmac is now a locomotion because he is steam powered ;p
synthroi_ has quit []
djbkd has joined #ruby
jamesaxl has quit [Ping timeout: 260 seconds]
ged has quit [Quit: WeeChat 1.4]
mahlon has quit [Quit: nine foot long outhouse ladle]
jamesaxl has joined #ruby
rikkipitt has quit [Remote host closed the connection]
<Verity> Ruby paid off! The next lab involved changing the Serial port file transfer utility to use TCP instead
<Verity> total time to complete this task in ruby: 15 minutes :)
dhollinger has quit [Ping timeout: 240 seconds]
jamesaxl has quit [Read error: Connection reset by peer]
<Verity> It would have gone faster but I forgot to wrap some of the calls to getbyte so I had to change that over. I'll be more careful next time
dhollinger has joined #ruby
jamesaxl has joined #ruby
impermanence has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
patarr_ has quit [Ping timeout: 260 seconds]
DWSR has quit [Ping timeout: 260 seconds]
guacamole has quit [Quit: leaving]
brout has joined #ruby
yokel has quit [Ping timeout: 260 seconds]
mndr has quit [Ping timeout: 240 seconds]
sumobob has joined #ruby
skweek has quit [Ping timeout: 260 seconds]
ResidentBiscuit has joined #ruby
stomar has joined #ruby
pwnd_nsfw` has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
yokel has joined #ruby
sumobob has quit [Ping timeout: 255 seconds]
pwnd_nsfw has quit [Ping timeout: 240 seconds]
cdg has joined #ruby
nowhere_man has quit [Remote host closed the connection]
nowhere_man has joined #ruby
<apeiros> Verity: great :)
impermanence has joined #ruby
bronson has quit [Remote host closed the connection]
rgr has quit [Remote host closed the connection]
outreachdan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
impermanence has quit [Client Quit]
Rodya_ has quit [Remote host closed the connection]
rgr has joined #ruby
skweek has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
bkxd has joined #ruby
Eksiker has joined #ruby
Eksiker has quit [Quit: leaving]
Fin1te has quit [Quit: Later, tater.]
bkxd has quit [Ping timeout: 260 seconds]
sumobob has joined #ruby
outreachdan has joined #ruby
Antiarc has joined #ruby
kristofferR has joined #ruby
stomar has quit [Quit: Konversation terminated!]
rikkipitt has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lxsameer has joined #ruby
User458764 has joined #ruby
mooser has joined #ruby
mooser has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 240 seconds]
ledestin has joined #ruby
jgt3 has joined #ruby
outreachdan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
guacamole has joined #ruby
workmad3 has joined #ruby
jgt3 has quit [Ping timeout: 240 seconds]
nowhere_man has quit [Remote host closed the connection]
ozcanesen has quit [Quit: Textual IRC Client: www.textualapp.com]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ozcanesen has joined #ruby
<LyndsySimon> allisio: Can you remind me tomorrow? I'm about to head out now, and I've got all kinds of business logic woven into the classes now.
nankyokusei has joined #ruby
aryaching_ has joined #ruby
aryaching has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jrafanie has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
VeryBewitching has quit [Quit: Konversation terminated!]
nankyokusei has quit [Ping timeout: 255 seconds]
patarr has joined #ruby
govg has quit [Ping timeout: 240 seconds]
rgr has quit [Ping timeout: 240 seconds]
rgr_ has joined #ruby
govg has joined #ruby
DroidBurgundy has quit []
jdm has quit [Quit: Leaving]
Epigene has quit [Remote host closed the connection]
jdm has joined #ruby
duderonomy has joined #ruby
outreachdan has joined #ruby
mahlon has joined #ruby
cagomez has joined #ruby
tvw has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
s2013 has joined #ruby
rgtk has quit [Ping timeout: 240 seconds]
s2013 has quit [Client Quit]
Snickers has quit [Quit: Snickers]
rikkipitt has quit [Remote host closed the connection]
Snickers has joined #ruby
jgt3 has joined #ruby
al2o3-cr has joined #ruby
jenrzzz has joined #ruby
roshanavand has quit [Quit: roshanavand]
maattdd has joined #ruby
tlaxkit has quit [Quit: ¡Adiós!]
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
cardboard64 has joined #ruby
outreachdan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
b3l914n_ has joined #ruby
ldnunes has quit [Quit: Leaving]
JeanCarloMachado has joined #ruby
Violex has joined #ruby
cagomez has quit [Remote host closed the connection]
Rodya_ has joined #ruby
cagomez has joined #ruby
war_pigs has quit [Quit: later... computer is sleeping]
ged has joined #ruby
mim1k has joined #ruby
Rodya_ has quit [Ping timeout: 252 seconds]
cagomez has quit [Ping timeout: 240 seconds]
Antiarc has quit [Remote host closed the connection]
Antiarc has joined #ruby
bkxd has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
Arpanet69 has joined #ruby
war_pigs has joined #ruby
jtperreault has quit [Ping timeout: 260 seconds]
[Butch] has quit [Quit: I'm out . . .]
aupadhye has quit [Ping timeout: 252 seconds]
bkxd has quit [Ping timeout: 260 seconds]
outreachdan has joined #ruby
<mikecmpbll> anyone familiar with state machine libraries and can recommend one?
guacamole has quit [Quit: leaving]
guacamole has joined #ruby
<baweaver> state_machine seemed straightforward, never used it though
<mikecmpbll> yeah. they all look kind of bewildering to me.
<mikecmpbll> i assume state_machine monkey patches Class or something
ramortegui has quit [Quit: Ex-Chat]
mephistophocles has quit [Ping timeout: 255 seconds]
rikkipitt has joined #ruby
mephistophocles has joined #ruby
pupsicle has quit [Quit: pupsicle]
yqt has quit [Ping timeout: 240 seconds]
pupsicle has joined #ruby
griff has joined #ruby
pupsicle has quit [Client Quit]
cardboard128 has joined #ruby
mooser has joined #ruby
hahuang65 has quit [Ping timeout: 252 seconds]
cardboard64 has quit [Ping timeout: 245 seconds]
skweek has quit [Remote host closed the connection]
GodFather has quit [Ping timeout: 252 seconds]
skweek has joined #ruby
GodFather has joined #ruby
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
domgetter has joined #ruby
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bronson has joined #ruby
elsevero has joined #ruby
Azure has joined #ruby
swgillespie has quit []
jdm has quit [Remote host closed the connection]
chrisgopher has joined #ruby
oliv_____ has joined #ruby
safetypin has quit [Ping timeout: 240 seconds]
Violex has quit [Ping timeout: 260 seconds]
rikkipitt has quit [Quit: Leaving...]
oliv_____ has quit [Client Quit]
nchambers has joined #ruby
<nchambers> Hello! I'm building a command line app, and I'm wondering what is the recommended package format/layout, if that makes sense
Rodya_ has joined #ruby
war_pigs has quit [Quit: later... computer is sleeping]
war_pigs has joined #ruby
roshanavand has joined #ruby
croberts has quit [Quit: No Ping reply in 180 seconds.]
Toledo has joined #ruby
Verity has quit [Remote host closed the connection]
Robtop__ has joined #ruby
<baweaver> nchambers: generate a new gem basically
<SeepingN> a .rb file which load Trollop
Verity has joined #ruby
cardboard128 has left #ruby [#ruby]
<SeepingN> trollop has been a godsend for my ruby scripts
<nchambers> baweaver: so something like this: http://robdodson.me/how-to-write-a-command-line-ruby-gem/ ?
<baweaver> then the actual app will be in the exe folder
<baweaver> probably, need to read it first
<nchambers> ok
<nchambers> it sounds pretty similar to what you're saying
<baweaver> looks like it
<SeepingN> did you want a gem?
<baweaver> but bin was changed to exe
<SeepingN> I thought you said app
<nchambers> SeepingN: sure
<baweaver> there's a difference?
<baweaver> a gem is an app in some cases
<baweaver> that's standardly how you package anything in Ruby
pavelz has quit [Quit: gtg]
<SeepingN> to be included into somehting
<SeepingN> this IS the thing, to include gems into
<nchambers> I mean, gem install bundler # this installs the bundle program
Violex has joined #ruby
Arpanet69 has quit [Ping timeout: 268 seconds]
pwnd_nsfw` has quit [Ping timeout: 268 seconds]
<SeepingN> cp myrubyscriptfromhell /usr/local/bin/
Violex has quit [Client Quit]
<baweaver> The idea behind a CLI gem is to have an executable for running straight and the libs for building other utils off of
roshanavand has quit [Quit: roshanavand]
impermanence has joined #ruby
wrkrcoop has joined #ruby
<wrkrcoop> do i need to close a file in ruby if i use open?
<elomatreb> If you use the block form it is closed for you, if not you need to do it yourself
<wrkrcoop> seems like there’s a memory leak … wondering if that is the problem
<wrkrcoop> elomatreb: u mean we use { } or do end
<elomatreb> File.open(path) { do stuff with it } vs handle = File.open(path)
<wrkrcoop> ok yeah we are using the { do stuff } approach
<SeepingN> yer good
<SeepingN> it's "implied"
<wrkrcoop> kk cool
_sfiguser has quit [Quit: Leaving]
bronson has quit [Remote host closed the connection]
patarr has quit [Ping timeout: 252 seconds]
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
rakm has joined #ruby
JeanCarloMachado has quit [Ping timeout: 240 seconds]
workmad3 has quit [Ping timeout: 240 seconds]
patarr has joined #ruby
Toledo is now known as croberts
war_pigs has quit [Quit: later... computer is sleeping]
war_pigs has joined #ruby
cdg has quit [Remote host closed the connection]
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
claudevandort has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
patarr has quit [Ping timeout: 240 seconds]
deepworld has left #ruby [#ruby]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
SeepingN has joined #ruby
esObe has quit [Remote host closed the connection]
rgr_ has quit [Remote host closed the connection]
jud has quit [Quit: Leaving]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rgr_ has joined #ruby
jhack has joined #ruby
nankyokusei has joined #ruby
xenops has quit [Quit: Textual IRC Client: www.textualapp.com]
ramfjord has joined #ruby
b3l914n_ has quit [Ping timeout: 255 seconds]
jdm has joined #ruby
nankyokusei has quit [Ping timeout: 252 seconds]
enterprisey has quit [Remote host closed the connection]
griff has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wrkrcoop has quit [Quit: wrkrcoop]
lxsameer has quit [Quit: WeeChat 1.7]
al2o3-cr has quit [Ping timeout: 240 seconds]
outreachdan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
outreachdan has joined #ruby
tvw has quit [Remote host closed the connection]
outreachdan has quit [Client Quit]
brout has quit [Ping timeout: 245 seconds]
dionysus69 has quit [Quit: dionysus69]
dionysus69 has joined #ruby
rakm has joined #ruby
patarr has joined #ruby
war_pigs has quit [Quit: later... computer is sleeping]
narval has quit [Ping timeout: 240 seconds]
outreachdan has joined #ruby
Snickers has quit [Quit: Snickers]
ozcanesen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ztkz has joined #ruby
war_pigs has joined #ruby
patarr has quit [Ping timeout: 268 seconds]
<impermanence> Am I write in thinking that regarding the IO class read and open can be called without dot notatioin (i.e. read(my_file), open(my_file)) but write must use dot notation (i.e. IO.write(my_file, "my_test"))?
<impermanence> right, that is, lol.
<impermanence> I couldn't get write to function without calling it as IO.write(my_file, "my test")
<SeepingN> perhaps the "read" you're calling isn't IO.read
<SeepingN> ..!
mim1k has joined #ruby
<impermanence> and I was assuming it was so that could be.
<impermanence> File?
<impermanence> maybe not :(
<Radar> Kernel?
ztkz is now known as mhrc
<Radar> I can't call `read/1`... impermanence: where did this question come from?
patarr has joined #ruby
<Radar> What is `open` in this context?
<Radar> Oh I am being an idiot never mind.
<Radar> I thought this was #elixir-lang :( Radar needs to wake up.
<impermanence> I wrote my code expression wrong above as well.
<impermanence> I meant my_file.read
<Radar> impermanence: The clue of where .read is defined can be found by doing open(file).class
<impermanence> I guess what I was really asking is why: open(my_file) but not possible: write(my_file, "my text")
<impermanence> Radar: ah. k.
mhrc is now known as ztkz
bkxd has joined #ruby
<Radar> I don't know why Kernel#open is a thing but Kernel#write isn't.
<impermanence> Radar: yeah...
mim1k has quit [Ping timeout: 260 seconds]
dviola has joined #ruby
<impermanence> anyway: File.
<Radar> Bingo.
patarr has quit [Ping timeout: 240 seconds]
<impermanence> Radar: well...I see that open is in File...but I don't think read is in File...?
<Radar> Welcome to the wonderful world of superclasses in Ruby.
<Radar> File.ancestors will give you places to look.
elsevero has quit [Quit: elsevero]
wrkrcoop has joined #ruby
impermanence has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
bkxd has quit [Ping timeout: 240 seconds]
millerti has quit [Read error: Connection reset by peer]
impermanence has joined #ruby
bdonnahue has joined #ruby
war_pigs has quit [Quit: later... computer is sleeping]
<impermanence> Sorry I dropped for a second.
<impermanence> Radar: I don't know if you had a chance to respond, but .read isn't present in the doc I have for File...
<Radar> [09:27:44] <Radar>Welcome to the wonderful world of superclasses in Ruby.
<Radar> [09:27:58] <Radar>File.ancestors will give you places to look.
<impermanence> Radar: also: what is the significance of .read vs something like .read()?
<impermanence> ^^ kk
<impermanence> silly emoji. that was supposed to acknowledge your above comment.
<impermanence> so do the ancestors proceed in hierarchy then from left to right? i.e. [File ... BasicObject]?
kristofferR has quit [Remote host closed the connection]
marxarelli has joined #ruby
alan_w has joined #ruby
coffeejunk has quit [Ping timeout: 264 seconds]
enterprisey has joined #ruby
whathappens has quit [Quit: Leaving...]
esObe has joined #ruby
impermanence has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
zeroDivisible has quit [Ping timeout: 260 seconds]
psychicist__ has quit [Quit: Lost terminal]
skweek has quit [Ping timeout: 260 seconds]
badeball has quit [Ping timeout: 240 seconds]
badeball has joined #ruby
esObe has quit [Ping timeout: 260 seconds]
iceden has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
sysanthrope has quit [Remote host closed the connection]
dagelf has quit [Remote host closed the connection]
ElderFain has quit [Ping timeout: 260 seconds]
zeroDivisible has joined #ruby
ElderFain has joined #ruby
dagelf has joined #ruby
sysanthrope has joined #ruby
zeroDivisible has quit [Ping timeout: 252 seconds]
claudevandort has joined #ruby
sysanthrope has quit [Remote host closed the connection]
zeroDivisible has joined #ruby
esObe has joined #ruby
sysanthrope has joined #ruby
wrkrcoop has quit [Quit: wrkrcoop]
impermanence has joined #ruby
hahuang65 has joined #ruby
outreachdan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Lord_of_Life has quit [Quit: EliteBNC free bnc service - http://elitebnc.org - be a part of the Elite!]
<Radar> impermanence: yes that's right
impermanence has quit [Client Quit]
esObe has quit [Ping timeout: 240 seconds]