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]
<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]
<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…]
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
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]
<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_>
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_: 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
<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
<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
<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.]
<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…]
<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. :)
<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]
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"))?