Pupeno has quit [Remote host closed the connection]
bb010g has joined #ruby
kobain has joined #ruby
asmodlol has joined #ruby
tmtwd_ has joined #ruby
zacts has joined #ruby
nso95- has quit [Remote host closed the connection]
zacstewart has joined #ruby
waka has quit [Remote host closed the connection]
waka has joined #ruby
glenn_ has quit [Quit: Konversation terminated!]
waka has quit [Remote host closed the connection]
asmodlol has quit [Ping timeout: 260 seconds]
nullFxn has joined #ruby
<jackcom>
ruby have concept of nested function?
asmodlol has joined #ruby
mattwildig has joined #ruby
slackbotgz has quit [Remote host closed the connection]
slackbotgz has joined #ruby
th0m_ has joined #ruby
<jackcom>
hello
<jackcom>
:)
NeverDie has joined #ruby
hkumar has quit [Quit: Leaving]
asmodlol has quit [Ping timeout: 240 seconds]
asmodlol has joined #ruby
maloik has joined #ruby
hdm has joined #ruby
rubybaby has joined #ruby
<hdm>
anyone remember off-hand how to check the class name of a VALUE in an extension? strcmp("Something::Something", rb_class_name(some_obj)) == 0 seems like the wrong approach
dlitvak has joined #ruby
<rubybaby>
that's cool
<hdm>
RCLASS(obj) == RCLASS(class_val) my grep foo is failing
Channel6 has quit [Read error: Connection reset by peer]
gambl0re has joined #ruby
zacstewa_ has joined #ruby
rubybaby has quit [Client Quit]
maloik has quit [Ping timeout: 260 seconds]
dotix has joined #ruby
zacstewart has quit [Ping timeout: 265 seconds]
dascodeman has joined #ruby
eaxxae has joined #ruby
Kyuujitsu has joined #ruby
dascodeman has quit [Client Quit]
dotix has quit [Ping timeout: 264 seconds]
Kyuujitsu has quit [Ping timeout: 240 seconds]
jackcom has quit [Quit: jackcom]
zacstewart has joined #ruby
calderonroberto has quit [Ping timeout: 260 seconds]
zacstewart has quit [Client Quit]
zacstewa_ has quit [Ping timeout: 264 seconds]
asmodlol has quit [Ping timeout: 265 seconds]
senayar has quit [Remote host closed the connection]
inteq has joined #ruby
yqt has quit [Ping timeout: 260 seconds]
sfmk has joined #ruby
senayar has joined #ruby
linuxboytoo has quit [Remote host closed the connection]
linuxboytoo has joined #ruby
karapetyan has quit [Remote host closed the connection]
juddey has quit [Ping timeout: 260 seconds]
slackbotgz has quit [Remote host closed the connection]
favadi has joined #ruby
elton has joined #ruby
rigsby has quit [Ping timeout: 260 seconds]
senayar has quit [Ping timeout: 260 seconds]
linuxboytoo has quit [Ping timeout: 260 seconds]
diegoaguilar has quit [Ping timeout: 264 seconds]
gustav has joined #ruby
senayar has joined #ruby
senayar has quit [Changing host]
senayar has joined #ruby
elton has quit [Ping timeout: 265 seconds]
NaiKujibo has joined #ruby
NaiKujibo has left #ruby [#ruby]
nej has joined #ruby
mary5030 has joined #ruby
nej is now known as ja
gustav has quit [Ping timeout: 260 seconds]
blackmes1 has joined #ruby
hxegon has quit [Ping timeout: 265 seconds]
B1n4r10 has joined #ruby
hxegon has joined #ruby
ledestin has joined #ruby
nullFxn has quit [Quit: leaving]
nso95- has joined #ruby
diegoaguilar has joined #ruby
calderonroberto has joined #ruby
blackmes1 has quit [Ping timeout: 246 seconds]
Backz has joined #ruby
Backz has quit [Remote host closed the connection]
Rollabunna has joined #ruby
juddey has joined #ruby
nso95- has quit [Remote host closed the connection]
Backz has joined #ruby
Backz has quit [Read error: Connection reset by peer]
fedexo has joined #ruby
Rollabunna has quit [Ping timeout: 246 seconds]
Bellthoven has joined #ruby
senayar has quit []
vdamewood has quit [Quit: Life beckons.]
JazzyVariable227 has joined #ruby
favadi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
voodo has joined #ruby
zacts has quit [Quit: WeeChat 1.3]
voodo has quit [Ping timeout: 264 seconds]
dotix has joined #ruby
dotix has joined #ruby
JazzyVariable227 has quit [Remote host closed the connection]
mattwildig has quit [Remote host closed the connection]
Kyuujitsu has joined #ruby
dotix has quit [Ping timeout: 240 seconds]
zacts has joined #ruby
ss_much has quit [Quit: Connection closed for inactivity]
Kyuujitsu has quit [Ping timeout: 240 seconds]
favadi has joined #ruby
iateadonut has joined #ruby
iateadonut has quit [Client Quit]
tubuliferous_ has quit [Ping timeout: 240 seconds]
Bellthoven has quit []
scripore has quit [Quit: This computer has gone to sleep]
elton has joined #ruby
krz has joined #ruby
mistermocha has joined #ruby
HarryKuntz has joined #ruby
<HarryKuntz>
how is ruby used besides rails?
Zamerick has quit [Read error: Connection reset by peer]
<ja>
for whatever you'd like, HarryKuntz
<ja>
a lot of people use it for scripting things
elton has quit [Ping timeout: 265 seconds]
<ja>
for the same things you'd use Perl or shell scripting, for instance
<ja>
+for
HarryKuntz has quit [Disconnected by services]
HarryKuntz has joined #ruby
<HarryKuntz>
but aren't rails apps technically scripts?
<ja>
HarryKuntz: quoting Wikipedia: “The term "scripting language" is also used loosely to refer to dynamic high-level general-purpose language, such as Perl,[1] Tcl, and Python,[2] with the term "script" often used for small programs (up to a few thousand lines of code) in such languages”
<ja>
“small programs”
Yzguy has joined #ruby
<ja>
so that depends on your definition, but yes, Ruby is definitely a dynamic high-level general-purpose language
Bubaphex has joined #ruby
<Yzguy>
anyone have experience with the inifile gem?
<xybre>
If you squint so is Java.
arescorpio has joined #ruby
<HarryKuntz>
so is c but nobody uses c anymore
User458764 has joined #ruby
<xybre>
C doesn't qualify because it's low lvel, not dynamic, and compiled.
<ja>
what xybre said
<Radar>
HarryKuntz: Please change your name.
<HarryKuntz>
Radar: are we not allowed to use our real names?
<Yzguy>
When using the inifile gem, when you do like ini.write, it writes out the file, but all the comments in the original file are gone
dlitvak has quit [Remote host closed the connection]
<Yzguy>
so i'm just playing with it, but so the "original" is the actual file, the new one is what the output is after doing that ini.write
<Yzguy>
all the comments go away, curious if there is a way to keep the comments
iateadonut has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
krz has quit [Quit: WeeChat 1.2]
blackmes1 has quit [Ping timeout: 246 seconds]
<Yzguy>
oh i think i see the solution
<Yzguy>
on the initialize you can say :comment = "#", and i think it should recognize it
<ja>
Yzguy: “Comment lines are ignored when parsing INI files.” — I’m not sure, but it could sound like comments aren’t even parsed and therefore cannot be written out again.
<Yzguy>
yeah thats what i thought, lemme try this comment param real quick
<Radar>
!ban HarryKuntz !T 1d
<ja>
Spoiler: It won’t work. Sorry.
vikaton has quit [Quit: Connection closed for inactivity]
<Radar>
!ban HarryKuntz !T 1D
<Radar>
Ruboto is offline. Sad.
HarryKuntz was kicked from #ruby by ChanServ [User is banned from this channel]
<xybre>
Yzguy: yep, and you can even parameterize the filename if you end up wanting to reuse the same pattern for other files.
<Yzguy>
I just did my :wq on doing that exactly :P
<ja>
Really? I'm so anti-hip I haven't even noticed. Imma start using it now though.
<xybre>
Yzguy: :D
* xybre
variablizes ja
<Yzguy>
"Yeahhh, this is all wrong. You gotta variablize everything....here, here, definitely here. Are you sure you're a developer?"
* xybre
class variablizes @@Yzguy
braincrash has joined #ruby
* ja
constantizes xybre
blackmes1 has quit [Ping timeout: 246 seconds]
Rollabunna has joined #ruby
<Xybre>
D:
<Xybre>
Ech, looks weird capitalized.
<ja>
hahaha
<ja>
sorry, xybre
B1n4r10 has joined #ruby
<ja>
it should've been all caps, xybre ʘ‿ʘ
<xybre>
Technically, anything starting with a capital is a constant in Ruby, like class names and modules.
Rollabunna has quit [Ping timeout: 265 seconds]
ebbflowgo has quit [Quit: ebbflowgo]
darkf_ has joined #ruby
<jackcom>
ruby have a concept of nested function?
minimalism has quit [Quit: leaving]
weemsledeux has joined #ruby
waka has joined #ruby
<Radar>
no jackcom
<jackcom>
Radar: no :(
johnny56 has quit [Ping timeout: 265 seconds]
<Radar>
jackcom: Why so depressed about it?
<jackcom>
nested function is very good
<jackcom>
why ruby don’t have it?
<Radar>
I honestly can't tell if you trolling or not.
<Radar>
Explain why you think you need it.
<jackcom>
because it is good for frame work.
<jackcom>
Radar:
<Radar>
jackcom: Ok, definitely trolling. You're doing a crap job of explaining yourself.
<Radar>
Rails does fine without nested functions.
<blubjr>
in ruby, i think you just use private methods jackcom
<jackcom>
lol i m not troll
ebbflowgo has joined #ruby
<jackcom>
private method?
<jackcom>
i don’t know private method?
johnny56 has joined #ruby
<Radar>
blubjr: what
<Radar>
jackcom: What is the purpose of a nested function? Explain IN CODE why you would want a nested function?
<blubjr>
as the solution of helper functions not polluting your namespace
<blubjr>
implementation hiding
<jackcom>
Radar: i can’t explain it because it is too complicated.
* Radar
literally can't even.
<Radar>
jackcom: Ok, definitely convinced you're a troll now. Putting you on ignore/
DurstBurger has joined #ruby
<jackcom>
no
<jackcom>
i m innocent and kind
ebbflowgo has quit [Read error: Connection reset by peer]
<blubjr>
radar: am i confused about something
<Radar>
Sure you are.
<blubjr>
what..
mattwildig has joined #ruby
<Radar>
blubjr: "I am confused about something" "Yes, that is likely" "???"
vdamewood has joined #ruby
<Radar>
DOUBLE CONFUSIN
<Radar>
I also appreciate that you pinged me just to tell me that you're confused about something without actually telling me about the thing that you're confused with.
<Radar>
Almost like that you don't care that I have Real Work(tm) to be doing instead?
arescorpio has quit [Ping timeout: 260 seconds]
<jackcom>
Radar: you can hear my saying?
<blubjr>
i was asking if i was....you didnt like my first answer and you didn't acknowledge my second
<blubjr>
i thought maybe i misunderstood what you were talking about or something
Kyuujitsu has joined #ruby
Guest36263 has quit [Ping timeout: 240 seconds]
baweaver has joined #ruby
mattwildig has quit [Ping timeout: 240 seconds]
yeshacker has joined #ruby
solocshaw has quit [Ping timeout: 240 seconds]
gix has joined #ruby
<blubjr>
Radar: was there a problem with my answer, i thought it was pretty straight forward
<Radar>
blubjr: Yes. I don't understand what helper methods have to do with nested functions at all.
<Radar>
private methods are something completely different to what jackcom is asking for
Kyuujitsu has quit [Ping timeout: 265 seconds]
<blubjr>
Radar: in languages that have nested functions thats normally where you put them, inside the function they're helping
<jackcom>
yes right private method != nested function.
<Radar>
Ok, I misunderstood.
tubuliferous_ has joined #ruby
<Radar>
(This is why I emphasise that people should show code)
cwong_on_irc has quit [Quit: Leaving.]
gigetoo has joined #ruby
minimalism has joined #ruby
raeoks has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby
pawnbox has joined #ruby
elton has quit [Ping timeout: 240 seconds]
bMalum has joined #ruby
brunto has joined #ruby
safe has quit [Quit: Leaving]
devbug has quit [Ping timeout: 240 seconds]
tubuliferous_ has quit [Ping timeout: 240 seconds]
cgfbee has joined #ruby
xMopxShell has quit [Excess Flood]
nirix has joined #ruby
Rollabunna has joined #ruby
xMopxShell has joined #ruby
BraddPitt has joined #ruby
amoeba has joined #ruby
scottstamp has joined #ruby
sandstrom has joined #ruby
patronus has quit [Excess Flood]
patronus has joined #ruby
gustav has joined #ruby
xybre has joined #ruby
Aww has quit [Excess Flood]
TomyWork has joined #ruby
cookiez has joined #ruby
Aww has joined #ruby
Rollabunna has quit [Ping timeout: 240 seconds]
rdark has joined #ruby
johnny56 has joined #ruby
Hounddog has joined #ruby
karapetyan has joined #ruby
Hounddog has quit [Excess Flood]
angiebadillo has joined #ruby
Xeago has joined #ruby
troulouliou_div2 has joined #ruby
jetpackjoe has joined #ruby
Hounddog has joined #ruby
patronus_ has joined #ruby
Guest12682 is now known as tjad
rdark has quit [*.net *.split]
TomyWork has quit [*.net *.split]
gustav has quit [*.net *.split]
dimasg has quit [*.net *.split]
roger_rabbit has quit [*.net *.split]
chridal has quit [*.net *.split]
digneety has quit [*.net *.split]
yasu__ has quit [*.net *.split]
ElSif has quit [*.net *.split]
Outlastsheep has quit [*.net *.split]
Sp4rKy has quit [*.net *.split]
conrfrmn has quit [*.net *.split]
Engin has quit [*.net *.split]
pietr0 has quit [*.net *.split]
pragmatism has quit [*.net *.split]
elem has quit [*.net *.split]
lkba has quit [*.net *.split]
L1nuX- has quit [*.net *.split]
erichmenge has quit [*.net *.split]
df has quit [*.net *.split]
Cohedrin has quit [*.net *.split]
boshhead_ has quit [*.net *.split]
ltd_ has quit [*.net *.split]
Apocalypse has quit [*.net *.split]
bakedb has quit [*.net *.split]
mozzarella has quit [*.net *.split]
utkarsh has quit [*.net *.split]
kadoppe_ has quit [*.net *.split]
hypnosb has quit [*.net *.split]
forgot has quit [*.net *.split]
klaas has quit [*.net *.split]
FastJack has quit [*.net *.split]
ekleog has quit [*.net *.split]
mprelude has quit [*.net *.split]
rfv has quit [*.net *.split]
mrtomme has quit [*.net *.split]
haasn has quit [*.net *.split]
absolutejam has quit [*.net *.split]
eam has quit [*.net *.split]
jonathanwallace has quit [*.net *.split]
5EXAALLKZ has quit [*.net *.split]
coffeejunk has quit [*.net *.split]
KillerFox has quit [*.net *.split]
mame2 has quit [*.net *.split]
_mh_ has quit [*.net *.split]
ltd has joined #ruby
klaas has joined #ruby
eam has joined #ruby
bakedb has joined #ruby
rdark has joined #ruby
rdark has quit [Changing host]
rdark has joined #ruby
Apocalypse has joined #ruby
pragmatism has joined #ruby
boshhead has joined #ruby
chridal has joined #ruby
codecop has joined #ruby
pietr0 has joined #ruby
df has joined #ruby
cookiez has quit [Ping timeout: 264 seconds]
digneety has joined #ruby
mprelude has joined #ruby
gustav has joined #ruby
mmitchell has joined #ruby
L1nuX has joined #ruby
aps has joined #ruby
kadoppe has joined #ruby
haasn has joined #ruby
roger_rabbit has joined #ruby
ekleog has joined #ruby
s1kx_ has joined #ruby
aps is now known as Guest47401
rfv has joined #ruby
Engin has joined #ruby
yasu__ has joined #ruby
conrfrmn has joined #ruby
null2 has joined #ruby
lurch_ has joined #ruby
mozzarella has joined #ruby
juddey has quit [Ping timeout: 240 seconds]
utkarsh has joined #ruby
FastJack has joined #ruby
catbusters has joined #ruby
mistym has quit [Ping timeout: 272 seconds]
absolutejam has joined #ruby
mistym- has joined #ruby
aryaching has quit [Ping timeout: 244 seconds]
teotwaki has joined #ruby
gustav_ has joined #ruby
avelldiroll has quit [Excess Flood]
mistermocha has quit [Ping timeout: 240 seconds]
n1ftyn8_ has joined #ruby
mmitchel_ has joined #ruby
eggoez has joined #ruby
xybr_ has joined #ruby
avelldiroll has joined #ruby
ltd_ has joined #ruby
krz has quit [Read error: Connection reset by peer]
bMalum has quit [Ping timeout: 240 seconds]
rdark_ has joined #ruby
Xeago_ has joined #ruby
nofxx has quit [Ping timeout: 245 seconds]
maxmanders has quit [Excess Flood]
pawnbox has quit [Ping timeout: 240 seconds]
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
null3 has joined #ruby
rfv_ has joined #ruby
spectra_ has joined #ruby
L1nuX- has joined #ruby
sapslaj_ has joined #ruby
Karunamon has joined #ruby
xybre has quit [Disconnected by services]
xybr_ is now known as xybre
erichmenge has joined #ruby
m4rCsi has joined #ruby
jamto11 has joined #ruby
chridal_ has joined #ruby
lokulin has joined #ruby
lurch_ has quit [*.net *.split]
Engin has quit [*.net *.split]
L1nuX has quit [*.net *.split]
Apocalypse has quit [*.net *.split]
ltd has quit [*.net *.split]
pragmatism has quit [*.net *.split]
jetpackjoe has quit [*.net *.split]
nirix has quit [*.net *.split]
Guest10512 has quit [*.net *.split]
johnny56 has quit [*.net *.split]
Aww has quit [*.net *.split]
patronus has quit [*.net *.split]
scottstamp has quit [*.net *.split]
amoeba has quit [*.net *.split]
BraddPitt has quit [*.net *.split]
null2 has quit [*.net *.split]
ekleog has quit [*.net *.split]
gustav has quit [*.net *.split]
rdark has quit [*.net *.split]
eam has quit [*.net *.split]
Xeago has quit [*.net *.split]
tuor has quit [*.net *.split]
TTilus has quit [*.net *.split]
driftig has quit [*.net *.split]
m4rCsi_ has quit [*.net *.split]
sapslaj has quit [*.net *.split]
bier_ has quit [*.net *.split]
Kuukunen has quit [*.net *.split]
conrfrmn has quit [*.net *.split]
rfv has quit [*.net *.split]
Guest47401 has quit [*.net *.split]
mmitchell has quit [*.net *.split]
mprelude has quit [*.net *.split]
digneety has quit [*.net *.split]
pietr0 has quit [*.net *.split]
df has quit [*.net *.split]
bakedb has quit [*.net *.split]
chridal has quit [*.net *.split]
patronus_ has quit [*.net *.split]
pawnbox has joined #ruby
ElderFain has joined #ruby
kadoppe has quit [*.net *.split]
roger_rabbit has quit [*.net *.split]
klaas has quit [*.net *.split]
troulouliou_div2 has quit [*.net *.split]
pestle has quit [*.net *.split]
bodie_ has quit [*.net *.split]
jatb has quit [*.net *.split]
sshuff|gone has quit [*.net *.split]
bhorn1 has quit [*.net *.split]
aps_ has joined #ruby
rfv_ is now known as rfv
nirix has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
jamto11 has quit [Ping timeout: 240 seconds]
Aww has joined #ruby
gustav_ has quit [Remote host closed the connection]
Davey has joined #ruby
Davey has quit [Changing host]
Davey has joined #ruby
Apocalypse has joined #ruby
klaas has joined #ruby
troulouliou_div2 has joined #ruby
nettoweb has joined #ruby
vayan has joined #ruby
patronus has joined #ruby
mistym has joined #ruby
mistym has joined #ruby
utkarsh_ has joined #ruby
Coral has joined #ruby
Arnvald_ has joined #ruby
null__ has joined #ruby
null__ has joined #ruby
pawnbox_ has joined #ruby
karapety_ has joined #ruby
cookiez has joined #ruby
Coral is now known as Guest47729
jonathanwallace has joined #ruby
driftig has joined #ruby
blaxter has joined #ruby
mmitchell has joined #ruby
joonty has joined #ruby
ghormoon has joined #ruby
User458764 has joined #ruby
nirix_ has joined #ruby
dionysus69 has quit [Ping timeout: 260 seconds]
<Guest47729>
Radar, jackcom : Ruby can achieve nested functions by the use of blocks/lambdas/procs. If you assign the proc to a variable it can be called. Sure the syntax isn't quite the same, but it effectively achieves the same result. Ruby is flexible and can probably do a lot more that you can't in other languages. Perhaps I am misunderstanding what you are trying to achieve, but I feel that this is a version of what you are looking for - perhaps
<Guest47729>
there is a better way to solve the problem
nirix_ has quit [Changing host]
nirix_ has joined #ruby
lurch_ has joined #ruby
nirix has quit [Disconnected by services]
nirix_ is now known as nirix
<shevy>
Guest47729 hey what IRC nick is that
patronus has quit [*.net *.split]
nettoweb has quit [*.net *.split]
troulouliou_div2 has quit [*.net *.split]
klaas has quit [*.net *.split]
Apocalypse has quit [*.net *.split]
Aww has quit [*.net *.split]
pawnbox has quit [*.net *.split]
chridal_ has quit [*.net *.split]
m4rCsi has quit [*.net *.split]
Karunamon has quit [*.net *.split]
sapslaj_ has quit [*.net *.split]
L1nuX- has quit [*.net *.split]
erichmenge has quit [*.net *.split]
rfv has quit [*.net *.split]
null3 has quit [*.net *.split]
Xeago_ has quit [*.net *.split]
rdark_ has quit [*.net *.split]
ltd_ has quit [*.net *.split]
xybre has quit [*.net *.split]
avelldiroll has quit [*.net *.split]
mmitchel_ has quit [*.net *.split]
n1ftyn8_ has quit [*.net *.split]
teotwaki has quit [*.net *.split]
mistym- has quit [*.net *.split]
absolutejam has quit [*.net *.split]
utkarsh has quit [*.net *.split]
mozzarella has quit [*.net *.split]
yasu__ has quit [*.net *.split]
s1kx_ has quit [*.net *.split]
codecop has quit [*.net *.split]
boshhead has quit [*.net *.split]
haasn has quit [*.net *.split]
lokulin has quit [*.net *.split]
angiebadillo has quit [*.net *.split]
karapetyan has quit [*.net *.split]
sandstrom has quit [*.net *.split]
xMopxShell has quit [*.net *.split]
cgfbee has quit [*.net *.split]
brunto has quit [*.net *.split]
Mon_Ouie has quit [*.net *.split]
mhenrixon has quit [*.net *.split]
Arnvald has quit [*.net *.split]
PaulCapestany has quit [*.net *.split]
Guest68684 has quit [*.net *.split]
RandyT has quit [*.net *.split]
Pumukel has quit [*.net *.split]
InvGhost has quit [*.net *.split]
russt has quit [*.net *.split]
Radar has quit [*.net *.split]
tubulife| has quit [*.net *.split]
shortdudey123 has quit [*.net *.split]
helpa has quit [*.net *.split]
tjad has quit [*.net *.split]
ta has quit [*.net *.split]
lenwood has quit [*.net *.split]
gregf has quit [*.net *.split]
A124 has quit [*.net *.split]
zeroDivisible has quit [*.net *.split]
dotix has quit [*.net *.split]
edwardly has quit [*.net *.split]
Pupp3tm4st3r has quit [*.net *.split]
gsingh93 has quit [*.net *.split]
postmodern has quit [*.net *.split]
tmtwd_ has quit [*.net *.split]
segy has quit [*.net *.split]
AustinIncognito has quit [*.net *.split]
braincra- has quit [*.net *.split]
bb010g has quit [*.net *.split]
darkf has quit [*.net *.split]
decoponyo has quit [*.net *.split]
calderonroberto has quit [*.net *.split]
th0m_ has quit [*.net *.split]
jabreity has quit [*.net *.split]
boxrick1 has quit [*.net *.split]
joaomdmoura_ has quit [*.net *.split]
Lloyd has quit [*.net *.split]
Heero has quit [*.net *.split]
lancetw has quit [*.net *.split]
benlakey has quit [*.net *.split]
bove has quit [*.net *.split]
yo61 has quit [*.net *.split]
twodayslate has quit [*.net *.split]
akitada has quit [*.net *.split]
pmarreck has quit [*.net *.split]
Guest85414______ has quit [*.net *.split]
myztic has quit [*.net *.split]
Steve_Jobs has quit [*.net *.split]
go|dfish has quit [*.net *.split]
braderhart has quit [*.net *.split]
krasnus has quit [*.net *.split]
zrl has quit [*.net *.split]
matti has quit [*.net *.split]
heyimwill has quit [*.net *.split]
Ray` has quit [*.net *.split]
ohaibbq_ has quit [*.net *.split]
bihi has quit [*.net *.split]
Phage has quit [*.net *.split]
mmasaki_ has quit [*.net *.split]
drbrain has quit [*.net *.split]
aspiers_ has quit [*.net *.split]
marienz has quit [*.net *.split]
Gadgetoid has quit [*.net *.split]
<Guest47729>
shevy: am tjad, but ns doesn't want me back yet :-(
ghormoon has quit [Excess Flood]
Guest47729 is now known as tjad
<tjad>
^^
<shevy>
yay you abandoned the army of guests \o/
InvGhost has joined #ruby
karapety_ has quit [Remote host closed the connection]
kimegede has joined #ruby
lokulin_ has joined #ruby
iateadonut has quit [Quit: Leaving.]
AlexRussia has quit [Ping timeout: 260 seconds]
User458764 has quit [Ping timeout: 264 seconds]
Xiti` has quit [Ping timeout: 260 seconds]
pawnbox_ has quit [Ping timeout: 264 seconds]
Arnvald_ has quit [Ping timeout: 264 seconds]
lurch_ has quit [Ping timeout: 264 seconds]
mmitchell has quit [Ping timeout: 264 seconds]
blaxter has quit [Ping timeout: 264 seconds]
driftig has quit [Ping timeout: 264 seconds]
cookiez has quit [Ping timeout: 264 seconds]
null__ has quit [Ping timeout: 264 seconds]
jonathanwallace has quit [Ping timeout: 264 seconds]
tjad has quit [Ping timeout: 264 seconds]
utkarsh_ has quit [Ping timeout: 264 seconds]
cgfbee has joined #ruby
n1ftyn8_ has joined #ruby
bove has joined #ruby
codecop has joined #ruby
utkarsh has joined #ruby
xMopxShell has joined #ruby
Apocalypse has joined #ruby
voodo has joined #ruby
bier has joined #ruby
dmolina has joined #ruby
ta has joined #ruby
Guest68684 has joined #ruby
joaomdmoura_ has joined #ruby
null3 has joined #ruby
Engin has joined #ruby
darkf has joined #ruby
L1nuX- has joined #ruby
bb010g has joined #ruby
jabreity has joined #ruby
segy has joined #ruby
rfv has joined #ruby
haasn has joined #ruby
yo61 has joined #ruby
twodayslate has joined #ruby
eam has joined #ruby
Heero has joined #ruby
tubulife| has joined #ruby
benlakey has joined #ruby
roshanavand has joined #ruby
akitada has joined #ruby
senayar has joined #ruby
Pumukel has joined #ruby
A124 has joined #ruby
zeroDivisible has joined #ruby
klaas has joined #ruby
PaulCapestany has joined #ruby
sandstrom has joined #ruby
rdark_ has joined #ruby
sapslaj_ has joined #ruby
nettoweb has joined #ruby
Aww has joined #ruby
absolutejam has joined #ruby
angiebadillo has joined #ruby
Guest85414______ has joined #ruby
AustinIncognito has joined #ruby
gregf has joined #ruby
boxrick1 has joined #ruby
ltd_ has joined #ruby
pmarreck has joined #ruby
teotwaki has joined #ruby
Lloyd has joined #ruby
chridal_ has joined #ruby
patronus has joined #ruby
lancetw has joined #ruby
m4rCsi has joined #ruby
Ray` has joined #ruby
Gadgetoid has joined #ruby
myztic has joined #ruby
krasnus has joined #ruby
xybre has joined #ruby
aspiers_ has joined #ruby
matti has joined #ruby
Steve_Jobs has joined #ruby
go|dfish has joined #ruby
pawnbox has joined #ruby
heyimwill has joined #ruby
mmasaki_ has joined #ruby
zrl has joined #ruby
drbrain has joined #ruby
Phage has joined #ruby
braderhart has joined #ruby
bihi has joined #ruby
ohaibbq_ has joined #ruby
marienz has joined #ruby
roshanavand has quit [Remote host closed the connection]
L1nuX- has quit [Excess Flood]
cgfbee has quit [Max SendQ exceeded]
bb010g has quit [Max SendQ exceeded]
senayar has quit [Changing host]
senayar has joined #ruby
mmitchell has joined #ruby
shortdudey123 has joined #ruby
Pupp3tm4st3r has joined #ruby
L1nuX has joined #ruby
yasu__ has joined #ruby
Arnvald has joined #ruby
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
bb010g has joined #ruby
bersimoes has joined #ruby
BSaboia has joined #ruby
blackmes1 has joined #ruby
kadoppe has joined #ruby
tmtwd_ has joined #ruby
gambl0re has quit [Read error: Connection reset by peer]
dotix has joined #ruby
dotix has joined #ruby
k3asd` has joined #ruby
pragmatism has joined #ruby
subscope has joined #ruby
df has joined #ruby
Karunamon has joined #ruby
blackmes1 has quit [Ping timeout: 260 seconds]
lurch_ has joined #ruby
RandyT has joined #ruby
subscope has quit [Client Quit]
gremax has joined #ruby
driftig has joined #ruby
ekem has joined #ruby
Mon_Ouie has joined #ruby
braincrash has joined #ruby
avelldiroll has joined #ruby
subscope has joined #ruby
User458764 has joined #ruby
tjad has joined #ruby
gsingh93 has joined #ruby
silverdust has joined #ruby
maxmanders has joined #ruby
trautwein has joined #ruby
dellavg has joined #ruby
TTilus has joined #ruby
bersimoe_ has joined #ruby
tylersmith has joined #ruby
brunto has joined #ruby
Pupp3tm4_ has joined #ruby
russt has joined #ruby
weemsledeux has joined #ruby
mmitchel_ has joined #ruby
mprelude has joined #ruby
RandyT_ has joined #ruby
dionysus69 has joined #ruby
kadoppe_ has joined #ruby
decoponio has joined #ruby
mozzarella has joined #ruby
weemsledeux has quit [Client Quit]
mhenrixon has joined #ruby
Xeago has joined #ruby
blaxter has joined #ruby
Arnvald_ has joined #ruby
Radar has joined #ruby
Radar is now known as Guest92571
jonathanwallace has joined #ruby
karapetyan has joined #ruby
harisk92 has joined #ruby
harisk92 has quit [Client Quit]
jackcom has quit [Quit: jackcom]
th0m_ has joined #ruby
tylersmith has quit [Ping timeout: 264 seconds]
yasu___ has joined #ruby
troulouliou_div2 has joined #ruby
<norc>
So. Is there a more elegant way to do this?
<norc>
self.sequence_name = opts[Rails.env.to_sym] if opts[Rails.env.to_sym]
troulouliou_div2 has quit [Max SendQ exceeded]
th0m_ has quit [Max SendQ exceeded]
linc01n has quit [Excess Flood]
WHITEPRIDE has joined #ruby
maxmanders has quit [*.net *.split]
silverdust has quit [*.net *.split]
User458764 has quit [*.net *.split]
subscope has quit [*.net *.split]
RandyT has quit [*.net *.split]
pragmatism has quit [*.net *.split]
dotix has quit [*.net *.split]
tmtwd_ has quit [*.net *.split]
kadoppe has quit [*.net *.split]
BSaboia has quit [*.net *.split]
bersimoes has quit [*.net *.split]
edwardly has quit [*.net *.split]
Arnvald has quit [*.net *.split]
yasu__ has quit [*.net *.split]
bb010g has quit [*.net *.split]
L1nuX has quit [*.net *.split]
Pupp3tm4st3r has quit [*.net *.split]
shortdudey123 has quit [*.net *.split]
mmitchell has quit [*.net *.split]
xybre has quit [*.net *.split]
pawnbox has quit [*.net *.split]
utkarsh has quit [*.net *.split]
dmolina has quit [*.net *.split]
eam has quit [*.net *.split]
bier has quit [*.net *.split]
senayar has quit [*.net *.split]
voodo has quit [*.net *.split]
null3 has quit [*.net *.split]
Engin has quit [*.net *.split]
patronus has quit [*.net *.split]
nettoweb has quit [*.net *.split]
klaas has quit [*.net *.split]
Apocalypse has quit [*.net *.split]
Aww has quit [*.net *.split]
chridal_ has quit [*.net *.split]
m4rCsi has quit [*.net *.split]
sapslaj_ has quit [*.net *.split]
rfv has quit [*.net *.split]
rdark_ has quit [*.net *.split]
ltd_ has quit [*.net *.split]
n1ftyn8_ has quit [*.net *.split]
teotwaki has quit [*.net *.split]
absolutejam has quit [*.net *.split]
codecop has quit [*.net *.split]
haasn has quit [*.net *.split]
angiebadillo has quit [*.net *.split]
sandstrom has quit [*.net *.split]
xMopxShell has quit [*.net *.split]
PaulCapestany has quit [*.net *.split]
Guest68684 has quit [*.net *.split]
Pumukel has quit [*.net *.split]
tubulife| has quit [*.net *.split]
ta has quit [*.net *.split]
gregf has quit [*.net *.split]
A124 has quit [*.net *.split]
zeroDivisible has quit [*.net *.split]
segy has quit [*.net *.split]
AustinIncognito has quit [*.net *.split]
darkf has quit [*.net *.split]
jabreity has quit [*.net *.split]
boxrick1 has quit [*.net *.split]
joaomdmoura_ has quit [*.net *.split]
Lloyd has quit [*.net *.split]
Heero has quit [*.net *.split]
lancetw has quit [*.net *.split]
benlakey has quit [*.net *.split]
bove has quit [*.net *.split]
yo61 has quit [*.net *.split]
twodayslate has quit [*.net *.split]
akitada has quit [*.net *.split]
pmarreck has quit [*.net *.split]
Guest85414______ has quit [*.net *.split]
myztic has quit [*.net *.split]
Steve_Jobs has quit [*.net *.split]
go|dfish has quit [*.net *.split]
braderhart has quit [*.net *.split]
krasnus has quit [*.net *.split]
zrl has quit [*.net *.split]
matti has quit [*.net *.split]
heyimwill has quit [*.net *.split]
Ray` has quit [*.net *.split]
ohaibbq_ has quit [*.net *.split]
bihi has quit [*.net *.split]
Phage has quit [*.net *.split]
mmasaki_ has quit [*.net *.split]
drbrain has quit [*.net *.split]
aspiers_ has quit [*.net *.split]
marienz has quit [*.net *.split]
Gadgetoid has quit [*.net *.split]
bnizzle has left #ruby [#ruby]
utkarsh_ has joined #ruby
mark1 has joined #ruby
mhenrixon has quit [Excess Flood]
RandyT_ has quit [Excess Flood]
roshanavand has joined #ruby
crayfishx has joined #ruby
Kuukunen has joined #ruby
tuor has joined #ruby
senayar has joined #ruby
L1nuX has joined #ruby
absolutejam has joined #ruby
bier has joined #ruby
User458764 has joined #ruby
silverdust has joined #ruby
bodgix has joined #ruby
Pumukel has joined #ruby
Engin has joined #ruby
Guest68684 has joined #ruby
GarethAdams has joined #ruby
Apocalypse has joined #ruby
sandstrom has joined #ruby
cgfbee has joined #ruby
BSaboia has joined #ruby
codecop has joined #ruby
null3 has joined #ruby
twodayslate has joined #ruby
Guest85414______ has joined #ruby
darkf has joined #ruby
Heero has joined #ruby
m4rCsi has joined #ruby
A124 has joined #ruby
teotwaki has joined #ruby
jabreity has joined #ruby
rfv has joined #ruby
voodo has joined #ruby
eam has joined #ruby
zeroDivisible has joined #ruby
Steve_Jobs has joined #ruby
xMopxShell has joined #ruby
angiebadillo has joined #ruby
gregf has joined #ruby
rdark_ has joined #ruby
sapslaj_ has joined #ruby
joaomdmoura_ has joined #ruby
benlakey has joined #ruby
chridal_ has joined #ruby
lancetw has joined #ruby
nettoweb has joined #ruby
pmarreck has joined #ruby
dmolina has joined #ruby
ta has joined #ruby
myztic has joined #ruby
tubulife| has joined #ruby
Lloyd has joined #ruby
PaulCapestany has joined #ruby
Aww has joined #ruby
bove has joined #ruby
boxrick1 has joined #ruby
patronus has joined #ruby
ltd_ has joined #ruby
n1ftyn8_ has joined #ruby
heyimwill has joined #ruby
matti has joined #ruby
krasnus has joined #ruby
go|dfish has joined #ruby
Ray` has joined #ruby
ohaibbq_ has joined #ruby
bihi has joined #ruby
Phage has joined #ruby
mmasaki_ has joined #ruby
drbrain has joined #ruby
aspiers_ has joined #ruby
marienz has joined #ruby
Gadgetoid has joined #ruby
braderhart has joined #ruby
pawnbox has joined #ruby
dionysus69 has quit [Ping timeout: 241 seconds]
braderhart has quit [Changing host]
braderhart has joined #ruby
cgfbee has quit [Max SendQ exceeded]
bhorn1 has joined #ruby
jatb has joined #ruby
csmb has joined #ruby
brainslug has joined #ruby
sshuff|gone has joined #ruby
irk has joined #ruby
GarethAdams has quit [Changing host]
GarethAdams has joined #ruby
<apeiros>
just `self.sequence_name = opts[Rails.env.to_sym]`, assuming self.sequence_name is nil before and setting it to nil again won't hurt.
<apeiros>
WHITEPRIDE: 30s to change your nick
<apeiros>
!ban WHITEPRIDE !P unacceptable nick
MissionCritical has quit [Max SendQ exceeded]
mark1 has quit [Max SendQ exceeded]
jatb has quit [Max SendQ exceeded]
rodfersou has joined #ruby
bodie_ has joined #ruby
silverdust is now known as Guest88997
jayne has joined #ruby
jatb has joined #ruby
<WHITEPRIDE>
hello?
AustinMatherne has joined #ruby
pestle has joined #ruby
<apeiros>
damn netsplit. ruboto of course is on the other side.
<apeiros>
and slow chanserve
<apeiros>
-e
WHITEPRIDE was kicked from #ruby by apeiros [unacceptable nick]
tylersmith has joined #ruby
cwong_on_irc has quit [Quit: Leaving.]
baweaver has joined #ruby
klaas has joined #ruby
zrl has joined #ruby
c0m0 has joined #ruby
Pumukel has quit [Ping timeout: 240 seconds]
mark1 has joined #ruby
bersimoe_ has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
segy has joined #ruby
dlitvak has joined #ruby
bb010g has joined #ruby
vifino has joined #ruby
tsunamie has joined #ruby
ajafo has joined #ruby
tylersmith has quit [Ping timeout: 240 seconds]
Kamilion has joined #ruby
haasn has joined #ruby
mhenrixon has joined #ruby
dotix has joined #ruby
dotix has joined #ruby
baweaver has quit [Ping timeout: 240 seconds]
linc01n has joined #ruby
ekleog has joined #ruby
bersimoes has joined #ruby
tylersmith has joined #ruby
Amnez777 has quit [Excess Flood]
lenwood has joined #ruby
troulouliou_div2 has joined #ruby
Olipro has joined #ruby
zotherstupidguy has joined #ruby
troulouliou_div2 has quit [Max SendQ exceeded]
helpa has joined #ruby
troulouliou_div2 has joined #ruby
troulouliou_div2 has quit [Client Quit]
MissionCritical has joined #ruby
s1kx has joined #ruby
edwardly has joined #ruby
edwardly has joined #ruby
RandyT has joined #ruby
pragmatism has joined #ruby
shortdudey123 has joined #ruby
dionysus69 has joined #ruby
sparr has quit [Changing host]
sparr has joined #ruby
codecop has quit [Remote host closed the connection]
linc01n has quit [Ping timeout: 240 seconds]
subscope has joined #ruby
pragmatism has quit [Ping timeout: 240 seconds]
zotherstupidguy has quit [Ping timeout: 240 seconds]
helpa has quit [Ping timeout: 240 seconds]
dotix has quit [Ping timeout: 240 seconds]
dionysus69 has quit [Ping timeout: 240 seconds]
RandyT has quit [Ping timeout: 240 seconds]
shortdudey123 has quit [Ping timeout: 240 seconds]
edwardly has quit [Ping timeout: 240 seconds]
s1kx has quit [Ping timeout: 240 seconds]
lenwood has quit [Ping timeout: 240 seconds]
bersimoes has quit [Ping timeout: 240 seconds]
ekleog has quit [Ping timeout: 240 seconds]
mhenrixon has quit [Ping timeout: 240 seconds]
cgfbee has joined #ruby
huyderman has joined #ruby
nolic has quit [Read error: Connection reset by peer]
bersimoes has joined #ruby
futilegames has joined #ruby
dlitvak has quit [Remote host closed the connection]
ja is now known as rofl
rofl is now known as ja
karapetyan has quit [Read error: Connection reset by peer]
Pupeno has joined #ruby
futilegames has quit [Quit: futilegames]
lenwood has joined #ruby
mhenrixon has joined #ruby
th0m_ has joined #ruby
TPBallbag has joined #ruby
zotherstupidguy has joined #ruby
dionysus69 has joined #ruby
linc01n has joined #ruby
maxmanders has joined #ruby
RandyT has joined #ruby
lxsameer has joined #ruby
lxsameer has joined #ruby
Xzanron has joined #ruby
roshanavand has quit [Remote host closed the connection]
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
dotix has joined #ruby
dotix has joined #ruby
Peg-leg has joined #ruby
ekleog has joined #ruby
Amnez777 has joined #ruby
s1kx has joined #ruby
xybre has joined #ruby
norc has quit [Ping timeout: 246 seconds]
conrfrmn has joined #ruby
karapetyan has joined #ruby
postmodern has joined #ruby
rodfersou has quit [Quit: leaving]
helpa has joined #ruby
rodfersou has joined #ruby
Amnez777 has quit [Remote host closed the connection]
ohaibbq_ has quit [Remote host closed the connection]
Sp4rKy_ has joined #ruby
Amnez777 has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
Amnez777 has quit [Remote host closed the connection]
pragmatism has joined #ruby
shortdudey123 has joined #ruby
Amnez777 has joined #ruby
digneety has joined #ruby
blueOxigen has joined #ruby
epitron has joined #ruby
kerunaru has joined #ruby
bluOxigen has quit [Ping timeout: 260 seconds]
suchness has joined #ruby
Pupeno has quit [Quit: Leaving...]
null__ has joined #ruby
null__ has joined #ruby
Amnez777_ has joined #ruby
rui has joined #ruby
dlitvak has joined #ruby
rui has quit [Client Quit]
coffeejunk has joined #ruby
justinweiss__ has joined #ruby
pwnd_ has joined #ruby
Billias has joined #ruby
segmond has joined #ruby
CyberAssassin has joined #ruby
Amnez777 has quit [Ping timeout: 272 seconds]
nrk has joined #ruby
ThufirHawat has joined #ruby
Rollabunna has joined #ruby
nrk has quit [Changing host]
nrk has joined #ruby
CyberAssassin has quit [Changing host]
CyberAssassin has joined #ruby
kerunaru has quit [Quit: leaving]
universa1 has joined #ruby
Billias is now known as Guest68400
CyberAssassin is now known as Guest88895
dlitvak has quit [Ping timeout: 240 seconds]
Guest88895 is now known as cyberfawkes
cyberfawkes has quit [Changing host]
cyberfawkes has joined #ruby
cyberfawkes has quit [Changing host]
cyberfawkes has joined #ruby
unclouded has joined #ruby
epitron has quit [Quit: WeeChat 1.2]
roshanavand has joined #ruby
coffeejunk has quit [Remote host closed the connection]
jackcom has joined #ruby
sandstrom has joined #ruby
epitron has joined #ruby
djstorm has joined #ruby
helpa-bot has joined #ruby
coffeejunk has joined #ruby
ghormoon has joined #ruby
kerunaru has joined #ruby
passcod has joined #ruby
cookiez has joined #ruby
RandyT_ has joined #ruby
martinbjeldbak has joined #ruby
nizmow has joined #ruby
Rollabunna has quit [Ping timeout: 276 seconds]
BrunoSaboia has joined #ruby
karapetyan has quit [Ping timeout: 273 seconds]
TPBallba_ has joined #ruby
Xzanron_ has joined #ruby
Xzanron_ has quit [Client Quit]
tomphp has joined #ruby
<adaedra>
Bonjour
<apeiros>
moin adaedra
<apeiros>
oh
bihi_ has joined #ruby
lenwood_ has joined #ruby
<adaedra>
That's a nice hat you have.
rfv_ has joined #ruby
<apeiros>
*had
TPBallba_ is now known as TPBallbag_
<apeiros>
netsplits. and it seems ruboto is still stuck on the other side.
<adaedra>
FreeNode's still having splits? Not good.
n1ftyn8__ has joined #ruby
dmolina1 has joined #ruby
Ray`_ has joined #ruby
yoongkang has joined #ruby
edwardly_ has joined #ruby
edwardly_ has quit [Changing host]
edwardly_ has joined #ruby
maxmanders_ has joined #ruby
<cyberfawkes>
adaedra: that's quite odd.
patronus_ has joined #ruby
mhenrixon_ has joined #ruby
linc01n_ has joined #ruby
mmasaki has joined #ruby
<cyberfawkes>
we were talking about that earlier.
scootaloo has joined #ruby
huyderman_ has joined #ruby
Marc- has joined #ruby
andikr has joined #ruby
sarlalian has joined #ruby
prestorium has joined #ruby
m4rCsi_ has joined #ruby
User4587_ has joined #ruby
<adaedra>
Ah, lots of joins
b3nt_pin has joined #ruby
mistermocha has joined #ruby
dionysus70 has joined #ruby
klaas_ has joined #ruby
shortdudey123_ has joined #ruby
senayar_ has joined #ruby
arup_r has joined #ruby
b3nt_pin is now known as Guest78736
ElderFain- has joined #ruby
chridal has joined #ruby
djstorm has quit [*.net *.split]
pwnd_ has quit [*.net *.split]
Amnez777_ has quit [*.net *.split]
digneety has quit [*.net *.split]
shortdudey123 has quit [*.net *.split]
pragmatism has quit [*.net *.split]
Sp4rKy_ has quit [*.net *.split]
helpa has quit [*.net *.split]
conrfrmn has quit [*.net *.split]
xybre has quit [*.net *.split]
s1kx has quit [*.net *.split]
ekleog has quit [*.net *.split]
dotix has quit [*.net *.split]
edwardly has quit [*.net *.split]
Xzanron has quit [*.net *.split]
lxsameer has quit [*.net *.split]
RandyT has quit [*.net *.split]
linc01n has quit [*.net *.split]
dionysus69 has quit [*.net *.split]
maxmanders has quit [*.net *.split]
zotherstupidguy has quit [*.net *.split]
TPBallbag has quit [*.net *.split]
th0m_ has quit [*.net *.split]
mhenrixon has quit [*.net *.split]
lenwood has quit [*.net *.split]
huyderman has quit [*.net *.split]
subscope has quit [*.net *.split]
cgfbee has quit [*.net *.split]
suchness has quit [*.net *.split]
Olipro has quit [*.net *.split]
tylersmith has quit [*.net *.split]
MissionCritical has quit [*.net *.split]
bb010g has quit [*.net *.split]
segy has quit [*.net *.split]
mark1 has quit [*.net *.split]
klaas has quit [*.net *.split]
c0m0 has quit [*.net *.split]
zrl has quit [*.net *.split]
haasn has quit [*.net *.split]
crayfishx has quit [*.net *.split]
Kuukunen has quit [*.net *.split]
tuor has quit [*.net *.split]
bodgix has quit [*.net *.split]
GarethAdams has quit [*.net *.split]
Guest88997 has quit [*.net *.split]
User458764 has quit [*.net *.split]
BSaboia has quit [*.net *.split]
L1nuX has quit [*.net *.split]
dmolina has quit [*.net *.split]
eam has quit [*.net *.split]
bier has quit [*.net *.split]
senayar has quit [*.net *.split]
voodo has quit [*.net *.split]
null3 has quit [*.net *.split]
Engin has quit [*.net *.split]
patronus has quit [*.net *.split]
nettoweb has quit [*.net *.split]
Apocalypse has quit [*.net *.split]
Aww has quit [*.net *.split]
chridal_ has quit [*.net *.split]
m4rCsi has quit [*.net *.split]
sapslaj_ has quit [*.net *.split]
rfv has quit [*.net *.split]
rdark_ has quit [*.net *.split]
ltd_ has quit [*.net *.split]
n1ftyn8_ has quit [*.net *.split]
teotwaki has quit [*.net *.split]
absolutejam has quit [*.net *.split]
angiebadillo has quit [*.net *.split]
xMopxShell has quit [*.net *.split]
PaulCapestany has quit [*.net *.split]
Guest68684 has quit [*.net *.split]
tubulife| has quit [*.net *.split]
ta has quit [*.net *.split]
gregf has quit [*.net *.split]
A124 has quit [*.net *.split]
zeroDivisible has quit [*.net *.split]
darkf has quit [*.net *.split]
jabreity has quit [*.net *.split]
boxrick1 has quit [*.net *.split]
joaomdmoura_ has quit [*.net *.split]
Lloyd has quit [*.net *.split]
Heero has quit [*.net *.split]
lancetw has quit [*.net *.split]
bove has quit [*.net *.split]
benlakey has quit [*.net *.split]
twodayslate has quit [*.net *.split]
pmarreck has quit [*.net *.split]
Guest85414______ has quit [*.net *.split]
myztic has quit [*.net *.split]
Steve_Jobs has quit [*.net *.split]
go|dfish has quit [*.net *.split]
krasnus has quit [*.net *.split]
matti has quit [*.net *.split]
heyimwill has quit [*.net *.split]
Ray` has quit [*.net *.split]
bihi has quit [*.net *.split]
Phage has quit [*.net *.split]
mmasaki_ has quit [*.net *.split]
drbrain has quit [*.net *.split]
aspiers_ has quit [*.net *.split]
marienz has quit [*.net *.split]
Gadgetoid has quit [*.net *.split]
edwardly_ is now known as edwardly
dionysus70 is now known as dionysus69
bihi_ is now known as bihi
<adaedra>
.... and parts.
ruid has joined #ruby
Guest68400 has quit [Read error: Connection reset by peer]
User4587_ has quit [Client Quit]
shortdudey123_ is now known as shortdudey123
bersimoes has quit [Read error: Connection reset by peer]
tvw has joined #ruby
spectra has joined #ruby
postmodern has quit [Quit: Leaving]
<adaedra>
apeiros: do you know on which server ruboto is connected on?
jmhmccr has quit [Read error: Network is unreachable]
artmann has quit [Quit: No Ping reply in 180 seconds.]
constantinexvi has joined #ruby
lugia has quit [Remote host closed the connection]
elektronaut has quit [Ping timeout: 264 seconds]
<driftig>
shevy: Golly, no. :)
KillerFox has joined #ruby
mrtomme has joined #ruby
cbednarski has joined #ruby
_mh_ has joined #ruby
klaas has joined #ruby
_mh_ has joined #ruby
Voker57 has quit [Read error: Connection reset by peer]
SuperTux88 has joined #ruby
NaviFullroot has joined #ruby
lokulin has quit [Ping timeout: 264 seconds]
hypnosb has joined #ruby
Billias has joined #ruby
bersimoes has joined #ruby
pfg has joined #ruby
zzak has joined #ruby
BSaboia has joined #ruby
p8952 has joined #ruby
wnd has joined #ruby
huyderman has joined #ruby
nhhagen has joined #ruby
Rollabunna has joined #ruby
dotix has joined #ruby
hectortrope has joined #ruby
Killerkeksdose has joined #ruby
blackmesa has joined #ruby
rigsby has quit [Ping timeout: 240 seconds]
DEac- has joined #ruby
KramerC has joined #ruby
pawnbox has joined #ruby
omegahm has joined #ruby
prestorium has joined #ruby
User458764 has joined #ruby
dotix has quit [Changing host]
dotix has joined #ruby
KramerC has quit [Changing host]
KramerC has joined #ruby
chridal has joined #ruby
skmp has joined #ruby
Andrevan has joined #ruby
pjaspers has joined #ruby
pragmatism has joined #ruby
Voker57 has joined #ruby
Apocalypse has joined #ruby
ghormoon has joined #ruby
qba73 has joined #ruby
Kero has joined #ruby
senayar has joined #ruby
dlitvak has joined #ruby
Qantourisc has joined #ruby
edwardly has joined #ruby
NET||abuse has joined #ruby
forgot has joined #ruby
solocshaw has joined #ruby
fluchtreflex has joined #ruby
mgorbach has joined #ruby
User458764 has quit [Max SendQ exceeded]
Apocalypse has quit [Changing host]
Apocalypse has joined #ruby
b3nt_pin has joined #ruby
peterhil has joined #ruby
Voker57 has quit [Changing host]
Voker57 has joined #ruby
cfloare has joined #ruby
Kuukunen has joined #ruby
ekleog has joined #ruby
nlsun has joined #ruby
Sp4rKy has joined #ruby
matti has joined #ruby
matti has joined #ruby
rcs has joined #ruby
TPBallbag has joined #ruby
rdark has joined #ruby
fluchtreflex has joined #ruby
mhenrixon has joined #ruby
mmasaki has joined #ruby
RandyT has joined #ruby
tmtwd has joined #ruby
Sp4rKy has joined #ruby
codecop has joined #ruby
ELCALOR has joined #ruby
maxmanders has joined #ruby
nehaljwani has joined #ruby
b3nt_pin is now known as Guest76726
fluchtreflex has quit [Changing host]
yoongkang has joined #ruby
nettoweb has joined #ruby
lugia has joined #ruby
matled has joined #ruby
Nilium has joined #ruby
marr has joined #ruby
havenwood has joined #ruby
eboaz has joined #ruby
sandstrom has joined #ruby
rdark has quit [Changing host]
rdark has joined #ruby
ldnunes has joined #ruby
fumk has joined #ruby
samuelkadolph has joined #ruby
xMopxShell has joined #ruby
<Andrevan>
Hey, anyone want to take a crack at a VCR question? Trying to connect to an XMPP server running locally using the xmpp4r gem. Under the hood appears to be Net::HTTP but VCR won't pick it up in rspec
nfk|laptop has joined #ruby
havenwood has quit [Changing host]
havenwood has joined #ruby
z3uS has joined #ruby
User458764 has joined #ruby
Lorn has joined #ruby
tmtwd_ has joined #ruby
Platini has joined #ruby
shortdudey123 has joined #ruby
entropie has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
__main__ has joined #ruby
Bish has joined #ruby
tomphp has joined #ruby
dionysus69 has joined #ruby
th0m has joined #ruby
varesa has joined #ruby
martinbjeldbak has joined #ruby
nemesit|znc has joined #ruby
adamholt has joined #ruby
subscope has joined #ruby
imajes has joined #ruby
mic_e has joined #ruby
bier has joined #ruby
svkurowski has joined #ruby
linc01n has joined #ruby
nizmow has joined #ruby
kimegede has joined #ruby
cgfbee has joined #ruby
ir2ivps3_ has joined #ruby
mame2 has joined #ruby
zeroDivisible has joined #ruby
akem has joined #ruby
wjimenez5271 has joined #ruby
Pro| has joined #ruby
jxf has quit [Ping timeout: 262 seconds]
hellschreiber_ has quit [Ping timeout: 262 seconds]
pipework has quit [Read error: Connection reset by peer]
cbetta has quit [Read error: Connection reset by peer]
pragmatism has joined #ruby
martinbjeldbak has joined #ruby
Ilyes512 has quit [Client Quit]
pipework has joined #ruby
frode15243 has joined #ruby
heinrich5991 has joined #ruby
<tobiasvl>
arup_r: page not found, but you can use something like the gem Rubyworks Facets, which has a deep_clone method. or you can dup each member yourself and save.
<ytti>
not thrilled about API though, but features are good
bkxd has joined #ruby
<ytti>
particularly concept of 'any' and 'all'
Kharma has joined #ruby
arup_r has joined #ruby
roshanavand has joined #ruby
<ytti>
https://github.com/wuest/expectr - this seems to miss ability to wait more than 1 string and act differently depending on what occurred
senayar has quit [Ping timeout: 272 seconds]
jamto11 has quit [Ping timeout: 240 seconds]
ghormoon has joined #ruby
spiman has joined #ruby
<apeiros>
ytti: there's an expect library in stdlib
constantinexvi_ has joined #ruby
<ytti>
yeah but it also does not support expecting >1 string
yardenbar has joined #ruby
<apeiros>
>1 string? you mean multiple responses?
<apeiros>
ah
<apeiros>
well, I guess that's what is assumed that you'll add via code? :)
<apeiros>
shouldn't be difficult…
aryaching has joined #ruby
digneety has quit [*.net *.split]
lacrosse has quit [*.net *.split]
jord has quit [*.net *.split]
bcavileer_ has quit [*.net *.split]
constantinexvi has quit [*.net *.split]
sarlalian has quit [*.net *.split]
tk___ has quit [*.net *.split]
twodayslate has quit [*.net *.split]
danzilio has quit [*.net *.split]
<apeiros>
(though, then again, I guess I'd not even use a library for something like what expect does…)
<norc>
I actually wonder how you typed that hellip.
NeverDie has joined #ruby
countryHick has joined #ruby
<apeiros>
opt-.
<norc>
Things I learn. o_o
<apeiros>
dad's in publishing. gotta now such shit ;-)
<norc>
Heh.
<apeiros>
"how dare you write three dots! don't you know that spacing is completely off with those?!?"
<apeiros>
(not really)
<pontiki>
last expect script i wrote in tcl...
<apeiros>
oy
<apeiros>
o/ pontiki
cookiez has joined #ruby
NeverDie has quit [Max SendQ exceeded]
exadeci has joined #ruby
NeverDie has joined #ruby
senayar has joined #ruby
senayar has quit [Changing host]
senayar has joined #ruby
TPBallbag has joined #ruby
shinenelson has joined #ruby
Heero has joined #ruby
<shevy>
good old tcl
<shevy>
the language of the dinosaurs!
bb010g has quit [Quit: Connection closed for inactivity]
nhhagen_ has quit [Remote host closed the connection]
<ytti>
apeiros, actually if the API Doesn't allow it, it gets complicated
<ytti>
apeiros, you have to trap the timout, and it'll make your program run slower
<ytti>
apeiros, you need to offer this feature in the library itself to make it work well
nehaljwani has quit [Ping timeout: 246 seconds]
k3asd` has quit [Quit: leaving]
St1gma has joined #ruby
acadavid has joined #ruby
dEPy has quit [Quit: (null)]
Steve_Jobs has joined #ruby
elton has joined #ruby
conrfrmn has quit [Ping timeout: 240 seconds]
k3asd` has joined #ruby
davedev24 has joined #ruby
k3asd` has quit [Client Quit]
Pupp3tm4st3r has joined #ruby
<driftig>
./ seems so much more appropriate than o/
elton has quit [Ping timeout: 272 seconds]
<shevy>
do you have a mini head or something
<shevy>
we don't get to do O/ either!
matp has joined #ruby
<driftig>
shevy: Like I'd literally wave at you niggaz.
spiman has quit []
<driftig>
shevy: Only Marc Andreesen gets to do that.
mattwildig has joined #ruby
<apeiros>
!kick driftig watch it
ltd_ has quit [Ping timeout: 240 seconds]
driftig was kicked from #ruby by ruboto [watch it]
driftig has joined #ruby
<driftig>
apeiros: The hell.
allcentury has quit [Ping timeout: 246 seconds]
<apeiros>
yeah, that's what I thought too.
<shevy>
yeah the word was a dead-give away
ltd has joined #ruby
<driftig>
Well, I'm black.
<driftig>
And it wasn't intended to cause harm …
<driftig>
Next time I'll just say Rubyists.
<apeiros>
good. I trust it'll remain at a kick then.
codecop has quit [Remote host closed the connection]
* driftig
eyes apeiros.
senayar_ has joined #ruby
BrunoSaboia has joined #ruby
mattwild_ has joined #ruby
cpup has quit [Ping timeout: 240 seconds]
User458764 has joined #ruby
allcentury has joined #ruby
Fire-Dragon-DoL has quit [Quit: Quit]
BSaboia has quit [Ping timeout: 246 seconds]
Fire-Dragon-DoL has joined #ruby
sideshowcoder has joined #ruby
napcae_ has joined #ruby
diegoviola has joined #ruby
arup___ has joined #ruby
c0m0 has joined #ruby
peterhil has quit [Ping timeout: 246 seconds]
<yorickpeterse>
driftig: being black doesn't give you an excuse to use "niggaz" or any other slang
* apeiros
was about to write:
<apeiros>
> while "I'm black, therefore I can say niggaz" may work well in meatspace, it doesn't in irc. even if I knew you're black I couldn't tolerate it.
pepperbreath has quit [Read error: Connection reset by peer]
<driftig>
apeiros: I could keybase.io prove it!
<apeiros>
you're missing the point
NeverDie has quit [Read error: Connection reset by peer]
htmldrum has joined #ruby
<driftig>
apeiros: But the point is, I don't understand why it's such a burdened topic.
Meow-J has joined #ruby
<apeiros>
in meatspace, all people have to do is look at you.
<apeiros>
in irc, that simply doesn't work.
NeverDie_ has joined #ruby
<driftig>
I know that there's a certain random person who joins with the n*g*e* handle, jumbled up in some sort of way.
<driftig>
Without even a chance to contribute they're auto-banned.
<apeiros>
if you wish to discuss it: #ruby-banned is the place. this isn't.
<driftig>
Even Obama used it.
<driftig>
apeiros: Fine, fine.
* driftig
continues writing his Ruby book.
teclator has joined #ruby
<apeiros>
or #ruby-community, if you want to have a go at the policies.
<driftig>
apeiros: only if you're in there <3
<apeiros>
I'm in all of them.
<driftig>
sec
ltd has quit [*.net *.split]
mattwildig has quit [*.net *.split]
Heero has quit [*.net *.split]
senayar has quit [*.net *.split]
exadeci has quit [*.net *.split]
countryHick has quit [*.net *.split]
arup_r has quit [*.net *.split]
napcae has quit [*.net *.split]
bove has quit [*.net *.split]
yo61 has quit [*.net *.split]
shelling__ has quit [*.net *.split]
mostlybadfly has quit [*.net *.split]
nomadicoder has quit [*.net *.split]
spt0 has quit [*.net *.split]
DenSchub has quit [*.net *.split]
Bilge has quit [*.net *.split]
djstorm has quit [*.net *.split]
pwnd_ has quit [*.net *.split]
Olipro has quit [*.net *.split]
tylersmith has quit [*.net *.split]
mark1 has quit [*.net *.split]
haasn has quit [*.net *.split]
crayfishx has quit [*.net *.split]
bodgix has quit [*.net *.split]
GarethAdams has quit [*.net *.split]
eam has quit [*.net *.split]
null3 has quit [*.net *.split]
sapslaj_ has quit [*.net *.split]
teotwaki has quit [*.net *.split]
angiebadillo has quit [*.net *.split]
PaulCapestany has quit [*.net *.split]
tubulife| has quit [*.net *.split]
ta has quit [*.net *.split]
A124 has quit [*.net *.split]
darkf has quit [*.net *.split]
krasnus has quit [*.net *.split]
heyimwill has quit [*.net *.split]
Phage has quit [*.net *.split]
drbrain has quit [*.net *.split]
marienz has quit [*.net *.split]
Gadgetoid has quit [*.net *.split]
pabs has quit [Quit: Reconnecting]
bersimoes has joined #ruby
Fire-Dragon-DoL has quit [Quit: Quit]
<shevy>
apeiros is in ALL THE CHANNELS
pabs has joined #ruby
digneety has joined #ruby
<apeiros>
only some ~20
sdfgsdfg has joined #ruby
k3asd` has joined #ruby
guardian has quit [Quit: Coyote finally caught me]
<driftig>
How does one focus on life whilst being in 20 channels?
Fire-Dragon-DoL has joined #ruby
<driftig>
Once I connect to IRC, I have to cycle /window next until sessions are cleared.
<apeiros>
but the 20 channels are life…
<apeiros>
irc mostly fills the idle cycles of my meatcpu
<driftig>
i want the dell xps 15
xnr has quit [Quit: ರ_ರ]
<driftig>
but i have some custom design ideas i'd like dell to implement first beforehand
k3asd` has quit [Client Quit]
<driftig>
like the webcam, it needs to be in the centre of the screen.
xnr has joined #ruby
<driftig>
sigh, good systems are so hard to find
roshanavand has quit [Read error: Connection reset by peer]
roshanavand has joined #ruby
nettoweb has joined #ruby
bkxd has quit [Ping timeout: 272 seconds]
<pontiki>
one needs must have something to do while $compiling
<driftig>
get with the times, amazonaws compilations, local binary installations
<driftig>
save your SSD
<pontiki>
some things still take time. in many cases, it's paint drying for me
Lloyd has joined #ruby
<driftig>
we love watching warning flags fire off the screen
DoubleMalt has joined #ruby
Fire-Dragon-DoL has quit [Quit: Quit]
guardian has joined #ruby
Fire-Dragon-DoL has joined #ruby
brt has quit [Ping timeout: 246 seconds]
k3asd` has joined #ruby
centrx has joined #ruby
gavit has left #ruby [#ruby]
<havenwood>
good mornin'
mistermocha has joined #ruby
napcae_ has quit [Quit: leaving]
lipoqil has joined #ruby
iamdevnul has joined #ruby
Olipro has joined #ruby
ltd has joined #ruby
Heero has joined #ruby
pwnd_ has joined #ruby
tylersmith has joined #ruby
angiebadillo has joined #ruby
PaulCapestany has joined #ruby
Bilge has joined #ruby
nomadicoder has joined #ruby
exadeci has joined #ruby
DenSchub has joined #ruby
ta has joined #ruby
mostlybadfly has joined #ruby
djstorm has joined #ruby
null3 has joined #ruby
A124 has joined #ruby
bodgix has joined #ruby
drbrain has joined #ruby
darkf has joined #ruby
heyimwill has joined #ruby
marienz has joined #ruby
haasn has joined #ruby
teotwaki has joined #ruby
sapslaj_ has joined #ruby
krasnus has joined #ruby
countryHick has joined #ruby
eam has joined #ruby
yo61 has joined #ruby
tubulife| has joined #ruby
Phage has joined #ruby
crayfishx has joined #ruby
bove has joined #ruby
GarethAdams has joined #ruby
Gadgetoid has joined #ruby
shelling__ has joined #ruby
k3asd` has quit [Client Quit]
linuxboytoo has joined #ruby
Olipro is now known as Guest95999
<driftig>
havenwood: related to morningwood?
sanjayu has quit [Ping timeout: 240 seconds]
<centrx>
Sick joke
<driftig>
centrx: not really.
k3asd` has joined #ruby
<pontiki>
havenwood: thanks for the regexp the other day
<driftig>
morningwood is a real handle.
Shidash has quit [Ping timeout: 264 seconds]
<driftig>
guess he left irc.
<driftig>
nice guy...
linuxboy_ has joined #ruby
new_student has joined #ruby
BogeymanAgnostic has quit [Read error: Connection reset by peer]
<gregf__>
>> char_weight = [*?a..?z].zip([*1..26]).to_h;%w{knowledge hardwork attitude}.each{ |w| p [w, w.chars.inject(0){ |s, c| s+=char_weight[c] }] } # for a moment i thought this couldn't true, but it apparently is
<new_student>
This error does not arise if I use the same command inside cygwin
<gregf__>
*be
ltd has quit [Ping timeout: 240 seconds]
linuxboytoo has quit [Ping timeout: 240 seconds]
anisha has quit [Quit: Leaving]
koneko has joined #ruby
<pontiki>
new_student: this seems like the classic problem with windows and using rubygems. let me see if i can find the fix for it
<havenwood>
pontiki: You're welcome! You sparked my interest to write a script to automatically create a Regexp that matches a number range from zero to x. (Still working on it.)
arup___ has quit [Remote host closed the connection]
<apeiros>
pontiki: still quite buggy :(
pawnbox has joined #ruby
thesheff17 has joined #ruby
allcentury has quit [Ping timeout: 250 seconds]
akitada has joined #ruby
<shevy>
thouh shalt love thy bugs!
howdoicomputer has joined #ruby
<driftig>
shevy: Do you drive a chevrolet?
peterhil has joined #ruby
<droptone>
Here's possibly a simple question: I have a .each loop and, based on a condition, I want to do either arr["a"].each do... or arr["b"].each do....
norc has quit [Ping timeout: 246 seconds]
<droptone>
Is it possible to put that within an if? Such as, if this > 1; arr["aa"].each do |a|; else; arr["bb"].each do |b|; end
RobertBirnie has joined #ruby
<droptone>
Or do I have to put both .each loops in seperate sections of the if condition, replicating all that code?
sandstrom has quit [Quit: My computer has gone to sleep.]
rodfersou is now known as rodfersou|lunch
moeabdol has quit [Quit: WeeChat 1.3]
howdoicomputer has quit [Ping timeout: 264 seconds]
DurstBurger has joined #ruby
<jhass>
droptone: arr[this > 1 ? "a" : "b"].each do
<apeiros>
nested methods would sometimes be nice…
jondot has joined #ruby
<apeiros>
nested = ->(){}; nested.() is somehow less nice.
teclator has joined #ruby
<jhass>
or to_iterate = this > 1 ? arr["a"] : arr["b"]; to_iterate.each if you prefer. Or key = this > 1 "a" : "b"; arr[key].each
atomical has quit [Ping timeout: 265 seconds]
* teclator
back
arup_r has joined #ruby
blaxter has quit [Quit: foo]
lubarch has quit [Quit: leaving]
blueOxigen has joined #ruby
xcesariox has joined #ruby
monthy has quit [Killed (Sigyn (Spam is off topic on freenode.))]
baweaver has joined #ruby
danzilio has joined #ruby
jord has joined #ruby
bcavileer_ has joined #ruby
Encapsulation has quit [Ping timeout: 260 seconds]
bluOxigen has quit [Ping timeout: 246 seconds]
minimalism has joined #ruby
PlasmaStar has quit [Ping timeout: 264 seconds]
arup_r has quit [Ping timeout: 240 seconds]
baweaver has quit [Ping timeout: 272 seconds]
<droptone>
jhass: wonderful, thank you.
lacrosse has joined #ruby
<gregf__>
>> this=[0,1]; a,b= 0,1; arr = [[1,2,3],[4,5,6]]; this.each{ |i| p arr[i.zero? ? a : b ].select(&:even?) }
<apeiros>
and I'm pretty sure this could be simplified. at least I'm quite sure my old solution was ~20 lines, not ~50 (+ the quantifier/charclass methods)
* apeiros
afk
roshanavand has quit [Remote host closed the connection]
DurstBurger has quit [Ping timeout: 272 seconds]
workmad3 has quit [Ping timeout: 246 seconds]
Mr_Pancake has joined #ruby
shortdudey123 has joined #ruby
psy has joined #ruby
nertzy has quit [Quit: This computer has gone to sleep]
Trynemjoel has joined #ruby
roshanavand has joined #ruby
evandrojr has quit [Remote host closed the connection]
<pontiki>
ta
yoongkang has joined #ruby
Ilyes512 has quit [Read error: Connection reset by peer]
<gregf__>
apeiros: is that like (0..10).to_regex?
futilegames has quit [Quit: futilegames]
c0m0 has joined #ruby
gilesw has joined #ruby
matp has joined #ruby
yardenbar has joined #ruby
colegatron has joined #ruby
TPBallbag has quit [Quit: don't try and hack my account Ballkenende]
Ilyes512 has joined #ruby
conrfrmn has joined #ruby
joneshf-laptop has joined #ruby
wldcordeiro has joined #ruby
troulouliou_div2 has joined #ruby
cpup has quit [Ping timeout: 240 seconds]
adaedra has joined #ruby
dascodeman has joined #ruby
The_Phoenix has quit [Quit: Leaving.]
yoongkang has quit [Ping timeout: 240 seconds]
go|dfish has joined #ruby
zotherstupidguy has joined #ruby
<shevy>
driftig I always get that too! or chevy chase or something
chriscoffee has joined #ruby
araujo_ has joined #ruby
cornerman has quit [Ping timeout: 240 seconds]
tulak has joined #ruby
tulak has quit [Remote host closed the connection]
araujo_ has quit [Max SendQ exceeded]
araujo has quit [Ping timeout: 260 seconds]
tulak has joined #ruby
blackmesa has joined #ruby
araujo_ has joined #ruby
MonkeyPuzzle has joined #ruby
tuelz has joined #ruby
duoi has quit [Ping timeout: 264 seconds]
pawnbox has quit [Remote host closed the connection]
The_Phoenix has joined #ruby
cornerman has joined #ruby
bkxd has joined #ruby
duoi has joined #ruby
duoi has joined #ruby
gregf__ has quit [Ping timeout: 260 seconds]
Meow-J has quit [Quit: Connection closed for inactivity]
cpup has joined #ruby
maloik has quit [Ping timeout: 240 seconds]
<tuelz>
how do I use send with the append operator?
marr has joined #ruby
diegoaguilar_ has joined #ruby
araujo_ has quit [Quit: Leaving]
diegoaguilar has quit [Ping timeout: 246 seconds]
<tuelz>
Instance.instance_method_that_returns_an_array << object is what I'm trying to achieve, but the Instance is of a variable class
pabs has joined #ruby
sandstrom has joined #ruby
pawnbox has joined #ruby
karapetyan has joined #ruby
maloik has joined #ruby
dascodeman has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
JazzyVariable227 has quit [Remote host closed the connection]
Mon_Ouie has quit [Ping timeout: 240 seconds]
<tuelz>
nevermind, I just had a typo
lapide_viridi has joined #ruby
htmldrum_ has quit [Ping timeout: 264 seconds]
maloik has quit [Ping timeout: 240 seconds]
qba73 has quit []
gagrio has quit [Quit: Leaving...]
epitron has joined #ruby
Amnez777 has joined #ruby
peterhil has quit [Ping timeout: 264 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
abra0 has joined #ruby
jgorak has joined #ruby
Asher has joined #ruby
casadei has quit []
goodcodeguy has joined #ruby
Luyin has joined #ruby
sarlalian has joined #ruby
<Luyin>
hi, I'm setting up redmine on my computer. while installing some gems, I got this message: "rdoc's executable "rdoc" conflicts with /usr/bin/rdoc | Overwrite the executable? [yN]" is it save to say yes?
karapety_ has joined #ruby
lapide_viridi has quit [*.net *.split]
karapetyan has quit [*.net *.split]
pawnbox has quit [*.net *.split]
pabs has quit [*.net *.split]
diegoaguilar_ has quit [*.net *.split]
marr has quit [*.net *.split]
cpup has quit [*.net *.split]
bkxd has quit [*.net *.split]
cornerman has quit [*.net *.split]
The_Phoenix has quit [*.net *.split]
tuelz has quit [*.net *.split]
blackmesa has quit [*.net *.split]
tulak has quit [*.net *.split]
MonkeyPuzzle has quit [*.net *.split]
chriscoffee has quit [*.net *.split]
zotherstupidguy has quit [*.net *.split]
go|dfish has quit [*.net *.split]
troulouliou_div2 has quit [*.net *.split]
wldcordeiro has quit [*.net *.split]
joneshf-laptop has quit [*.net *.split]
conrfrmn has quit [*.net *.split]
Ilyes512 has quit [*.net *.split]
colegatron has quit [*.net *.split]
yardenbar has quit [*.net *.split]
c0m0 has quit [*.net *.split]
gilesw has quit [*.net *.split]
roshanavand has quit [*.net *.split]
psy has quit [*.net *.split]
shortdudey123 has quit [*.net *.split]
twodayslate has quit [*.net *.split]
arup_r has quit [*.net *.split]
Asher1 has quit [*.net *.split]
jgorak_ has quit [*.net *.split]
minimalism has quit [*.net *.split]
danzilio has quit [*.net *.split]
bcavileer_ has quit [*.net *.split]
jondot has quit [*.net *.split]
akitada has quit [*.net *.split]
sross_work|3 has quit [*.net *.split]
Xeago has quit [*.net *.split]
jamto11 has quit [*.net *.split]
gizmore has quit [*.net *.split]
iamdevnul has quit [*.net *.split]
Guest95999 has quit [*.net *.split]
Heero has quit [*.net *.split]
countryHick has quit [*.net *.split]
bove has quit [*.net *.split]
yo61 has quit [*.net *.split]
shelling__ has quit [*.net *.split]
nomadicoder has quit [*.net *.split]
DenSchub has quit [*.net *.split]
Bilge has quit [*.net *.split]
djstorm has quit [*.net *.split]
pwnd_ has quit [*.net *.split]
tylersmith has quit [*.net *.split]
haasn has quit [*.net *.split]
crayfishx has quit [*.net *.split]
bodgix has quit [*.net *.split]
GarethAdams has quit [*.net *.split]
eam has quit [*.net *.split]
null3 has quit [*.net *.split]
sapslaj_ has quit [*.net *.split]
teotwaki has quit [*.net *.split]
angiebadillo has quit [*.net *.split]
PaulCapestany has quit [*.net *.split]
tubulife| has quit [*.net *.split]
ta has quit [*.net *.split]
A124 has quit [*.net *.split]
darkf has quit [*.net *.split]
krasnus has quit [*.net *.split]
heyimwill has quit [*.net *.split]
Phage has quit [*.net *.split]
drbrain has quit [*.net *.split]
marienz has quit [*.net *.split]
Gadgetoid has quit [*.net *.split]
<jhass>
I wouldn't overwrite it
chouhoulis has quit [Ping timeout: 276 seconds]
new_student has quit [Ping timeout: 246 seconds]
shortdudey123 has joined #ruby
<Luyin>
jhass can you tell me why, or is it just general caution?
mattarse has quit [Remote host closed the connection]
<jhass>
your /usr/bin/rdoc probably comes from a package of your distribution
CpuID has joined #ruby
CpuID has quit [Changing host]
CpuID has joined #ruby
<jhass>
I would always prefer files from packages over untracked things installing files to the global system
<Luyin>
okay, thanks
adaedra has quit [Ping timeout: 246 seconds]
dimasg has joined #ruby
Ilyes512 has joined #ruby
karapety_ has quit [Remote host closed the connection]
karapetyan has joined #ruby
diegoaguilar_ has joined #ruby
wldcordeiro has joined #ruby
joneshf-laptop has joined #ruby
troulouliou_div2 has joined #ruby
brunto has quit [Ping timeout: 246 seconds]
zotherstupidguy has joined #ruby
allomov has quit [Remote host closed the connection]
gilesw has joined #ruby
houhoulis has joined #ruby
conrfrmn has joined #ruby
allcentury has joined #ruby
elton has joined #ruby
gizmore has joined #ruby
blackmesa has joined #ruby
spt0 has joined #ruby
ricer2 has joined #ruby
iateadonut has joined #ruby
haasn` has joined #ruby
tuelz has joined #ruby
joonty has quit [Quit: joonty]
howdoicomputer has joined #ruby
c0m0 has joined #ruby
minimalism has joined #ruby
colegatron has joined #ruby
jondot has joined #ruby
danzilio has joined #ruby
marr has joined #ruby
cornerman has joined #ruby
twodayslate has joined #ruby
psy has joined #ruby
fedexo has joined #ruby
tulak has joined #ruby
cpup has joined #ruby
woven has joined #ruby
go|dfish has joined #ruby
MonkeyPuzzle has joined #ruby
chriscoffee has joined #ruby
Olipro has joined #ruby
yardenbar has joined #ruby
bcavileer_ has joined #ruby
shelling__ has joined #ruby
bove has joined #ruby
iamdevnul has joined #ruby
tubulife| has joined #ruby
marienz has joined #ruby
angiebadillo has joined #ruby
bodgix has joined #ruby
krasnus has joined #ruby
countryHick has joined #ruby
darkf has joined #ruby
A124 has joined #ruby
Phage has joined #ruby
teotwaki has joined #ruby
null3 has joined #ruby
crayfishx has joined #ruby
ta has joined #ruby
Xeago has joined #ruby
PaulCapestany has joined #ruby
heyimwill has joined #ruby
drbrain has joined #ruby
Bilge has joined #ruby
eam has joined #ruby
DenSchub has joined #ruby
bb010g has joined #ruby
GarethAdams has joined #ruby
Heero has joined #ruby
pwnd_ has joined #ruby
tylersmith has joined #ruby
Gadgetoid has joined #ruby
sapslaj_ has joined #ruby
nomadicoder has joined #ruby
djstorm has joined #ruby
gregf has joined #ruby
karapetyan has quit [Ping timeout: 272 seconds]
symm- has joined #ruby
adaedra has joined #ruby
peterhil has joined #ruby
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
Rodya_ has joined #ruby
The_Phoenix has joined #ruby
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Olipro is now known as Guest96625
pabs has joined #ruby
MonkeyPuzzle has quit [Quit: Leaving]
Ilyes512 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sandstrom has quit [Quit: My computer has gone to sleep.]
senayar_ has quit []
pawnbox has quit [Ping timeout: 264 seconds]
mattwild_ has quit [Remote host closed the connection]
DurstBurger has joined #ruby
kristofferR has joined #ruby
atomical has joined #ruby
InvGhost has joined #ruby
woven has quit [Ping timeout: 240 seconds]
amclain has joined #ruby
Peg-leg has quit [Quit: Leaving.]
timonv has quit [Ping timeout: 246 seconds]
tulak_ has joined #ruby
RobertBirnie has joined #ruby
The_Phoenix has quit [Read error: Connection reset by peer]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
RobertBirnie has quit [Max SendQ exceeded]
[1]MP has joined #ruby
RobertBirnie has joined #ruby
tulak has quit [Ping timeout: 240 seconds]
allcentury has quit [Ping timeout: 272 seconds]
TheHodge has joined #ruby
roshanavand has joined #ruby
brt has joined #ruby
allcentury has joined #ruby
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
B1n4r10 has joined #ruby
jamto11 has joined #ruby
mistermocha has joined #ruby
roshanavand has quit [Ping timeout: 240 seconds]
houhouli_ has joined #ruby
rodfersou|lunch is now known as rodfersou
allcentury has quit [Ping timeout: 240 seconds]
zotherst1 has joined #ruby
elton_ has joined #ruby
minimalism has quit [Quit: Lost terminal]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rollabun_ has quit [Quit: Leaving...]
woven has joined #ruby
jamto11 has quit [Ping timeout: 264 seconds]
kristoff_ has joined #ruby
Blaguvest has joined #ruby
polysics has joined #ruby
tuelz has quit [Read error: Connection reset by peer]
symm- has quit [Ping timeout: 240 seconds]
diegoaguilar_ has quit [Ping timeout: 240 seconds]
bb010g has quit [Ping timeout: 240 seconds]
wldcordeiro has quit [Ping timeout: 240 seconds]
ytti has quit [Ping timeout: 240 seconds]
dimasg has quit [Ping timeout: 240 seconds]
ElderFain has quit [Ping timeout: 240 seconds]
DurstBurger has quit [Ping timeout: 240 seconds]
ElderFain- has joined #ruby
ElderFain- is now known as ElderFain
ElderFain has quit [Changing host]
ElderFain has joined #ruby
bhaak has quit [Ping timeout: 260 seconds]
wldcordeiro has joined #ruby
gilesww has joined #ruby
tuelz1 has joined #ruby
InvGhostt has joined #ruby
[2]MP has joined #ruby
banister has joined #ruby
bhaak has joined #ruby
abbe has joined #ruby
abbe_ has quit [Ping timeout: 240 seconds]
[1]MP has quit [Ping timeout: 240 seconds]
kristofferR has quit [Ping timeout: 240 seconds]
amclain has quit [Ping timeout: 240 seconds]
RobertBirnie has quit [*.net *.split]
pabs has quit [*.net *.split]
gizmore has quit [*.net *.split]
elton has quit [*.net *.split]
houhoulis has quit [*.net *.split]
zotherstupidguy has quit [*.net *.split]
gilesw has quit [*.net *.split]
troulouliou_div2 has quit [*.net *.split]
joneshf-laptop has quit [*.net *.split]
bb010g has joined #ruby
dimasg has joined #ruby
null__ has quit [Ping timeout: 246 seconds]
blackmesa has quit [Ping timeout: 246 seconds]
amclain has joined #ruby
InvGhost has quit [Ping timeout: 264 seconds]
B1n4r10 has quit [Ping timeout: 246 seconds]
RobertBirnie has joined #ruby
conrfrmn has quit [Ping timeout: 246 seconds]
weemsledeux has joined #ruby
yo61 has joined #ruby
mistermo_ has joined #ruby
snockerton has joined #ruby
RobertBirnie has quit [Ping timeout: 246 seconds]
mistermocha has quit [*.net *.split]
Rodya_ has quit [*.net *.split]
roshanavand has joined #ruby
jondot has quit [Ping timeout: 240 seconds]
pabs has joined #ruby
symm- has joined #ruby
joneshf-laptop has joined #ruby
abbe has quit [Ping timeout: 246 seconds]
diegoaguilar has joined #ruby
Eiam has joined #ruby
jamto11 has joined #ruby
yo61 has quit [Ping timeout: 246 seconds]
boxrick1 has joined #ruby
woven has quit [Ping timeout: 246 seconds]
akitada has joined #ruby
joneshf-laptop has quit [Max SendQ exceeded]
roshanavand has quit [Ping timeout: 246 seconds]
abbe has joined #ruby
troulouliou_div2 has joined #ruby
joneshf-laptop has joined #ruby
pabs has quit [Ping timeout: 246 seconds]
gregf__ has joined #ruby
bb010g has quit [Ping timeout: 246 seconds]
Guest85414______ has quit []
Guest85414______ has joined #ruby
bewie_ is now known as bewie
poguez_ has quit [Quit: Connection closed for inactivity]
cpup has quit [Ping timeout: 240 seconds]
jamto11 has quit [Ping timeout: 246 seconds]
pabs has joined #ruby
joneshf-laptop has quit [Max SendQ exceeded]
boxrick1 has quit [Ping timeout: 246 seconds]
Davey has quit [Ping timeout: 246 seconds]
yo61 has joined #ruby
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
joneshf-laptop has joined #ruby
minimalism has joined #ruby
roshanavand has joined #ruby
ELLIOTTCABLE has quit []
gizmore has joined #ruby
ELLIOTTCABLE has joined #ruby
nofxx has joined #ruby
nofxx has joined #ruby
Davey has joined #ruby
Davey has quit [Changing host]
Davey has joined #ruby
peterhil has quit [Ping timeout: 264 seconds]
bb010g has joined #ruby
[2]MP has quit [Ping timeout: 246 seconds]
joneshf-laptop has quit [Max SendQ exceeded]
boxrick1 has joined #ruby
elton_ has quit [Ping timeout: 246 seconds]
pabs has quit [Ping timeout: 246 seconds]
akitada has quit [Ping timeout: 246 seconds]
woven has joined #ruby
sfmk has left #ruby ["Later nerds"]
blackmesa has joined #ruby
Xeago has quit [Remote host closed the connection]
lavros has quit [Quit: leaving]
joneshf-laptop has joined #ruby
bhaak has quit [Ping timeout: 260 seconds]
elton has joined #ruby
bhaak has joined #ruby
pabs has joined #ruby
null__ has joined #ruby
null__ has quit [Changing host]
null__ has joined #ruby
yo61 has quit [Ping timeout: 246 seconds]
mistermo_ has quit [Ping timeout: 246 seconds]
akitada has joined #ruby
z1haze2 has quit [Quit: Leaving]
jmhmccr has quit []
gregf__ has quit [Ping timeout: 246 seconds]
goodcodeguy has joined #ruby
[1]MP has joined #ruby
mrtomme has quit [Ping timeout: 246 seconds]
jmhmccr_ has joined #ruby
JazzyVariable227 has joined #ruby
blackmes1 has joined #ruby
jmhmccr_ is now known as jmhmccr
darkf has quit [Quit: Leaving]
mrtomme has joined #ruby
ytti has joined #ruby
ytti has quit [Ping timeout: 240 seconds]
gregf__ has joined #ruby
minimali1m has joined #ruby
maikowblue has joined #ruby
minimalism has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 247 seconds]
zotherst1 has quit [Ping timeout: 247 seconds]
joneshf-laptop has quit [Ping timeout: 246 seconds]
brt has quit [Ping timeout: 246 seconds]
null__ has quit [Ping timeout: 246 seconds]
symm- has quit [Ping timeout: 246 seconds]
minimali1m has quit [Client Quit]
jamto11 has joined #ruby
Rollabunna has joined #ruby
minimalism has joined #ruby
pawnbox has joined #ruby
gregf__ has quit [Ping timeout: 246 seconds]
Jackneill has joined #ruby
InvGhosttt has joined #ruby
pabs has quit [Ping timeout: 246 seconds]
yo61 has joined #ruby
pabs has joined #ruby
joneshf-laptop has joined #ruby
zotherst1 has joined #ruby
null__ has joined #ruby
null__ has quit [Changing host]
null__ has joined #ruby
marsjaninzmarsa has quit [Ping timeout: 250 seconds]
mattwildig has joined #ruby
B1n4r10 has joined #ruby
Porfa has quit [Ping timeout: 272 seconds]
InvGhostt has quit [Ping timeout: 264 seconds]
troulouliou_div2 has quit [Remote host closed the connection]
marsjaninzmarsa has joined #ruby
Rodya_ has joined #ruby
amclain has quit [Ping timeout: 247 seconds]
joneshf-laptop has quit [Excess Flood]
pabs has quit [Ping timeout: 246 seconds]
yo61 has quit [Ping timeout: 246 seconds]
maikowblue has quit [Ping timeout: 246 seconds]
JazzyVariable227 has quit [Remote host closed the connection]
gregf__ has joined #ruby
B1n4r10 has quit [Ping timeout: 246 seconds]
null__ has quit [Ping timeout: 246 seconds]
maikowblue has joined #ruby
Guest12682 has quit [Ping timeout: 264 seconds]
woven has quit [Ping timeout: 245 seconds]
JazzyVariable227 has joined #ruby
woven has joined #ruby
boxrick1 has quit [Ping timeout: 246 seconds]
Liothen has quit [Ping timeout: 246 seconds]
Eiam has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
diegoaguilar has quit [Remote host closed the connection]
B1n4r10 has joined #ruby
skade has joined #ruby
iateadonut has quit [Ping timeout: 246 seconds]
symm- has joined #ruby
yo61 has joined #ruby
gregf__ has quit [Ping timeout: 246 seconds]
zotherst1 has quit [Ping timeout: 246 seconds]
pawnbox has quit [Ping timeout: 246 seconds]
Liothen has joined #ruby
Liothen has joined #ruby
[2]MP has joined #ruby
tulak_ has quit [Remote host closed the connection]
mistermocha has joined #ruby
akem has quit [Read error: No route to host]
soahccc has quit [Ping timeout: 264 seconds]
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
soahccc has joined #ruby
norc has joined #ruby
Luyin has left #ruby ["exit channel"]
atomical has joined #ruby
<norc>
Just started booting my first real gem, and was wondering about best practicing about loading the files inside.
cpup has joined #ruby
pabs has joined #ruby
null__ has joined #ruby
[1]MP has quit [Ping timeout: 246 seconds]
elton has quit [Remote host closed the connection]
joneshf-laptop has joined #ruby
pawnbox has joined #ruby
14WABUB8H has joined #ruby
snapcase has quit [Ping timeout: 246 seconds]
snapcase has joined #ruby
B1n4r10 has quit [Remote host closed the connection]
B1n4r10 has joined #ruby
maikowblue has quit [Ping timeout: 246 seconds]
yo61 has quit [Ping timeout: 246 seconds]
jamto11 has quit [Ping timeout: 246 seconds]
blackmes1 has quit [Ping timeout: 246 seconds]
akem2 has joined #ruby
jamto11 has joined #ruby
DurstBurger has joined #ruby
joneshf-laptop has quit [Ping timeout: 246 seconds]
akem2 has quit [Read error: Connection reset by peer]
iateadonut has joined #ruby
akem2 has joined #ruby
crazydiamond has joined #ruby
skade has quit [Read error: Connection reset by peer]
14WABUB8H has quit [Ping timeout: 246 seconds]
null__ has quit [Ping timeout: 246 seconds]
B1n4r10 has quit [Ping timeout: 246 seconds]
crazydiamond has quit [Max SendQ exceeded]
peterhil has joined #ruby
crazydiamond has joined #ruby
joneshf-laptop has joined #ruby
capin has left #ruby [#ruby]
B1n4r10 has joined #ruby
yo61_ has joined #ruby
<jhass>
I've seen two schools, have all requires in alphabetical (or the right order when there are interdependencies) in the main entry point of your gem, or have each file repeat each require it depends on at the top
<jhass>
personally I prefer the second approach
null__ has joined #ruby
null__ has quit [Changing host]
null__ has joined #ruby
crazydiamond has quit [Remote host closed the connection]
yo61_ is now known as yo61
<jhass>
well, some also autoload or even Dir[...] { require ... }
pawnbox has quit [Remote host closed the connection]
<norc>
jhass: Mhm. That second approach has that neat effect that you can also require parts of the gems without potentially polluting namespaces (or possibly spend much time booting larger classes)
<norc>
So it doesn't sound too bad
DurstBurger has quit [Ping timeout: 246 seconds]
boxrick1 has joined #ruby
elton has joined #ruby
<jhass>
yeah
gregf__ has joined #ruby
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mistermocha has quit [Remote host closed the connection]
elton has quit [Remote host closed the connection]
pawnbox has joined #ruby
Coral has joined #ruby
mistermocha has joined #ruby
B1n4r10 has quit [Ping timeout: 246 seconds]
Coral is now known as Guest43214
dmcp_ has quit [Quit: Disconnecting...]
dmcp_ has joined #ruby
chriscoffee has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
BraddPitt has quit [Quit: leaving]
BraddPitt has joined #ruby
davedev2_ has joined #ruby
davedev24 has quit [Ping timeout: 272 seconds]
cpup has quit [Ping timeout: 264 seconds]
mistermocha has quit [Ping timeout: 246 seconds]
BTRE has quit [Quit: Leaving]
aspiers_ is now known as aspiers
<pontiki>
i prefer to put requires where used
<pontiki>
even if they're used in multiple classes
elton has joined #ruby
lugia has quit [Ping timeout: 246 seconds]
moeabdol has quit [Quit: WeeChat 1.3]
zotherst1 has joined #ruby
woven has quit [Ping timeout: 246 seconds]
brt has joined #ruby
elton has quit [Ping timeout: 264 seconds]
cpup has joined #ruby
elton has joined #ruby
bersimoes has joined #ruby
cmoneylulz has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blackmes1 has joined #ruby
mattwildig has quit [Remote host closed the connection]
coraline_ has joined #ruby
bersimoes has quit [Ping timeout: 246 seconds]
adaedra has quit [Quit: .]
psy has quit [Disconnected by services]
tomphp_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
User458764 has joined #ruby
coraline_ is now known as Coraline
mattwildig has joined #ruby
psy_ has joined #ruby
User458764 has quit [Max SendQ exceeded]
mistermocha has joined #ruby
User458764 has joined #ruby
JazzyVariable227 has quit [Remote host closed the connection]
bkxd has joined #ruby
kadoppe_ has quit [Ping timeout: 260 seconds]
koneko has quit [Quit: brb]
kadoppe has joined #ruby
Ilyes512 has joined #ruby
elton has quit [Remote host closed the connection]
pawnbox has quit [Read error: No route to host]
c0m0 has quit [Ping timeout: 240 seconds]
mistermocha has quit [Remote host closed the connection]
pawnbox has joined #ruby
peterhil has quit [Ping timeout: 264 seconds]
Shidash has quit [Ping timeout: 264 seconds]
Shidash has joined #ruby
zapata has joined #ruby
BaroMeter has quit [Quit: Leaving]
bkxd has quit [Ping timeout: 264 seconds]
lugia has joined #ruby
elaptics is now known as elaptics`away
Xiti has joined #ruby
BTRE has joined #ruby
tubuliferous_ has joined #ruby
tomphp has joined #ruby
bkxd has joined #ruby
cmoneylulz has quit [Remote host closed the connection]
karapetyan has joined #ruby
decoponio has quit [Quit: Leaving...]
Mon_Ouie has joined #ruby
bersimoes has joined #ruby
bkxd has quit [Ping timeout: 246 seconds]
blackmes1 has quit [Ping timeout: 264 seconds]
rigsby has joined #ruby
yfeldblum has joined #ruby
PlasmaStar has quit [Ping timeout: 272 seconds]
DexterLB has joined #ruby
Xiti has quit [Ping timeout: 246 seconds]
SUPERN1GG3R has joined #ruby
<SUPERN1GG3R>
freenode is experiencing ddos attacks because of the uptight cunts in the #ruby channel
cryptic1 has joined #ruby
cryptic1 has left #ruby ["Leaving"]
<jhass>
!ban SUPERN1GG3R !T 1w then leave
SUPERN1GG3R was kicked from #ruby by ChanServ [Banned: then leave]
B1n4r10 has joined #ruby
skade has joined #ruby
rodfersou has quit [Quit: leaving]
[2]MP has quit [Quit: HydraIRC -> http://www.hydrairc.com <- In tests, 0x09 out of 0x0A l33t h4x0rz prefer it :)]
PlasmaStar has joined #ruby
peterhil has joined #ruby
xet7 has joined #ruby
sdfgsdfg has quit [Remote host closed the connection]
<snockerton>
lawl
yfeldblum has quit [Remote host closed the connection]
joast has quit [Quit: Leaving.]
koneko has joined #ruby
<Andrevan>
Hey, anyone want to take a crack at a VCR question? Trying to connect to an XMPP server running locally using the xmpp4r gem. Under the hood appears to be Net::HTTP but VCR won't pick it up in rspec
juddey has joined #ruby
<jhass>
wat?
<jhass>
xmpp4r is using BOSH or what? that would be really odd
<norc>
Okay... so apparently HighLine doesn't let me validate against q.in = (0..(1.0/0.0)) easily :<
<Andrevan>
jhass: xmpp4r has an HTTP Bind client
kollapse has joined #ruby
<jhass>
and you're sure you're using it? (and why are you anyway?)
peterhil has quit [Ping timeout: 264 seconds]
<Andrevan>
jhass: I'm only using the HTTP Bind client in the test case because I want to use VCR to record the ejabberd server so it doesn't need to be running when I run my build.
karapetyan has quit [Remote host closed the connection]
<kollapse>
Hi. I'm setting terminal titles using print "\x1b]2;TITLE_HERE\x07" in ruby but the title stays the safe after the script execution. I actually have to press Enter or Ctrl+C to reset the title. What can I issue inside ruby to ensure that the title gets reset correctly upon termination ?
karapetyan has joined #ruby
joast has joined #ruby
skweek has quit [Ping timeout: 240 seconds]
<jhass>
Andrevan: I'm not sure that's a good approach in the first place. The edge case behavior of both might very well differ, leading to bugs in the real code you don't discover in your specs or vice versa
JazzyVariable227 has joined #ruby
<Andrevan>
jhass: Not sure what you mean, but it's a perfectly fine approach in my book. VCR records the behavior of the server. I write an integration test that exercises the various routines, e.g. register, join a chat, receive a message. Then VCR records the HTTP responses and I can run against the fixtured data instead of the live server.
conrfrmn has joined #ruby
<Andrevan>
jhass: ejabberd is a mature server program and it's unlikely to change, but I don't want to have a dependency on running it for CI, etc.
joast has quit [Client Quit]
<jhass>
Andrevan: except that for the real server you use another underlying protocol essentially
<Andrevan>
jhass: the alternative is stubbing out the responses from the client wrapper, but that makes the test brittle and dependent on the order I call it in implementation.
Rodya_ has quit [Remote host closed the connection]
<Andrevan>
jhass: xmpp4r has a drop in HTTP replacement for the XMPP client
bersimoes has quit [Remote host closed the connection]
<jhass>
Andrevan: yes, but you don't want to stub your calls to xmpp4r, meaning you want to do integration tests including what xmpp4r does for you. So you don't actually test what you use in production
pawnbox has quit [Remote host closed the connection]
NaviFullroot has quit [Remote host closed the connection]
mattwildig has quit [Remote host closed the connection]
Log1x has quit [Ping timeout: 240 seconds]
htmldrum has joined #ruby
pawnbox has joined #ruby
<Andrevan>
jhass: I want to use VCR to record production jabber data that I will hit with Jabber::HTTPBinding::Client. In real life it uses Jabber::Client, but the code is the same and the interface is the same. I can refactor the xmpp4r code and it will still hit the same fixtured test VCR data
amclain has joined #ruby
<Andrevan>
jhass: if I stub the calls to Jabber::Client I need to assert that all of the test doubles behave a certain way in a certain order, and if I refactor the implementation I need to rewrite the stubs
<jhass>
you're just repeating what you said previously completely ignoring my point, I see no further point in this conversation
karapetyan has quit [Ping timeout: 264 seconds]
jonathanwallace has quit [Quit: Butts]
Log1x has joined #ruby
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Andrevan>
jhass: hmm, I thought I was explaining myself. I asked for help with a technical problem - VCR doesn't intercept the Net::HTTP call in Jabber::HTTPBinidng::Client. I didn't really need a design critique of my decision here since that part is not going to change -- I just don't understand why VCR can't see the Net::HTTP call
Guest66504 has joined #ruby
spider-mario has joined #ruby
<jhass>
and I replied with why I think that you waste effort in even trying to make it work, whatever the issue is
JazzyVariable227 has quit [Remote host closed the connection]
<Andrevan>
jhass: fair, but I don't agree. If you're interested in trying to debug the technical problem we can keep talking.
SCHAAP137 has joined #ruby
htmldrum has quit [Ping timeout: 246 seconds]
diego3 has joined #ruby
<Andrevan>
jhass: I would rather have a test that exercises the implementation more or less fully with the exception of the drop-in HTTP adapter, than one that exercises no part of the underlying implementation because it's all stubs
Guest66504 has left #ruby [#ruby]
Oog has joined #ruby
diegoviola has quit [Ping timeout: 264 seconds]
ThufirHawat has joined #ruby
diego3 has quit [Changing host]
diego3 has joined #ruby
diego3 is now known as diegoviola
joast has joined #ruby
cpup has quit [Ping timeout: 246 seconds]
<Andrevan>
jhass: think of it like using headless Capybara instead of Chrome. THe server on the other side is the same but we talk to it in a different way in test. It's still the difference between an integration test and a stubbed out unit test
BSaboia has joined #ruby
ohaibbq has joined #ruby
kiez0rd has quit [Quit: baaaaiiiiiiiiiii~]
<Andrevan>
jhass: the larger issue is that VCR usually just automagically picks up all Net::HTTP calls. I know it's set up because if I make a get to google.com that gets picked up, but the call inside xmpp4r is ignored
<jhass>
Andrevan: if you ever tried to port say a selenium backed project to poltergeist, you would know exactly what I mean
cpup has joined #ruby
<jhass>
the edge case behavior is so different, and it's not even close to being as different in the backend implementation
pawnbox has quit [Ping timeout: 264 seconds]
<jhass>
anyway, as said I see no real point in continuing that discussion
<Andrevan>
jhass: I've worked on projects that used selenium, poltergeist, capybara-webkit, cucumber, etc. The browser drivers do behave differently, but there's still value in them.
agent_white has joined #ruby
roshanav_ has joined #ruby
<Andrevan>
jhass: The solution is probably to use a custom test proxy like puffing-billy, but before I bite that bullet I was going to try to get VCR to work.
iateadonut has left #ruby [#ruby]
BSab has quit [Ping timeout: 264 seconds]
B1n4r10 has quit [Ping timeout: 246 seconds]
axsuul has joined #ruby
<Andrevan>
jhass: the behavior of the xmpp4r HTTP version versus the XMPP is actually more or less the same. The HTTP one is a little better for test cases because it returns things like status codes, so it's more Rails controller-y f
<axsuul>
If i'm simply just trying to require 'logger' but it says cannot be found, is there something wrong with my ruby installation?
roshanavand has quit [Ping timeout: 246 seconds]
<jhass>
axsuul: maybe, how did you install it?
<axsuul>
it just randomly happened
poguez_ has joined #ruby
<axsuul>
using rbenv
<nofxx>
How to group a flattened array into groups of X items?
tvw has joined #ruby
roshanav_ has quit [Remote host closed the connection]
<jhass>
nofxx: each_slice
<nofxx>
jhass, ty!
<jhass>
axsuul: huh? you mean you can no longer reproduce it?
<axsuul>
means i never had this issue before today
<axsuul>
didnt mess with ruby installation
pawnbox has joined #ruby
myztic has quit [Ping timeout: 246 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<jhass>
axsuul: don't use Ruby, so no idea where the install base is, but check lib/ruby/2.2.0/logger.rb is still a thing?
<jhass>
any other stdlib requires failing?
<jhass>
er, don't use rbenv I mean
prestorium has quit [Quit: Leaving]
myztic has joined #ruby
existensil_ has quit [Quit: WeeChat 0.4.2]
polysics has quit []
RobertBirnie has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
diegoviola has quit [Quit: WeeChat 1.3]
existensil has joined #ruby
kies has joined #ruby
diegoviola has joined #ruby
Hounddog has quit [Remote host closed the connection]
kirun has joined #ruby
juddey has joined #ruby
<norc>
Is there an elegant way to overwrite a string A with a smaller string B, starting at index n of A?
<norc>
Just can't find a way without using B.length
haasn` is now known as haasn
<norc>
DOH.
<norc>
Nevermind.
user1138 has joined #ruby
pawnbox has quit [Remote host closed the connection]
Andrevan has left #ruby ["WeeChat 1.3"]
myztic has quit [Quit: leaving]
workmad3 has joined #ruby
myztic has joined #ruby
Oog has quit []
juddey has quit [Remote host closed the connection]
nofxx has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
skade has quit [Quit: Computer has gone to sleep.]
<VeryBewitching>
One thing I would like to mention before we continue talking about this, I have no experience but bad ones running Ruby on the Windows OS
Log1x has quit [Remote host closed the connection]
<VeryBewitching>
Others may be running it successfully, but I have as of yet to know anything but pain trying.
mac_ has quit [Quit: This computer has gone to sleep]
<new_student>
VeryBewitching: I am stuck at the very first stage
mac_ has joined #ruby
<new_student>
The strange thing is, if I use cygwin, it doesn't cry
<VeryBewitching>
Yes, cygwin provides it's own C library environment.
<new_student>
Specifically, which C library would ruby be referring to
kvltar has joined #ruby
<VeryBewitching>
Well, if you're running a Windows binary of Ruby, it's linked against the Windows MS provided C library.
kvltar has quit [Client Quit]
<VeryBewitching>
Under cygwin, it's GNU libc
<havenwood>
new_student: RubyGems doesn't respond to ICMP echo requests so it's not pingable.
<new_student>
havenwood: that is not the issue. I pinged just to show you that my DNS servers are functioning fine but ruby is not able to resolve rubygems.org
nso95- has quit [Ping timeout: 246 seconds]
Gnut has joined #ruby
pawnbox has joined #ruby
<VeryBewitching>
new_student: Use nslookup
<new_student>
VeryBewitching: nslookup succeeds too
<norc>
new_student: Have you wiresharked it yet?
<havenwood>
new_student: What version of RubyGems?: gem -v
karapetyan has quit [Remote host closed the connection]
<havenwood>
gem -v #=> 2.5.0
karapetyan has joined #ruby
<new_student>
norc: yes, I did, and during the gem command, no DNS requests are being made
<new_student>
havenwood: 2.0.15
skweek has joined #ruby
<havenwood>
new_student: Does updating RubyGems itself work?: gem update --system
<havenwood>
new_student: 9Newer Ruby ships with newer RubyGems but you can update it independently.)
<new_student>
havenwood: it just says: Latest version currently installed. Aborting.
ecksit has joined #ruby
ecksit has quit [Max SendQ exceeded]
<norc>
new_student: Have you flushed your DNS cache?
nso95- has joined #ruby
<new_student>
norc: yup, I have
<new_student>
I did ipconfig /flushdns
ecksit has joined #ruby
<new_student>
dunno if there is any other method
<havenwood>
new_student: Can you switch to Ruby 2.1.7 or do you have to be on 2.0.0?
<havenwood>
new_student: RubyInstaller recommends the 32-bit 2.1.7 for Windows.
pawnbox has quit [Ping timeout: 264 seconds]
<ecksit>
hi, i have some output and i am looking to see if there is a more effecient way to loop through and construct the desired output. https://gist.github.com/anonymous/91bc550218e0c0c5c508 shows the output i currently have (key to any items in an array) and then the bottom shows the single key to single value i would like
<ecksit>
is there a better way than using two each's?
<new_student>
havenwood: interesetingly, same thing happens with curl inside mingw
xet7 has quit [Quit: Leaving]
<new_student>
it isn't able to resolv
nso95- has quit [Remote host closed the connection]
<new_student>
So I am guessing it is more of a system/library level issue
<VeryBewitching>
What version of Windows are you on?
<new_student>
But unabe to figure out similarity between curl and HTTP:Net
<new_student>
I am on Win10
<VeryBewitching>
Oh
<new_student>
Inside cygwin, everything works fine
duncannz has joined #ruby
<new_student>
but again, ruby isn't installed in mingw, so I can't blame mingw guys
duncannz has quit [Max SendQ exceeded]
<VeryBewitching>
That's a different environment with cygwin though.
duncannz has joined #ruby
<new_student>
VeryBewitching: that is exactly what I want to figure out. What is different. And where it is oing wrong
<havenwood>
ecksit: Is that pretty print output of what you have?
Coldblackice has joined #ruby
<ecksit>
yes havenwood
<havenwood>
ecksit: Ah, confused me. Heh.
kies^ has quit [Ping timeout: 240 seconds]
<ecksit>
sorry, i should have removed a bunch of stuff from it
<ecksit>
ah! i was only passing through the key in the blocks, not the value
<ecksit>
thanks havenwood
<VeryBewitching>
new_student: When you install cygwin, you're essentially installing GNU tools and friends in a non-GNU OS. To get these tools to compile, the cygwin folks had to build the C library on Windows, so anything you build in cygwin is using the C library that cygwin distributes. We have the same library under Linux and things work fine here.
<havenwood>
ecksit: np
allcentury has joined #ruby
mac_ has quit [Quit: This computer has gone to sleep]
Ilyes512 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<new_student>
VeryBewitching: so, when it is *not* cygwin, then at what point does it bifurcate and use Windows libraries, say, in the case for Http::Net
<VeryBewitching>
new_student: But Windows itself distributes their version of system libraries. RubyInstaller is installing a ruby that was compiled against Windows libraries.
mac_ has joined #ruby
<new_student>
Exactly
sankaber has joined #ruby
<new_student>
So, which Windows Library should I be hunting down?
yqt has joined #ruby
B1n4r10 has quit [Ping timeout: 264 seconds]
Gnut has quit [Ping timeout: 264 seconds]
Renich has joined #ruby
<VeryBewitching>
As I mentioned earlier, I don't know much about Windows Ruby, I could never get it to work smoothly. Find out what Net::HTTP uses as a backend and that should give you an idea.
<new_student>
VeryBewitching: I tried that. I got stuck at TCPSocket.open() -> I dont' know what magic happens after this
<norc>
new_student: Meh I think I found the issue.
<new_student>
do share
<new_student>
:)
Azure has quit [Ping timeout: 260 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Azure has joined #ruby
<norc>
new_student: What is your Ruby version?
<new_student>
2.0.0p647
htmldrum has joined #ruby
mattarse has quit [Ping timeout: 246 seconds]
tomphp has joined #ruby
<norc>
new_student: It looks like there may be a bug when cygwin dispatches resolve calls to the windows resolver. May be changes in the Win32 API would have to debug on the target system
tomphp has quit [Client Quit]
<new_student>
norc: how would you debug that?
<norc>
With a debugger.
<new_student>
I have no experience, but willing to try
<new_student>
which debugger?
diegoviola has quit [Quit: WeeChat 1.3]
<norc>
I have a possible hotfix for you though
pawnbox has joined #ruby
<norc>
Create a resolv.conf for your cygwin, and it will directly use that nameserver.
<new_student>
norc: I told you before... in cygwin, everything works fine :P
<norc>
new_student: Oh.
<norc>
Native Windows?
<new_student>
yup
trosborn has joined #ruby
Renich has quit [Quit: leaving]
<norc>
new_student: Well, based on the error message the error comes from the Win32 API.
<new_student>
norc: ahh... what is the name of the API
<krajos>
I wish I could hug you all, thanks like always.
<norc>
krajos: Anything except nil and false is true in Ruby.
baweaver has joined #ruby
kallisti6 is now known as kallisti5
<norc>
Even empty strings evaluate to true.
<norc>
>> !!""
<ruboto>
norc # => /tmp/execpad-043163f49aac/source-043163f49aac:2: warning: string literal in condition ...check link for more (https://eval.in/477096)
<blubjr>
heh
<slash_nick>
krajos: the #index method, as in [1,2,3].index(2) returns the index of the element with a value of 2
<norc>
:S
<krajos>
right
<blubjr>
and if x + y = 0, then y = -x
<krajos>
I'm still trying to figure out how it knows that the sum of two numbers in the array sums to zero
<krajos>
AH there it is!
<krajos>
FUck that's beautiful
xaitec has joined #ruby
<krajos>
thanks
<slash_nick>
krajos: so, we loop through the elements, searching for the index of some el that is ... what blubjr just added :)
framling has joined #ruby
<krajos>
Thank you!!!!!!! I'm off to play around with this.
<krajos>
Thank you all for your help.
krajos has quit [Quit: Leaving]
asas has joined #ruby
* norc
kicks ruboto
<norc>
How do I turn off your warnings.
xaitec has quit [Client Quit]
<norc>
>> $VERBOSE = nil; !!""
<ruboto>
norc # => /tmp/execpad-756da95d0c8d/source-756da95d0c8d:2: warning: string literal in condition ...check link for more (https://eval.in/477097)
<krajos>
Hey again, another elementary question: The program should tell me if the number provided is a power of 2. I found a really elegant solution online, but don't understand how it even works. How is the bitwise ampersand working here?! Here's the code: def ispow2(n)
<krajos>
n & (n – 1) == 0
<krajos>
end
<snockerton>
i'm running a sub-script via `backticks` but any puts in the sub-script don't make it to stdout - what am I missing?
<tobiasvl>
krajos: it's called a bitwise and
<tobiasvl>
krajos: the operator
<snockerton>
i tried `$stdout.sync = true`
<krajos>
Yeah, and it works differently depending on context, right?
<adaedra>
krajos: binary & applies the AND binary operation to each couple of numbers on the two operands.
<snockerton>
tobiasvl: sorry wasn't clear, the backticks are actually `ruby myscript.rb`
<csguest>
hey ruby. anyone ever used racket?
<adaedra>
?anyone
<ruboto>
Just ask your question, if anyone has or can, they will respond.
workmad3 has joined #ruby
duncannz has quit [Quit: Leaving]
<csguest>
well if someone has used racket, explaining what I mean will be a lot easier
<krajos>
I see
<tobiasvl>
snockerton: oh ok then. well, if myscript.rb containst $stdout.sync = true
<snockerton>
tobiasvl: within myscript.rb, i have lots of stdout via puts, etc. but when I invoke it this way from the other parent script, nothing makes it to stdout
<tobiasvl>
what will you expect it to puts?
<shevy>
nobody has!
<tobiasvl>
oh ok...
duncannz has joined #ruby
<csguest>
well
<csguest>
how can I nest an array in an array?
<csguest>
lol
<tobiasvl>
<snockerton> i tried `$stdout.sync = true`
<adaedra>
krajos: so, if you have binary representation of two numbers, first you pad them so they have the same number of digits, then you do the & digit by digit.
<csguest>
I can hash that?
<shevy>
what is this
ecksit has joined #ruby
diegoviola has joined #ruby
ecksit has quit [Max SendQ exceeded]
<tobiasvl>
csguest: hash that? it is a hash yes
<shevy>
that is not valid ruby code ... what is 2 3
<krajos>
adaedra: I see
<csguest>
its a pair
<new_student>
norc: how did you compute 123 as the return value?
<csguest>
in scheme lisp, etc
<norc>
new_student: No it was just a random example
<norc>
new_student: Windows uses stdcall for all Win32 API functions. Well most.
<tobiasvl>
csguest: I think you want to use a Hash. I'm not sure though.
<norc>
new_student: And stdcall specifies that the return value is placed into EAX.
<shevy>
well { 2 => 3 }
<csguest>
well in english
<krajos>
adaedra: Oh that helped a lot
ecksit has joined #ruby
<csguest>
I have have a string represent an array of strings within a hash
lokulin has quit [Ping timeout: 264 seconds]
<csguest>
that will work? sorry i need to use ruby for a project and never got to fiddle with it / know nothing about it
<ecksit>
has anyone tried storing a regex in a yaml file and using psych?
<krajos>
adaedra: but how does doing that find if the number is a power of two?
<tobiasvl>
csguest: can you show a code example? hard to understand what you're asking here
<csguest>
hmmm
<shevy>
yeah, if with a pair you mean a key-value association, then it would be a hash
<tobiasvl>
csguest: what does your string look like?
<csguest>
i kinda of cant it would look weird to you
<krajos>
adaedra: Your last message made me get what it does, but not how if it's == 0, it is a power of 2
<adaedra>
krajos: powers of two will always be, in binary, a 1 folllowed by 0s. 2^0 => 1, 2^1 => 10, 2^2 => 100, etc.
<csguest>
well i guess it would be like this
ecksit has quit [Read error: Connection reset by peer]
<norc>
new_student: Lets move this into a query?
<csguest>
[ [first [1 2 3] [second [3 4 5]] ]
<new_student>
norc: what do you mean
houhouli_ has quit [Remote host closed the connection]
<tobiasvl>
csguest: OK. and that's a string? why?
<csguest>
element one is the second array which has two elements
<adaedra>
you need some commas, csguest
<tobiasvl>
csguest: what do you want to do with that string
<krajos>
adaedra: right. also very helpful.
<jackcom>
Class methods do not have access to instance methods or instance variables. However instance methods can access both class methods and class variables. <—— i think that this is wrong?
trosborn has joined #ruby
<krajos>
adaedra: wow, now I see why this solution is so clever
<csguest>
damnit scheme has ruined my brain
<csguest>
i need to convert a scheme project into another language
bersimoes has quit [Remote host closed the connection]
<csguest>
im just essentially rewriting the recursion method and skipping using ruby's paradigm
<csguest>
it's just faster this way
trosborn has quit [Client Quit]
<shevy>
jackcom you have access to when they are on the right level such as: class Foo; @debug = true; def self.debug?; @debug; end; end; Foo.debug?
<adaedra>
it is indeed.
<tobiasvl>
csguest: seems really fast
<jackcom>
Class methods do not have access to instance methods or instance variables. However instance methods can access both class methods and class variables <— i think that reverse is right?
<tobiasvl>
jackcom: the reverse? how would that be right
<tobiasvl>
csguest: all right, and why do you need to do that in ruby
colegatron has quit [Ping timeout: 242 seconds]
cpup has quit [Ping timeout: 242 seconds]
<adaedra>
No?
<adaedra>
shevy: class variables => @@
<adaedra>
Why do you say that?
<csguest>
look at the structure
<shevy>
oh damn
<shevy>
attack of the ((
<tobiasvl>
seems like a scheme assignment to me
<krajos>
adaedra: Thanks so much, this was very enlightening.
<jackcom>
Class methods can access to instance methods or instance variables. However instance methods can’t access both class methods and class variables <— i think that this is right
<csguest>
ill just translate instead of figuring out a new way of breaking it up
<tobiasvl>
shevy: don't mock scheme >:o
<csguest>
final project
<shevy>
adaedra I was referring to class methods
<tobiasvl>
csguest: what do you mean? what do you weant to achieve here?
<tobiasvl>
jackcom: WHY do you think that is right?
<shevy>
jackcom now pasted the same sentence 3 times. spam!
<jackcom>
tobiasvl: because in the java language Class methods can access to instance methods or instance variables. However instance methods can’t access both class methods and class variables
<adaedra>
krajos: thanks a lot. I would never have thinked of that, so I have learned something too.
zenguy_pc has quit [Ping timeout: 276 seconds]
<adaedra>
jackcom: class methods can't access instance methods.
<shevy>
at least you will make good use of public versus private
<adaedra>
jackcom: This fact would surprise me.
<adaedra>
You need an instance to access instance methods. Since you are, in class methods, in class scope, and not instance scope, you can't access instance methods, lacking an instance.
<csguest>
is recursion in ruby a bad idea
<csguest>
for efficiency lmao
<adaedra>
csguest: no
<csguest>
not for this little program but in general
PlasmaStar has quit [Ping timeout: 258 seconds]
<shevy>
efficiency
<BraddPitt>
late response norc but I just was unaware that the ||= could start a multi-line code block
<shevy>
we use ruby to learn basic concepts, then we switch to C!
<BraddPitt>
I'm not really sure why I thought that way, though... Anyways, thank you for the source code explanation!
amclain_ has joined #ruby
dome22xl has quit [Quit: Leaving]
<csguest>
hey
allcentury has joined #ruby
lokulin has joined #ruby
<csguest>
is a global variable just not inside of function
pawnbox has joined #ruby
<csguest>
lol
<csguest>
var = 10
The_Phoenix has joined #ruby
<jackcom>
class method —> instant, class, instance method ——> instance only in java
<tobiasvl>
csguest: no
<csguest>
thats it?
<shevy>
that is a local variable
<norc>
BraddPitt: Yup, as you can see you can have any kind of expression after that.
sandstrom has quit [Quit: My computer has gone to sleep.]
<csguest>
youre insane ruby
spider-mario has quit [Remote host closed the connection]
<shevy>
if you put this in file foo.rb and require it, you could not access var
<norc>
BraddPitt: In fact you can have begin; rescue; end blocks in a lot of places
The_Phoenix has quit [Max SendQ exceeded]
jatb has quit [Ping timeout: 244 seconds]
ytti has quit [Ping timeout: 240 seconds]
bkxd has joined #ruby
<csguest>
what is dollar sign?
<csguest>
$
allomov has joined #ruby
<csguest>
local to what
<tobiasvl>
csguest: that... is a sigil for a globak variable
amclain has quit [Ping timeout: 248 seconds]
<tobiasvl>
csguest: would it kill you to read a little about ruby
dimasg has quit [Ping timeout: 240 seconds]
<csguest>
the file?
jatb has joined #ruby
<adaedra>
globak.
<tobiasvl>
instead of asking extremely basic questions in here
<jackcom>
Instance methods can access class variables and class methods directly.
<jackcom>
Class methods can access class variables and class methods directly.
<csguest>
yes
<jackcom>
Class methods cannot access instance variables or instance methods directly—they must use an object reference. Also, class methods cannot use the this keyword as there is no instance for this to refer to.
<jackcom>
i have mistake
<jackcom>
:(
<tobiasvl>
:)
cpup has joined #ruby
mrod has joined #ruby
<jackcom>
language changed it recently
<jackcom>
i think so :)
pawnbox has quit [Ping timeout: 240 seconds]
<tobiasvl>
it has always been like that, because the reverse is impossible
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<adaedra>
jackcom: what you were saying would go against basic OOP principles.
weemsledeux has joined #ruby
PlasmaStar has joined #ruby
<jackcom>
heh
<jackcom>
ok
<csguest>
oh serious question
<csguest>
what the #$@! can I not use var-name
<adaedra>
csguest: look at ruboto's link, lots of resources for you to learn ruby.
bhorn1 has quit [Ping timeout: 244 seconds]
<jackcom>
anyway earth run around sun :8
<jackcom>
8)
<csguest>
and have to use var_name
jatb has quit [Excess Flood]
krajos has quit [Quit: Leaving]
blackmesa has joined #ruby
<mrod>
The Coinbase Exchange API provides a REST and Websocket API. In lieu of continuous polling of the REST API, they suggest using the Websocket to listen to updates in real time. Using a combination of the REST and WS API, one can keep a relatively current version of the current "state" of exchange market. I'm wondering if anyone has any examples of Ruby projects that solve similar problems? I'm having a hard time coming up with an intuitive interf
agent_white has quit [Read error: Connection reset by peer]
The_Phoenix has joined #ruby
<tobiasvl>
csguest: as in most languages (all?), there are restrictions on what characters a variable name can consist of.
agent_white has joined #ruby
jatb has joined #ruby
<adaedra>
csguest: - is not valid in variable names, to not be inverted with - operator.
Rodya_ has joined #ruby
<csguest>
so thats just design choice
Davey has quit [Ping timeout: 244 seconds]
bhorn1|away has joined #ruby
bhorn1|away is now known as bhorn1
<csguest>
by the parseer
<csguest>
i mean i like underscores
<csguest>
i just had to debug that for 20 minutes lmao
dimasg has joined #ruby
jatb has quit [Excess Flood]
<norc>
csguest: Also fun fact, "class" and "instance" variables are really differentiated by the @ in their name (it's not syntax afaik)
BlackCoyote has joined #ruby
<blubjr>
tobiasvl: i cant think of anything you cant use in a common lisp variable name
jatb has joined #ruby
The_Phoenix1 has joined #ruby
<norc>
blubjr: :)))
<tobiasvl>
blubjr: yeah, I was thinking the same thing, since csguest seemed to be a scheme/lisp programmer. parentheses probably?
<norc>
I think that smiley was slightly amusing, given the context.
<adaedra>
blubjr: ) ?
The_Phoenix1 has quit [Max SendQ exceeded]
bkxd has quit [Ping timeout: 240 seconds]
yqt has quit [Ping timeout: 244 seconds]
<csguest>
no i hate scheme
<csguest>
scheme and prolog ruined my life
colegatron has joined #ruby
Davey has joined #ruby
Davey has quit [Changing host]
Davey has joined #ruby
Kyuujitsu has quit [Ping timeout: 264 seconds]
yqt has joined #ruby
<tobiasvl>
oh. well then
<blubjr>
adaedra: you have to escape it, but its valid