baweaver changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.10: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || Rails questions? Ask on #RubyOnRails || logs @ https://irclog.whitequark.org/ruby/
hutch34 has joined #ruby
kitikonti has joined #ruby
Vile` has joined #ruby
UserOO7 has joined #ruby
habitullence has joined #ruby
habitullence_ has quit [Ping timeout: 276 seconds]
kitikonti has quit [Client Quit]
hutch34 has quit [Ping timeout: 250 seconds]
devbug has quit [Quit: ZZZzzz…]
deadprez has joined #ruby
toretore has quit [Ping timeout: 252 seconds]
Vile` has quit [Ping timeout: 244 seconds]
Sammichmaker has joined #ruby
Sammichmaker has quit [Changing host]
Sammichmaker has joined #ruby
al2o3-cr has quit [Ping timeout: 250 seconds]
zeroDi has quit [Quit: WeeChat 1.5]
threh has quit [Ping timeout: 265 seconds]
deadprez has quit [Ping timeout: 265 seconds]
deadprez has joined #ruby
shinnya has quit [Ping timeout: 265 seconds]
deadprez has quit [Remote host closed the connection]
_djbkd has quit [Ping timeout: 252 seconds]
deadprez has joined #ruby
ItSANgo has quit [Ping timeout: 276 seconds]
hotpancakes has joined #ruby
deadprez has quit [Remote host closed the connection]
deadprez_ has joined #ruby
RedNifre has joined #ruby
_djbkd has joined #ruby
devbug has joined #ruby
habitullence_ has joined #ruby
habitullence has quit [Ping timeout: 250 seconds]
habitullence_ is now known as habitullence
greister_ has joined #ruby
RedNifre_ has quit [Ping timeout: 260 seconds]
_djbkd has quit [Client Quit]
Alayde has quit [Ping timeout: 244 seconds]
UserOO7 has quit [Remote host closed the connection]
hotpancakes has quit [Ping timeout: 250 seconds]
UserOO7 has joined #ruby
bkxd has joined #ruby
ngscheur1 has quit [Ping timeout: 264 seconds]
csaunders has quit [Quit: later tater]
bkxd has quit [Ping timeout: 265 seconds]
mitt3ns has quit [Quit: mitt3ns]
ngscheur1 has joined #ruby
duderonomy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
UserOO7 has quit [Ping timeout: 260 seconds]
[k-_ has quit [Ping timeout: 264 seconds]
charliesome has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
shazaum has joined #ruby
aupadhye has joined #ruby
orangey has joined #ruby
replay has quit [Quit: Textual IRC Client: www.textualapp.com]
ngscheur1 has quit [Ping timeout: 255 seconds]
dopamean_ has quit [Ping timeout: 244 seconds]
zacts has joined #ruby
csaunders has joined #ruby
tenderlove has quit [Remote host closed the connection]
devbug has quit [Quit: ZZZzzz…]
gnufied has quit [Ping timeout: 250 seconds]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
Eiam_ has joined #ruby
Eiam_ has quit [Client Quit]
threh has joined #ruby
[k- has joined #ruby
nankyokusei has joined #ruby
Vingador has joined #ruby
shmuli has joined #ruby
saneax is now known as saneax-_-|AFK
raeoks has joined #ruby
KnownSyntax has quit [Ping timeout: 276 seconds]
Silthias has quit [Ping timeout: 255 seconds]
nankyokusei has quit [Ping timeout: 252 seconds]
benlieb has quit [Quit: benlieb]
crdpink has quit [Quit: q term]
chouhoulis has joined #ruby
benlieb has joined #ruby
benlieb has quit [Client Quit]
Vile` has joined #ruby
Silthias has joined #ruby
crdpink has joined #ruby
benlieb has joined #ruby
sleepee has joined #ruby
greister__ has joined #ruby
benlieb has quit [Client Quit]
Devalo has joined #ruby
twizsted has quit [Ping timeout: 244 seconds]
Ropeney has joined #ruby
zipace has quit [Ping timeout: 252 seconds]
greister_ has quit [Ping timeout: 240 seconds]
ruby_ has quit [Remote host closed the connection]
rsampaio_ has joined #ruby
Devalo has quit [Ping timeout: 250 seconds]
domgetter has joined #ruby
electrostat has quit [Quit: uwotm8]
electrostat has joined #ruby
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
NetSage has joined #ruby
electrostat has quit [Client Quit]
gnufied has joined #ruby
godd2 has quit [Ping timeout: 255 seconds]
giz|work|2 has joined #ruby
ajsharma has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Mon_Ouie has quit [Ping timeout: 250 seconds]
giz|work has quit [Ping timeout: 276 seconds]
electrostat has joined #ruby
decomposite has quit [Quit: ZNC 1.6.3 - http://znc.in]
electrostat has quit [Client Quit]
Mon_Ouie has joined #ruby
electrostat has joined #ruby
gnufied has quit [Ping timeout: 250 seconds]
Roiran has joined #ruby
gnufied has joined #ruby
zacts has quit [Ping timeout: 240 seconds]
elifoster has joined #ruby
rsampaio_ has quit [Ping timeout: 250 seconds]
zacts has joined #ruby
LastWhisper____ has joined #ruby
KnownSyntax has joined #ruby
hotpancakes has joined #ruby
cpruitt has quit [Quit: cpruitt]
sleepee has quit [Ping timeout: 240 seconds]
ruby_ has joined #ruby
A0X1887 has quit [Ping timeout: 260 seconds]
bkxd has joined #ruby
hotpancakes has quit [Ping timeout: 255 seconds]
ruby__ has joined #ruby
shmuli has quit [Remote host closed the connection]
gnufied has quit [Quit: Leaving]
nando293921 has joined #ruby
aryaching has quit [Ping timeout: 255 seconds]
duderonomy has joined #ruby
ur5us has quit [Remote host closed the connection]
LastWhisper____ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ruby_ has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 260 seconds]
zacts has quit [Read error: Connection reset by peer]
zacts has joined #ruby
Roiran has quit [Quit: Leaving]
A_Drone has joined #ruby
bauruine has quit [Ping timeout: 255 seconds]
blackwind_123 has quit [Ping timeout: 276 seconds]
blackwind_123 has joined #ruby
Dispatch has joined #ruby
A0X1887 has joined #ruby
qubit77 has quit [Quit: Connection closed for inactivity]
hipertracker has quit [Quit: hipertracker]
hahuang61 has joined #ruby
shazaum has quit [Quit: Leaving]
Mon_Ouie has quit [Ping timeout: 276 seconds]
hahuang61 has quit [Ping timeout: 255 seconds]
astrobun_ has joined #ruby
domgetter has quit [Ping timeout: 244 seconds]
cpruitt has joined #ruby
cpruitt has quit [Client Quit]
zacts has quit [Read error: Connection reset by peer]
amclain has quit [Quit: Leaving]
zacts has joined #ruby
shmuli has joined #ruby
shmuli has quit [Remote host closed the connection]
lel has quit [Read error: Connection reset by peer]
Mon_Ouie has joined #ruby
rsampaio_ has joined #ruby
calmchaos has joined #ruby
blackgoat has quit [Ping timeout: 244 seconds]
astrobun_ has quit [Remote host closed the connection]
fly5566 has joined #ruby
A_Drone has quit [Remote host closed the connection]
nando293921 has quit [Read error: Connection reset by peer]
nando293921 has joined #ruby
shmuli has joined #ruby
ur5us has joined #ruby
nando293921 has quit [Read error: Connection reset by peer]
tmtwd has joined #ruby
smathews has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
A_Drone has joined #ruby
nando293921 has joined #ruby
symm- has joined #ruby
A5101 has joined #ruby
binaryplease1 has joined #ruby
giz|work|2 has quit [Ping timeout: 252 seconds]
Rodya_ has quit [Remote host closed the connection]
deadprez_ has quit [Remote host closed the connection]
d0nn1e has quit [Ping timeout: 244 seconds]
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
binaryplease has quit [Ping timeout: 260 seconds]
d0nn1e has joined #ruby
hotpancakes has joined #ruby
ruby__ has quit [Remote host closed the connection]
ruby_ has joined #ruby
astrobun_ has joined #ruby
astrobun_ has quit [Remote host closed the connection]
astrobun_ has joined #ruby
binaryplease1 is now known as binaryplease
hotpancakes has quit [Ping timeout: 264 seconds]
JeanCarloMachado has quit [Ping timeout: 244 seconds]
zacts has quit [Quit: WeeChat 1.4]
shmuli has quit [Remote host closed the connection]
astrobun_ has quit [Remote host closed the connection]
astrobun_ has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
astrobun_ has quit [Read error: Connection reset by peer]
symm- has quit [Quit: Leaving...]
astrobun_ has joined #ruby
dviola has quit [Quit: WeeChat 1.5]
astrobun_ has quit [Remote host closed the connection]
hutch34 has joined #ruby
astrobun_ has joined #ruby
ruby_ has quit [Remote host closed the connection]
symm- has joined #ruby
astrobun_ has quit [Ping timeout: 265 seconds]
deadprez has joined #ruby
lessless has joined #ruby
getxsick has joined #ruby
<getxsick> is it possible to load only a specific class/module from a file? something like from module import cls in Python?
threh has quit [Ping timeout: 255 seconds]
swemoney has joined #ruby
JesseH has joined #ruby
deadprez has quit [Ping timeout: 244 seconds]
arescorpio has joined #ruby
capitainIsh has quit [Ping timeout: 265 seconds]
hutch34 has quit [Ping timeout: 250 seconds]
Bl4ckpajamas has joined #ruby
nankyokusei has joined #ruby
giz|work|2 has joined #ruby
ruby_ has joined #ruby
bkxd has joined #ruby
<adam12> getxsick: Not likely.
BTRE has quit [Ping timeout: 240 seconds]
<adam12> I'm sure someone has hacked something together at one time using `load` and perhaps a different binding context? but it's not often seen in the wild.
yeticry has quit [Ping timeout: 240 seconds]
nankyokusei has quit [Ping timeout: 244 seconds]
<getxsick> ok, cool
<adam12> Most people put classes in separate files, so you could `require "lib/some_class"`
cibs has quit [Ping timeout: 240 seconds]
yeticry has joined #ruby
cibs has joined #ruby
NetSage has quit [Remote host closed the connection]
bkxd has quit [Ping timeout: 276 seconds]
Devalo has joined #ruby
aidalgol has joined #ruby
aidalgol is now known as Guest80182
astrobun_ has joined #ruby
cschneid has quit [Ping timeout: 250 seconds]
Guest80182 is now known as aidalgol
swemoney has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
braincrash has quit [Quit: bye bye]
Guest98262 has quit [Ping timeout: 264 seconds]
Devalo has quit [Ping timeout: 276 seconds]
matp has quit [Ping timeout: 255 seconds]
gix has quit [Ping timeout: 265 seconds]
linduxed has quit [Ping timeout: 265 seconds]
deadprez has joined #ruby
Kamilion has quit [Ping timeout: 244 seconds]
A_Drone has quit [Remote host closed the connection]
zacts has joined #ruby
gix has joined #ruby
deadprez has quit [Remote host closed the connection]
deadprez has joined #ruby
linduxed has joined #ruby
c355e3b has quit [Quit: Connection closed for inactivity]
jazzonmym1nd has quit [Ping timeout: 250 seconds]
A_Drone has joined #ruby
beneggett has joined #ruby
beneggett has quit [Client Quit]
beneggett has joined #ruby
kanobt61 has quit [Read error: Connection reset by peer]
k3rn31 has joined #ruby
kanobt61 has joined #ruby
shortdudey123 has quit [Remote host closed the connection]
braincrash has joined #ruby
nettoweb has joined #ruby
cschneid has joined #ruby
hotpancakes has joined #ruby
tmtwd has quit [Ping timeout: 250 seconds]
jphase_ has joined #ruby
braincra- has joined #ruby
wheely has joined #ruby
threh has joined #ruby
getxsick has quit [Quit: leaving]
jphase has quit [Ping timeout: 244 seconds]
raeoks has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hotpancakes has quit [Ping timeout: 255 seconds]
calmchaos has quit [Remote host closed the connection]
braincrash has quit [Ping timeout: 252 seconds]
robfrawley has joined #ruby
jackjackdripper has joined #ruby
robfrawley is now known as Guest2765
jackjackdripper has quit [Client Quit]
shortdudey123 has joined #ruby
deadprez has quit [Remote host closed the connection]
deadprez has joined #ruby
hahuang61 has joined #ruby
deadprez has quit [Ping timeout: 244 seconds]
deadprez has joined #ruby
A5101 has quit [Ping timeout: 250 seconds]
nclbr has quit [Read error: No route to host]
nclbr has joined #ruby
Bl4ckpajamas has quit [Quit: ZZZzzz…]
nettoweb has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hahuang61 has quit [Ping timeout: 255 seconds]
solocshaw has quit [Remote host closed the connection]
Bl4ckpajamas has joined #ruby
solocshaw has joined #ruby
ChiefAlexander has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
_djbkd has joined #ruby
jazzonmym1nd has joined #ruby
zapata has quit [Quit: WeeChat 1.5]
zapata has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
Kamilion has joined #ruby
ruby_ has quit [Remote host closed the connection]
ruby_ has joined #ruby
ChiefAlexander has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
ChiefAlexander has joined #ruby
sand-bird has joined #ruby
threh has quit [Quit: 'Til next time]
hutch34 has joined #ruby
lel has joined #ruby
will309 has joined #ruby
lel is now known as Guest90053
sand-bird has quit [Remote host closed the connection]
jazzonmym1nd has quit [Ping timeout: 276 seconds]
hotpancakes has joined #ruby
tmtwd has joined #ruby
c0mrad3 has quit [Quit: Connection closed for inactivity]
will309 has quit [Client Quit]
hotpancakes has quit [Ping timeout: 244 seconds]
hutch34 has quit [Ping timeout: 244 seconds]
craigp has quit [Ping timeout: 244 seconds]
JesseH has quit [Ping timeout: 240 seconds]
ChiefAlexander has quit [Ping timeout: 252 seconds]
l4v2 has quit [Quit: l4v2]
calmchaos has joined #ruby
tdy has joined #ruby
Es0teric has joined #ruby
calmchaos has quit [Ping timeout: 265 seconds]
nclbr has quit [Read error: Connection reset by peer]
nclbr has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
conta has joined #ruby
ruby[bot] has joined #ruby
roxtrongo has joined #ruby
rsampaio_ has quit [Ping timeout: 260 seconds]
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Dispatch has quit []
rsampaio_ has joined #ruby
A_Drone has quit [Remote host closed the connection]
calmchaos has joined #ruby
nertzy has quit [Ping timeout: 250 seconds]
RadPlatypus has quit [Quit: Connection closed for inactivity]
arescorpio has quit [Quit: Leaving.]
My_Hearing has joined #ruby
araujo__ has quit [Quit: Leaving]
Mon_Ouie has quit [Ping timeout: 276 seconds]
benlieb has joined #ruby
Vingador has quit [Remote host closed the connection]
calmchaos has quit [Ping timeout: 240 seconds]
jtzero1 has quit [Ping timeout: 276 seconds]
duncannz has joined #ruby
Bl4ckpajamas has quit [Quit: ZZZzzz…]
chouhoul_ has joined #ruby
chouhoul_ has quit [Remote host closed the connection]
toretore has joined #ruby
aBound has joined #ruby
willyg_cos has joined #ruby
greister__ has quit [Ping timeout: 240 seconds]
conta has quit [Ping timeout: 244 seconds]
Bl4ckpajamas has joined #ruby
aBound has quit [Client Quit]
chouhoulis has quit [Ping timeout: 240 seconds]
Widdershins has left #ruby ["WeeChat 1.5"]
ruby_ has quit [Remote host closed the connection]
ramfjord has joined #ruby
Bl4ckpajamas has quit [Quit: ZZZzzz…]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
AlexRussia has quit [Ping timeout: 255 seconds]
pawnbox has joined #ruby
ruby_ has joined #ruby
postmodern has quit [Quit: Leaving]
rsampaio_ has quit [Ping timeout: 265 seconds]
nertzy has joined #ruby
nankyokusei has joined #ruby
bkxd has joined #ruby
govg has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
sdothum has joined #ruby
bkxd has quit [Ping timeout: 252 seconds]
hotpancakes has joined #ruby
Devalo has joined #ruby
tmtwd has quit [Ping timeout: 250 seconds]
Devalo has quit [Ping timeout: 244 seconds]
hotpancakes has quit [Ping timeout: 264 seconds]
willyg_cos has quit [Quit: Ex-Chat]
giz|work|2 has quit [Ping timeout: 252 seconds]
deadprez has quit [Remote host closed the connection]
deadprez has joined #ruby
solocshaw has quit [Read error: Connection reset by peer]
arup_r has joined #ruby
ruby_ has quit [Remote host closed the connection]
<arup_r> Is there any difference between Marshal.restore and Marshal.load?
ebbflowgo has left #ruby [#ruby]
deadprez has quit [Ping timeout: 264 seconds]
charliesome has quit [Read error: Connection reset by peer]
raeoks has joined #ruby
deadprez has joined #ruby
govg has quit [Quit: leaving]
deadprez_ has joined #ruby
govg has joined #ruby
deadprez has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
nando293921 has quit [Ping timeout: 250 seconds]
tenderlove has joined #ruby
hahuang61 has joined #ruby
matp has joined #ruby
olistik has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
tenderlo_ has joined #ruby
<[k-> I don't think there is a difference. I think they are aliases.
LoneHerm_ has joined #ruby
tenderlove has quit [Ping timeout: 244 seconds]
wugy has joined #ruby
wugy has quit [Excess Flood]
olistik has quit [Ping timeout: 276 seconds]
wugy has joined #ruby
wugy has quit [Excess Flood]
wugy has joined #ruby
hutch34 has joined #ruby
pawnbox has quit [Remote host closed the connection]
<arup_r> [k-: after long time i am seeing you.. how are you? :)
<[k-> I'm fine :> Nice seeing you too
<[k-> The documentation doesn't explicitly say they are aliases but if you click view source, they link to the same c function
<arup_r> that thing I didn't.. I should see that first. I needed that lib, so I was reading it.. and found 2 method docs are same exactly
<[k-> haha yea
blackgoat has joined #ruby
tenderlo_ has quit [Ping timeout: 252 seconds]
ramfjord has quit [Ping timeout: 244 seconds]
LoneHerm_ has quit [Remote host closed the connection]
bocaneri has joined #ruby
dminuoso has joined #ruby
akkad has quit [Quit: Emacs must have died]
solocshaw has joined #ruby
tmtwd has joined #ruby
jazzonmym1nd has joined #ruby
hutch34 has quit [Ping timeout: 276 seconds]
raviShankarJha has joined #ruby
pawnbox has joined #ruby
hutch34 has joined #ruby
Ishido has joined #ruby
electrostat has quit [Quit: uwotm8]
jazzonmym1nd has quit [Ping timeout: 264 seconds]
solocshaw has quit [Remote host closed the connection]
lightheaded has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 240 seconds]
lightheaded has joined #ruby
A_Drone has joined #ruby
tenderlove has joined #ruby
ishe_ua has joined #ruby
hotpancakes has joined #ruby
calmchaos has joined #ruby
lightheaded has quit [Ping timeout: 255 seconds]
<arup_r> [k-: thanks
hotpancakes has quit [Read error: Connection reset by peer]
nclbr has quit [Read error: Connection reset by peer]
deadprez_ has quit [Remote host closed the connection]
nclbr has joined #ruby
calmchaos has quit [Ping timeout: 252 seconds]
hutch34_ has joined #ruby
A_Drone has quit [Remote host closed the connection]
last_staff has joined #ruby
A_Drone has joined #ruby
pawnbox has joined #ruby
hutch34 has quit [Ping timeout: 264 seconds]
_djbkd has quit [Quit: My people need me...]
BTRE has joined #ruby
agent_white has joined #ruby
djbkd_ has joined #ruby
greister_ has joined #ruby
<raviShankarJha> hi all
<raviShankarJha> i'm going through the metaprogramming in ruby
<raviShankarJha> and confused with the result of the following code..
<raviShankarJha> it would be helpful if anyone of you can explain.. thanks
pawnbox_ has joined #ruby
Silthias has quit [Ping timeout: 244 seconds]
pawnbox has quit [Ping timeout: 255 seconds]
LoneHerm_ has joined #ruby
arup_r has quit [Read error: Connection reset by peer]
dogweather has joined #ruby
lightheaded has joined #ruby
dminuoso has quit [Ping timeout: 240 seconds]
djbkd_ has quit []
Silthias has joined #ruby
hutch34_ has quit [Ping timeout: 255 seconds]
bkxd has joined #ruby
govg has quit [Ping timeout: 250 seconds]
kladden has joined #ruby
firstdayonthejob has joined #ruby
dminuoso has joined #ruby
zipace has joined #ruby
benlieb has quit [Quit: benlieb]
DoubleMalt has joined #ruby
bkxd has quit [Ping timeout: 250 seconds]
tenderlo_ has joined #ruby
tenderlove has quit [Read error: Connection reset by peer]
bigkevmcd has joined #ruby
vdamewood has joined #ruby
fullstack has quit [Changing host]
fullstack has joined #ruby
craigp has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
saneax-_-|AFK is now known as saneax
pawnbox_ has quit [Remote host closed the connection]
pawnbox has joined #ruby
jphase_ has quit [Remote host closed the connection]
jphase has joined #ruby
yeticry has quit [Ping timeout: 240 seconds]
firstdayonthejob has quit [Ping timeout: 240 seconds]
Silthias1 has joined #ruby
conta has joined #ruby
yeticry has joined #ruby
mikhael_k33hl has joined #ruby
Silthias has quit [Ping timeout: 265 seconds]
<mikhael_k33hl> How do you stub the retry keyword on your tests, specifically rspec?
pandaant has joined #ruby
jphase has quit [Ping timeout: 250 seconds]
pawnbox_ has joined #ruby
<dminuoso> mikhael_k33hl: Stub out behavior, not keywords.
<dminuoso> mikhael_k33hl: You cant stub out ruby keywords.
rsampaio_ has joined #ruby
conta has quit [Read error: Connection reset by peer]
conta1 has joined #ruby
pawnbox has quit [Ping timeout: 255 seconds]
dreamyspell has joined #ruby
tmtwd has quit [Ping timeout: 276 seconds]
<mikhael_k33hl> dminuoso: I'm trying to test out that the an error should be raised however the rescue has a retry resulting in an infinite loop https://gist.github.com/marzzz21/56ed5cb9e98217dc87448160af9d2251
conta1 is now known as conta
dminuoso has quit [Remote host closed the connection]
pandaant has quit [Ping timeout: 260 seconds]
DoubleMalt has quit [Ping timeout: 260 seconds]
Vile` has quit [Ping timeout: 244 seconds]
hutch34_ has joined #ruby
pandaant has joined #ruby
anisha has joined #ruby
aganov has joined #ruby
giz|work|2 has joined #ruby
nankyokusei has joined #ruby
dminuoso has joined #ruby
A_Drone has quit [Remote host closed the connection]
A_Drone has joined #ruby
foooobear has joined #ruby
n1cky has joined #ruby
roxtrongo has quit [Remote host closed the connection]
nankyokusei has quit [Ping timeout: 255 seconds]
submitnine has joined #ruby
nowhereFast has joined #ruby
mikecmpbll has joined #ruby
smathews has left #ruby [#ruby]
ishe_ua has left #ruby ["ERC (IRC client for Emacs 24.5.1)"]
LoneHerm_ has quit [Remote host closed the connection]
tenderlove has joined #ruby
tenderlo_ has quit [Read error: Connection reset by peer]
A_Drone has quit [Remote host closed the connection]
hutch34_ has quit [Ping timeout: 244 seconds]
hotpancakes has joined #ruby
biberu has joined #ruby
<[k-> raviShankarJha: https://eval.in/637555
giz|work|2 has quit [Ping timeout: 240 seconds]
claudiuinberlin has joined #ruby
ramfjord has joined #ruby
hotpancakes has quit [Ping timeout: 244 seconds]
aufi has joined #ruby
ramfjord has quit [Ping timeout: 244 seconds]
ta_ has joined #ruby
A_Drone has joined #ruby
A_Drone has quit [Remote host closed the connection]
omphe has joined #ruby
A_Drone has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
ur5us has quit [Remote host closed the connection]
greister_ has quit [Read error: Connection reset by peer]
greister_ has joined #ruby
Silthias1 has quit [Ping timeout: 264 seconds]
Silthias has joined #ruby
agent_white has quit [Quit: leaving]
tristanp has quit [Read error: Connection reset by peer]
tristanp has joined #ruby
craigp has quit [Ping timeout: 260 seconds]
hahuang61 has joined #ruby
noodle has quit [Quit: /quit]
noodle has joined #ruby
symm- has quit [Ping timeout: 240 seconds]
Ropeney has quit [Ping timeout: 255 seconds]
tenderlove has quit [Read error: Connection reset by peer]
bauruine has joined #ruby
tenderlove has joined #ruby
hahuang61 has quit [Ping timeout: 255 seconds]
mtkd has quit [Ping timeout: 244 seconds]
mtkd has joined #ruby
A_Drone has quit []
Silthias1 has joined #ruby
greister__ has joined #ruby
zacts has quit [Quit: WeeChat 1.4]
Silthias has quit [Ping timeout: 244 seconds]
zacts has joined #ruby
greister_ has quit [Ping timeout: 265 seconds]
eizua has quit [Quit: Leaving]
omphe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bkxd has joined #ruby
marr has joined #ruby
calmchaos has joined #ruby
jenrzzz has joined #ruby
bkxd has quit [Ping timeout: 260 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
Burgestrand has joined #ruby
calmchaos has quit [Ping timeout: 265 seconds]
tulak has joined #ruby
n1cky has quit [Read error: Connection reset by peer]
greister__ has quit [Ping timeout: 265 seconds]
nclbr has quit [Read error: Connection reset by peer]
n1cky has joined #ruby
mikecmpbll has joined #ruby
nclbr has joined #ruby
omphe has joined #ruby
tenderlove has quit [Remote host closed the connection]
careta has joined #ruby
lightheaded has quit [Remote host closed the connection]
Devalo has joined #ruby
lightheaded has joined #ruby
mark_66 has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Devalo has quit [Ping timeout: 264 seconds]
lheaded has joined #ruby
lightheaded has quit [Read error: Connection reset by peer]
lheaded has quit [Remote host closed the connection]
lightheaded has joined #ruby
greister_ has joined #ruby
blackgoat has quit [Ping timeout: 244 seconds]
hotpancakes has joined #ruby
lightheaded has quit [Read error: No route to host]
lightheaded has joined #ruby
tildes has quit [Remote host closed the connection]
ferr has joined #ruby
mrgrieves has joined #ruby
Pumukel has joined #ruby
hotpancakes has quit [Ping timeout: 252 seconds]
tenderlove has joined #ruby
<havenwood> 2.4.0-preview2 was shipped. Preview it! :-)
dogweather has quit [Remote host closed the connection]
dogweather has joined #ruby
dogweather has quit [Remote host closed the connection]
Alayde has joined #ruby
jsrn_ has joined #ruby
dogweather has joined #ruby
dogweather has quit [Remote host closed the connection]
blaxter has joined #ruby
Dimik has quit [Ping timeout: 240 seconds]
dogweather has joined #ruby
dogweather has quit [Remote host closed the connection]
mozzarella has quit [Ping timeout: 276 seconds]
omphe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gingray has joined #ruby
calmchaos has joined #ruby
<alfiemax> havenwood, link? can't find an announcement regarding that
tenderlove has quit [Ping timeout: 240 seconds]
blaxter has quit [Client Quit]
_main_ has joined #ruby
<havenwood> alfiemax: Oops, it's tagged but the release announcement isn't up yet. *soon* In the meanwhile you can grab it here: https://github.com/ruby/ruby/releases/tag/v2_4_0_preview2
SuperTaz has quit [Ping timeout: 240 seconds]
<[k-> havenwood: where's shevy :(
craigp has joined #ruby
minimalism has quit [Quit: minimalism]
__main__ has quit [Ping timeout: 244 seconds]
<dminuoso> havenwood: What a boring release. :(
calmchaos has quit [Ping timeout: 240 seconds]
bsrd has joined #ruby
_main_ is now known as __main__
<dminuoso> "* Multiple assignment in conditional expression is now allowed."
<dminuoso> Ugh.
<My_Hearing> Does it use an implicit and?
charliesome has joined #ruby
My_Hearing is now known as Mon_Ouie
<havenwood> [k-: I don't know!
<heftig> no, you can do `if a, b = c, d`
<Mon_Ouie> And is that equivalent to 'a, b = c, d; if a && b …'?
<dminuoso> Mon_Ouie: The result of the expression is whatever the right hand side evaluates to.
Snowy has joined #ruby
<dminuoso> So in that case it would be if [a, b]
<heftig> which is always true, hm
<dminuoso> heftig: not necessarily
<dminuoso> >> a, b = nil
<ruby[bot]> dminuoso: # => nil (https://eval.in/637686)
einarj has joined #ruby
<heftig> ah, right, that changed
<dminuoso> The mentioned use case is: if(a, b = method_returning_ary_or_nil)
<heftig> i think it used to return [a, b] always
<dminuoso> heftig: It got changed in 1.9
<heftig> dminuoso: i don't remember ever using the return value of a multiple assignment
omphe has joined #ruby
dogweather has joined #ruby
<dminuoso> heftig: I consider using assignment in conditionals bad style outside the C world.
<dminuoso> (And even in C world it's less desirable more often than not)
dogweather has quit [Remote host closed the connection]
<heftig> yeah, i avoid it where i can
dogweather has joined #ruby
dogweather has quit [Remote host closed the connection]
CloCkWeRX has quit [Quit: Leaving.]
jgt has joined #ruby
<[k-> is there a last seen bot here?
__main__ has quit [Read error: Connection reset by peer]
tulak has quit []
_main_ has joined #ruby
<Mon_Ouie> I don't think so. You could check _whitelogger's logs or I think NickServ can tell you about someone's last log in
<[k-> thanks!
Paradox has quit [Quit: off to herp the derps]
mozzarella has joined #ruby
_main_ is now known as __main__
omphe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rsampaio_ has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 244 seconds]
uranellus has joined #ruby
uranellus has quit [Changing host]
uranellus has joined #ruby
bkxd has joined #ruby
minimalism has joined #ruby
astrobun_ has quit [Remote host closed the connection]
astrobun_ has joined #ruby
bkxd has quit [Ping timeout: 252 seconds]
astrobun_ has quit [Ping timeout: 255 seconds]
bkxd has joined #ruby
Paradox has joined #ruby
dogweather has joined #ruby
decav has joined #ruby
Beams has joined #ruby
bkxd has quit [Ping timeout: 276 seconds]
omphe has joined #ruby
nankyokusei has joined #ruby
tenderlove has joined #ruby
jazzonmym1nd has joined #ruby
alaibe has joined #ruby
tenderlove has quit [Ping timeout: 244 seconds]
nankyokusei has quit [Ping timeout: 265 seconds]
hipertracker has joined #ruby
dogweather has quit [Remote host closed the connection]
DoubleMalt has joined #ruby
lheaded has joined #ruby
lightheaded has quit [Read error: No route to host]
dogweather has joined #ruby
dogweather has quit [Remote host closed the connection]
lheaded has quit [Remote host closed the connection]
lightheaded has joined #ruby
dogweather has joined #ruby
dogweather has quit [Remote host closed the connection]
astrobun_ has joined #ruby
ur5us has joined #ruby
quazimodo has quit [Ping timeout: 244 seconds]
AnFin has joined #ruby
hotpancakes has joined #ruby
flying has joined #ruby
Agent001 has joined #ruby
jazzonmym1nd has quit [Ping timeout: 255 seconds]
hotpancakes has quit [Ping timeout: 250 seconds]
cyclonis has quit [Remote host closed the connection]
giz|work has joined #ruby
CloCkWeRX has joined #ruby
cyclonis has joined #ruby
Couch has joined #ruby
heelpmeplz has joined #ruby
elifoster has quit [Quit: sleep]
aupadhye has quit [Ping timeout: 265 seconds]
dreamyspell has quit [Ping timeout: 250 seconds]
glcx has joined #ruby
glcx has joined #ruby
glcx has quit [Changing host]
hahuang61 has joined #ruby
johnmccabe has joined #ruby
johnmccabe has quit [Remote host closed the connection]
einarj has quit []
johnmccabe has joined #ruby
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hahuang61 has quit [Ping timeout: 250 seconds]
araujo has joined #ruby
araujo has quit [Max SendQ exceeded]
araujo has joined #ruby
Alayde has quit [Ping timeout: 240 seconds]
einarj has joined #ruby
araujo has quit [Max SendQ exceeded]
araujo has joined #ruby
cyclonis has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
Pupp3tm4st3r has joined #ruby
jazzonmym1nd has joined #ruby
workmad3 has joined #ruby
greister__ has joined #ruby
greister_ has quit [Ping timeout: 265 seconds]
bkxd has joined #ruby
bkxd has quit [Ping timeout: 260 seconds]
phredus_ has joined #ruby
jsrn_ has quit [Ping timeout: 244 seconds]
stamina has joined #ruby
LoneHerm_ has joined #ruby
dogweather has joined #ruby
astrobun_ has quit [Remote host closed the connection]
hipertracker has quit [Quit: hipertracker]
astrobun_ has joined #ruby
LoneHerm_ has quit [Ping timeout: 265 seconds]
astrobun_ has quit [Remote host closed the connection]
alehander has joined #ruby
gener1c has joined #ruby
astrobun_ has joined #ruby
dogweather has quit [Ping timeout: 250 seconds]
<gener1c> does anyone know of a good ftp lib that supports fxp and ssl?
<gener1c> i found ftpfxp and the ssl part looks broken
govg has joined #ruby
AnFin has left #ruby [#ruby]
AnFin has joined #ruby
AnFin has left #ruby [#ruby]
astrobun_ has quit [Ping timeout: 250 seconds]
duncannz has quit [Remote host closed the connection]
quazimodo has joined #ruby
hotpancakes has joined #ruby
glcx has quit [Ping timeout: 265 seconds]
mikhael_k33hl has quit [Ping timeout: 264 seconds]
ur5us has quit [Remote host closed the connection]
tenderlove has joined #ruby
hotpancakes has quit [Ping timeout: 264 seconds]
calmchaos has joined #ruby
Beams has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mrBen2k2k2k has joined #ruby
tenderlove has quit [Ping timeout: 244 seconds]
Beams has joined #ruby
calmchaos has quit [Ping timeout: 265 seconds]
hipertracker has joined #ruby
alehander has quit [Ping timeout: 264 seconds]
wolfedale has joined #ruby
<wolfedale> Hi
nowhereFast has quit [Ping timeout: 265 seconds]
IchabodAgento003 has joined #ruby
Agent001 has quit [Ping timeout: 240 seconds]
pawnbox_ has quit [Remote host closed the connection]
jsrn_ has joined #ruby
greister__ has quit [Ping timeout: 240 seconds]
blackgoat has joined #ruby
jgt has quit [Ping timeout: 244 seconds]
govg has quit [Ping timeout: 265 seconds]
pawnbox has joined #ruby
yardenbar has joined #ruby
<gener1c> ?
<gener1c> ftputils?
govg has joined #ruby
antgel has joined #ruby
nankyokusei has joined #ruby
maloik has quit [Remote host closed the connection]
maloik has joined #ruby
raeoks has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tlaxkit has joined #ruby
phoo1234567 has joined #ruby
lightheaded has quit [Remote host closed the connection]
lightheaded has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
aries_liuxueyang has quit [Ping timeout: 244 seconds]
giz|work has quit [Ping timeout: 240 seconds]
aries_liuxueyang has joined #ruby
lightheaded has quit [Ping timeout: 240 seconds]
last_staff has quit [Quit: brb]
last_staff has joined #ruby
lightheaded has joined #ruby
astrobun_ has joined #ruby
hahuang61 has joined #ruby
c355e3b has joined #ruby
hanmac has quit [Ping timeout: 255 seconds]
astrobun_ has quit [Remote host closed the connection]
hahuang61 has quit [Ping timeout: 250 seconds]
hotpancakes has joined #ruby
dhk has joined #ruby
quazimodo has quit [Ping timeout: 250 seconds]
rodfersou has joined #ruby
quazimodo has joined #ruby
hahuang61 has joined #ruby
hotpancakes has quit [Ping timeout: 240 seconds]
govg has quit [Ping timeout: 250 seconds]
hipertracker has quit [Quit: hipertracker]
giz|work has joined #ruby
hahuang61 has quit [Ping timeout: 255 seconds]
sevenfourk has joined #ruby
hanmac has joined #ruby
calmchaos has joined #ruby
mikecmpbll has quit [Read error: Connection reset by peer]
mikecmpbll has joined #ruby
johnmccabe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gilfoyle has joined #ruby
IchabodAgento003 has quit [Ping timeout: 240 seconds]
Ropeney has joined #ruby
govg has joined #ruby
hipertracker has joined #ruby
k3rn31 has quit [Ping timeout: 244 seconds]
umdstu has joined #ruby
craigp has quit [Ping timeout: 244 seconds]
wldcordeiro has quit [Ping timeout: 244 seconds]
ctp has joined #ruby
k3rn31 has joined #ruby
quazimodo has quit [Ping timeout: 244 seconds]
<gilfoyle> I have an application I need to test. It calls an auth method at startup and then periodically does authentication. I would like to do a bit of chaosmonkeying, by letting the app authenticate in the beginning but then, depending on what I'm testing, letting the authentication succeed or not. I have an auth method. What's the correct way to achieve this?
quazimodo has joined #ruby
foxxx0 has quit [Quit: WeeChat 1.0.1]
<Papierkorb> gilfoyle: Depends on many factors. If the auth method supports multiple backends, you can have a TestBackend which you can then configure in a test to fail or succeed.
<Ropeney> you can stub methods or responses, if your trying to stub a response https://relishapp.com/vcr/vcr/v/2-0-0/docs/ is good for that.
maokomioko has joined #ruby
gener1c has quit [Ping timeout: 244 seconds]
JeanCarloMachado has joined #ruby
bkxd has joined #ruby
polysics has joined #ruby
gener1c has joined #ruby
ldnunes has joined #ruby
maokomioko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
maokomioko has joined #ruby
maokomioko has quit [Client Quit]
bkxd has quit [Ping timeout: 244 seconds]
Beams has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hipertracker has quit [Quit: hipertracker]
gener1c has quit [Ping timeout: 260 seconds]
johnmilton has quit [Remote host closed the connection]
CloCkWeRX has quit [Ping timeout: 265 seconds]
gener1c has joined #ruby
Sou|cutter has quit [Quit: WeeChat 0.4.2]
dminuoso has quit [Ping timeout: 276 seconds]
wnd has quit [Excess Flood]
wnd has joined #ruby
tenderlove has joined #ruby
JoshS has joined #ruby
tk__ has joined #ruby
JeanCarl1Machado has joined #ruby
<gilfoyle> ropeney: Papierkorb thanks, and sorry - I got carried away
hipertracker has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
raeoks has joined #ruby
dogweather has joined #ruby
tenderlove has quit [Ping timeout: 264 seconds]
Snowy has quit [Remote host closed the connection]
raeoks has quit [Client Quit]
rbr has quit [Read error: Connection reset by peer]
jgt has joined #ruby
rbr has joined #ruby
<Cork> is there a way to sniff the "real" encoding of an utf-8 string in ruby?
tuelz1 has quit [Ping timeout: 250 seconds]
stamina has quit [Ping timeout: 244 seconds]
<Cork> i get an utf-8 string from a system call and it might be other encodings then utf-8 (ex. iso8859-1) and i need to find what that is
dogweather has quit [Ping timeout: 250 seconds]
dminuoso has joined #ruby
johnmilton has joined #ruby
johnmilton has quit [Read error: Connection reset by peer]
johnmilton has joined #ruby
tyang has joined #ruby
Immune has quit [Ping timeout: 252 seconds]
pawnbox has quit [Remote host closed the connection]
bruce_lee has quit [Ping timeout: 250 seconds]
_joes_ has quit [Quit: Connection closed for inactivity]
omphe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
bruce_lee has joined #ruby
glcx has joined #ruby
glcx has joined #ruby
glcx has quit [Changing host]
CloCkWeRX has joined #ruby
pawnbox has joined #ruby
hotpancakes has joined #ruby
pawnbox has quit [Remote host closed the connection]
badeball_ is now known as badeball
tuelz1 has joined #ruby
chouhoulis has joined #ruby
hotpancakes has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
b3atr has joined #ruby
pawnbox has quit [Remote host closed the connection]
<b3atr> what style do you use to test APIs in `rsepc`?
<b3atr> HTTP methods, with or without parameters
wnd has quit [Ping timeout: 240 seconds]
<b3atr> describe API::V1::User
wnd has joined #ruby
<Cork> [k-: it just returns the encoding of the string in ruby == utf-8
<Cork> the problem is the string is ex. "H\xE4r \xE4r lite text" instead of "Här är lite text"
<Cork> see what, i've read it up and down several times
<Cork> i don't see anything for identifying the encoding in the utf-8 string
mpr555 has joined #ruby
Beams has joined #ruby
<Papierkorb> Cork: If you want to guess it you'll have issues. Ask the system what encoding it uses instead.
<Cork> Papierkorb: it is the output from a command
<Cork> there is no way to get it
<Cork> that is my problem
mpr555 has quit [Client Quit]
<tobiasvl> Cork: the "command" doesn't know what encoding it uses?
hipertracker has quit [Quit: hipertracker]
nikivi has joined #ruby
Ropeney has quit [Quit: Leaving]
<Cork> tobiasvl: no
<Cork> to be more specific, this is a call to whois, and the output is what the server sends as a text body
olistik has joined #ruby
<Cork> no encoding or anything
<Cork> basically just raw binary data
govg has quit [Ping timeout: 240 seconds]
jhack has joined #ruby
<tobiasvl> seems you're correct
<tobiasvl> The WHOIS protocol has no mechanism for indicating the character set in use.
<tobiasvl> This inability to predict or express text encoding has adversely impacted the interoperability (and, therefore, usefulness) of the WHOIS protocol.
<tobiasvl> from the API :P
RegulationD has joined #ruby
dminuoso has quit [Remote host closed the connection]
<tobiasvl> s/API/RFC
johnmccabe has joined #ruby
Snowy has joined #ruby
deadprez has joined #ruby
fmcgeough has joined #ruby
jshjsh has joined #ruby
RegulationD has quit [Ping timeout: 250 seconds]
dminuoso has joined #ruby
JoshS has quit [Disconnected by services]
jshjsh is now known as JoshS
deadprez has quit [Remote host closed the connection]
deadprez has joined #ruby
blackgoat has quit [Quit: WeeChat 1.5]
chrisdav6 has joined #ruby
gnufied has joined #ruby
deadprez has quit [Ping timeout: 252 seconds]
nettoweb has joined #ruby
DoubleMalt has quit [Ping timeout: 276 seconds]
benlieb has joined #ruby
benlieb has quit [Client Quit]
last_staff has quit [Quit: last_staff]
craigp has joined #ruby
<[k-> Cork: I learnt from this article, http://yehudakatz.com/2010/05/05/ruby-1-9-encodings-a-primer-and-the-solution-for-rails/ about why encodings are difficult to guess
nankyokusei has joined #ruby
jphase has joined #ruby
jphase has quit [Remote host closed the connection]
jphase has joined #ruby
omphe has joined #ruby
nankyokusei has quit [Ping timeout: 250 seconds]
bsrd has quit [Quit: WeeChat 1.5]
johnmccabe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nclbr has quit [Quit: Leaving...]
jphase has quit []
johnmccabe has joined #ruby
tlaxkit has quit [Quit: tlaxkit]
vondruch has quit [Ping timeout: 265 seconds]
claudiuinberlin has joined #ruby
gilfoyle has quit [Read error: Connection reset by peer]
gilfoyle has joined #ruby
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tyang has quit [Ping timeout: 250 seconds]
pawnbox has joined #ruby
olistik has quit [Ping timeout: 252 seconds]
jphase has joined #ruby
dminuoso has quit [Ping timeout: 244 seconds]
IchabodAgento003 has joined #ruby
claudiuinberlin has quit [Ping timeout: 240 seconds]
jgt has quit [Ping timeout: 255 seconds]
tostr has quit [Quit: leaving]
pawnbox has quit [Ping timeout: 264 seconds]
jhack has quit [Quit: jhack]
elementaru has joined #ruby
ramortegui has joined #ruby
hutch34_ has joined #ruby
BrianJ has quit [Quit: Textual IRC Client: www.textualapp.com]
cdg has joined #ruby
omphe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
claudiuinberlin has joined #ruby
BrianJ has joined #ruby
chouhoulis has quit [Remote host closed the connection]
omphe has joined #ruby
phredus_ has quit [Quit: No Ping reply in 180 seconds.]
tenderlove has joined #ruby
hotpancakes has joined #ruby
phredus_ has joined #ruby
tuelz1 has quit [Ping timeout: 240 seconds]
sdothum has joined #ruby
dminuoso has joined #ruby
hahuang61 has joined #ruby
gilfoyle has quit [Read error: Connection reset by peer]
Beams has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bkxd has joined #ruby
tenderlove has quit [Ping timeout: 250 seconds]
przemoskPL has joined #ruby
phredus_ has quit [Remote host closed the connection]
kanyewezt has joined #ruby
hotpancakes has quit [Ping timeout: 244 seconds]
johnmccabe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hahuang61 has quit [Ping timeout: 250 seconds]
tuelz1 has joined #ruby
johnmccabe has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
jhack has joined #ruby
omphe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gilfoyle has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
johnmccabe has quit [Client Quit]
kx has joined #ruby
IchabodAgento003 has quit [Ping timeout: 240 seconds]
kx is now known as kaiks
wugy has quit []
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mim1k has joined #ruby
aegis3121 has joined #ruby
ngscheur1 has joined #ruby
charliesome has joined #ruby
bsrd has joined #ruby
johnmccabe has joined #ruby
shinnya has joined #ruby
malconis has joined #ruby
<chrisdav6> Joined this room yesterday and i thought there would be more chatter! Kind of quiet in here :(
nando293921 has joined #ruby
dminuoso has quit [Ping timeout: 244 seconds]
omphe has joined #ruby
<[k-> It used to be noisy
<[k-> real noise
moneylotion has quit [Quit: ZNC 1.6.3 - http://znc.in]
coolboy has joined #ruby
Alina-malina has quit [Ping timeout: 276 seconds]
griffindy has joined #ruby
nikivi has quit [Quit: irc]
LastWhisper____ has joined #ruby
<chrisdav6> I will throw something out... i'm currently learning about Ruby class inheritance and child class overrides. Very interesting stuff! Seems like it could really cut down on repititious code :)
hipertracker has joined #ruby
<chrisdav6> I touched on it class inhereitance breifly with Javascript and was a little confused, but learning the concepts a second time around with Ruby really reinforced the ideas
moneylotion has joined #ruby
IchabodAgento003 has joined #ruby
raviShankarJha has quit []
yardenbar has quit [Ping timeout: 264 seconds]
<[k-> that's nice. There are also mixins and the like
DoubleMalt has joined #ruby
jgt has joined #ruby
govg has joined #ruby
maokomioko has joined #ruby
<chrisdav6> Yeah, i was learning about them as well. Lamdas and Procs right?
<chrisdav6> *Lambda!
<[k-> lambdas, procs, and blocks
<[k-> also methods, unbound methods
ruby_ has joined #ruby
<chrisdav6> blocks are just anonymous methods right?
<gener1c> what are unbound methods?
<gener1c> nah blocks are lambda expressions passed to methods
<gener1c> like so
<Mon_Ouie> A method object that doesn't have a fixed receiver object
<gener1c> [1,2,3,4],map {|num| num+1}
<chrisdav6> ahhh, gotcha
<gener1c> the {} part is the block
<gener1c> Mon_Ouie: is that a method level mixin?
<Mon_Ouie> "foo".method(:length) is a method bound to "foo", String.instance_method(:length) is an unbound version of the same method, which you can bind to any string object you want
<chrisdav6> Can it can also be [1.2.3.4].map do |num| num+1 end the do and end are the block
b3atr has quit [Quit: WeeChat 1.5]
AndrewIsHere has joined #ruby
<chrisdav6> [1,2,3,4]
deadprez has joined #ruby
<chrisdav6> used the wrond syntax on my array!
<gener1c> yes chrisdav6 those are the same
<gener1c> do |num| end
<gener1c> {|num|}
ctp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<chrisdav6> @gener1c thanks man
<jazzonmym1nd> >> class MyString < String; end; MyString.new("").bind(String.instance_method(:chomp))
<gener1c> np
<ruby[bot]> jazzonmym1nd: # => undefined method `bind' for "":MyString ...check link for more (https://eval.in/637912)
wolfedale has quit []
<gener1c> >> 1+2
<[k-> I think bind belongs to a Method
<jazzonmym1nd> >> class MyString < String; end; String.instance_method(:chomp).bind(MyString.new(""))
<ruby[bot]> jazzonmym1nd: # => #<Method: String#chomp> (https://eval.in/637914)
<gener1c> so what is the difference between an unbound method and simply a function?
<gener1c> or procedure
<chrisdav6> by function you mean method right?
<gener1c> those too are unbound until bound to an object
<gener1c> no , i mean function/procedure
benlieb has joined #ruby
<chrisdav6> I get tripped up too since Javascript calls functions functions and Ruby calls the methods
<Mon_Ouie> There's no such thing in Ruby
<gener1c> methods are functions/procedures bound to objects
<jazzonmym1nd> so you mean Proc?
<chrisdav6> In javascript methods are functions within objects so it gets confusing
<gener1c> i just mean def something() end
<Mon_Ouie> That's a method
<gener1c> those are bound to main
<jazzonmym1nd> that'd belong to Object and main.
<Mon_Ouie> That's a private instance method of Object
<[k-> &ri UnboundMethod
<[k-> more details here ^
<gener1c> heh
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ta_ has quit [Remote host closed the connection]
Beams has joined #ruby
tenderlove has joined #ruby
tenderlove has joined #ruby
tenderlove has quit [Changing host]
jhack has quit [Quit: jhack]
tyang has joined #ruby
chouhoulis has joined #ruby
<chrisdav6> Overriding existing Ruby methods seems like risky business. I can't think of how this would be useful or why Ruby allows it. Why not just create your own method?
banisterfiend has joined #ruby
nettoweb has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<[k-> One reason would be convenience
<[k-> sometimes you would like to extend a class's functionality
lightheaded has quit [Remote host closed the connection]
lightheaded has joined #ruby
<chrisdav6> I understand that part, but wouldn't it be safer to just copy the original method, alter it to your liking, then name it something else? Seems like you are muddying up the water overiding Ruby methods
<chrisdav6> I guess it cool that you have the option
lightheaded has quit [Read error: No route to host]
lightheaded has joined #ruby
<[k-> allowing you that option is what ruby is about :)
<chrisdav6> ahhh :)
tenderlove has quit [Ping timeout: 250 seconds]
<[k-> yes, you are muddying up the waters, and you can also cause trouble for other people who might not know that you change the functionality of the core classes
calmchaos has quit [Remote host closed the connection]
nettoweb has joined #ruby
<[k-> therefore, it is generally discouraged to do so
<[k-> but if you are just typing up a small script for your own personal use, it really is a handy feature
<chrisdav6> I can see how that can go bad very quickly!
<chrisdav6> Especially if you are working with a team like you mentioned and not leaving code comments
ferr has quit [Quit: WeeChat 1.5]
tenderlove has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
chouhoulis has quit [Remote host closed the connection]
antgel has quit [Ping timeout: 255 seconds]
<[k-> it leads to very confusing errors that no one can understand
CloCkWeRX has quit [Quit: Leaving.]
tk__ has quit [Quit: ばいばい]
hotpancakes has joined #ruby
tulak has joined #ruby
jhack has joined #ruby
hipertracker has quit [Quit: hipertracker]
rivqaa has joined #ruby
hotpancakes has quit [Ping timeout: 260 seconds]
astrobun_ has joined #ruby
arup_r has joined #ruby
<chrisdav6> Very Intersting. Thanks @k- and @ ghr They call it "Monkey Patching"! Lols! :)
Vingador has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
<arup_r> Hi, I want to know 1 thing. Why __FILE__ and __LINE__ is being passed here https://github.com/lostisland/faraday/blob/80c0e66102168939df04682573bc267e089a43ae/lib/faraday/connection.rb#L138 ? What is the reason behind of it/
<arup_r> ?
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<arup_r> nvm ignore me
tulak has quit [Remote host closed the connection]
tenderlove has quit [Remote host closed the connection]
hotpancakes has joined #ruby
tulak has joined #ruby
<arup_r> it is documented, I skipped it.
<[k-> it is used for generated code to identify the source of the generated code
giz|work has quit [Ping timeout: 250 seconds]
tyang has quit [Ping timeout: 250 seconds]
lessless has joined #ruby
Alina-malina has joined #ruby
RegulationD has joined #ruby
Azure|dc has joined #ruby
gilfoyle has quit [Read error: Connection reset by peer]
BlkDynmt has joined #ruby
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
Azure has quit [Ping timeout: 252 seconds]
IchabodAgento003 has quit [Ping timeout: 240 seconds]
<[k-> unlikely
astrobun_ has quit [Remote host closed the connection]
benlieb has quit [Quit: benlieb]
benlieb has joined #ruby
astrobun_ has joined #ruby
face has quit [Disconnected by services]
<[k-> I haven't ruby'd for a long time
Littlemyu has joined #ruby
<arup_r> ok.. no problem..
benlieb has quit [Read error: No route to host]
RegulationD has quit [Ping timeout: 265 seconds]
benlieb has joined #ruby
benlieb has quit [Client Quit]
gilfoyle has joined #ruby
<[k-> it seems like it does https://eval.in/637948
beneggett has joined #ruby
<[k-> as you can see, ruby said that the error was caused by line 4
pawnbox has joined #ruby
<arup_r> yesh.. just tested on IRB too.. Now I will make a choice which one I wll use.. thanks [k-
IchabodAgento003 has joined #ruby
<[k-> welcome :)
jhack has quit [Quit: jhack]
gener1c has quit [Ping timeout: 276 seconds]
[Butch] has joined #ruby
Vingador_ has joined #ruby
AlexRussia has joined #ruby
arup_r has quit []
govg has quit [Ping timeout: 244 seconds]
lightheaded has quit [Remote host closed the connection]
lightheaded has joined #ruby
submitnine has quit []
bauruine has quit [Ping timeout: 250 seconds]
calmchaos has joined #ruby
tyang has joined #ruby
pwnd_nsfw has joined #ruby
kgutteridge has joined #ruby
gilfoyle has quit [Read error: Connection reset by peer]
gilfoyle has joined #ruby
lessless has quit [Read error: Connection reset by peer]
JoshS has quit [Quit: Leaving]
bsrd has quit [Quit: WeeChat 1.5]
Beams has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lightheaded has quit [Ping timeout: 250 seconds]
Robtop__ has quit [Ping timeout: 250 seconds]
rodfersou is now known as rodfersou|lunch
benlieb has joined #ruby
jhack has joined #ruby
nettoweb has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Beams has joined #ruby
Devalo has joined #ruby
nankyokusei has joined #ruby
conta has quit [Ping timeout: 260 seconds]
rippa has joined #ruby
Devalo has quit [Client Quit]
JoshS has joined #ruby
aegis3121 has quit [Ping timeout: 252 seconds]
jphase has quit [Remote host closed the connection]
olistik has joined #ruby
jphase has joined #ruby
Vingador_ has quit [Remote host closed the connection]
Vingador has quit [Remote host closed the connection]
nankyokusei has quit [Ping timeout: 250 seconds]
tyang has quit [Ping timeout: 250 seconds]
JeanCarloMachado has quit [Ping timeout: 250 seconds]
JeanCarl1Machado has quit [Ping timeout: 265 seconds]
ramfjord has joined #ruby
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mtkd has quit [Ping timeout: 260 seconds]
polishdub has joined #ruby
sevenfourk has quit [Quit: Connection closed for inactivity]
pwnd_nsfw` has joined #ruby
maokomioko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mtkd has joined #ruby
rivqaa has quit [Remote host closed the connection]
quazimodo has quit [Ping timeout: 276 seconds]
biberu has quit [Ping timeout: 244 seconds]
aegis3121 has joined #ruby
quazimodo has joined #ruby
ponga has quit [Quit: Connection closed for inactivity]
aganov has quit [Remote host closed the connection]
Pupp3tm4st3r has quit [Quit: Leaving...]
pwnd_nsfw has quit [Ping timeout: 250 seconds]
minimalism has quit [Quit: minimalism]
meisterluk has joined #ruby
Littlemyu_ has joined #ruby
tdy has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
Littlemyu has quit [Ping timeout: 252 seconds]
etetz has joined #ruby
tdy has joined #ruby
<meisterluk> Hi, Unicode issue: https://gist.github.com/meisterluk/c49ba2f04dcd94da8fbd0d3e94015c23 ... any ideas where Windows-1252 comes from?
hahuang61 has joined #ruby
DoubleMalt has quit [Ping timeout: 240 seconds]
bkxd has joined #ruby
nettoweb has joined #ruby
astrobun_ has quit [Remote host closed the connection]
dminuoso has joined #ruby
jhack has quit [Quit: jhack]
kitikonti has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
bkxd has quit [Ping timeout: 265 seconds]
beneggett has joined #ruby
ruby_ has quit [Remote host closed the connection]
beneggett has quit [Client Quit]
jhack has joined #ruby
AndrewIsHere has quit [Remote host closed the connection]
rubie has joined #ruby
<aeruder> meisterluk: does the regex have extended characters in it?
<meisterluk> aeruder: yes, it has.
<aeruder> i'm guessing that the encoding of those special characters is windows-1252
<meisterluk> new Regexp("textwithextendedchars".encode("utf-8")) ... did not change a thing. But it should, right?
<aeruder> meisterluk: oh, i would really think so
<meisterluk> sorry, Regexp.new, of course #littleexperiencewithruby ... I'm trying it again to be sure
aufi has quit [Ping timeout: 276 seconds]
bauruine has joined #ruby
tulak has quit []
<aeruder> meisterluk: hmm, i see another identical regex right below without the encode
<aeruder> the last_word = ... line
benlieb has quit [Quit: benlieb]
<aeruder> is that maybe the one erroring out?
<meisterluk> nope, sadly not... line 217 is "@previous_fragment_ended_with_breakable = pf =~ r"
RegulationD has joined #ruby
<meisterluk> Prawn uses a "# encoding: utf-8" declaration, but this should not be relevant in ruby 2.0 .... just for information
<ule> Hi there..
Lucky_ABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Alayde has joined #ruby
shinnya has quit [Ping timeout: 250 seconds]
gigetoo has quit [Ping timeout: 250 seconds]
<ule> do you guys know any trick to support pretty-printing on Byebug?
<ule> sorry for a no-ruby question.. but it's kind of related
<adaedra> Use pp
gigetoo has joined #ruby
<ule> adaedra: is it a gem? because this command doesn't work here
<Mon_Ouie> require 'pp'
ramfjord has quit [Ping timeout: 240 seconds]
<ule> (byebug) require 'pp'
<ule> false
<ule> Mon_Ouie: :/
<Mon_Ouie> That just means it was already required
moparisthebest has quit [Ping timeout: 276 seconds]
<aeruder> meisterluk: kind of out of ideas then, i think you can extract this into a smaller example and play around with it, i see that regexp has its own encoding stuff
<ule> Mon_Ouie: pp shows a hash but doesn't make it pretty
<aeruder> but i don't understand why that wouldn't pick up from the string encoding
<meisterluk> aeruder: you mean a regexp object maintains its own encoding, right?
<Mon_Ouie> Beauty is in the mind of the beholder?
<aeruder> meisterluk: yes, it has its own encoding method that returns what encoding it works with
baweaver is now known as baweaver_away
<aeruder> and presumably that will indicate Windows-1252, but agree with you that I don't fully-understand why
RegulationD has quit [Ping timeout: 264 seconds]
benlieb has joined #ruby
<meisterluk> aeruder: oh, what is this method's name?
<aeruder> meisterluk: #encoding
<ule> Mon_Ouie: I'm looking for a kind of multiple lines results.. splitting each hash groups by tabs etc.. like those json prettifyers that we can find online
<[k-> i remember when I debugged a huge array of [#<Object: @instance=[#<Object @instance= ...]]
<[k-> not pretty
rubie has quit [Remote host closed the connection]
brendan- is now known as bmurt-
rubie has joined #ruby
<ule> Mon_Ouie: oh shit.. worked here.. I used: pp object.attributes
<ule> thanks
<meisterluk> aeruder: too obvious ;-) thank you for support! I will debug a bit more and probably refer to the Prawn devs :) thank you!
spudowiar has joined #ruby
<elomatreb> ule: Another great way is to `require "yaml"` and use .to_yaml/Object#y
<[k-> oh yeah that was with Nokogiri
<aeruder> meisterluk: what version of ruby btw?
govg has joined #ruby
Rickmasta has quit [Quit: Textual IRC Client: www.textualapp.com]
<meisterluk> aeruder: ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu]
<aeruder> oh ok, hmmm, definitely see lots of stuff about 1.9 having issues, but most of that is now-solved
<ule> elomatreb: oh boy.. lemme test it out
Vile` has joined #ruby
<meisterluk> aeruder: oh boy, I just found that the encoding mentioned might be from another call of this method... sorry, let me look into it
ramfjord has joined #ruby
AndrewIsHere has joined #ruby
rubie has quit [Ping timeout: 252 seconds]
daffy_duck_2 has quit [Ping timeout: 276 seconds]
Pumukel has quit [Ping timeout: 276 seconds]
bmurt- is now known as bmurts
bmurts is now known as bmurt
rodfersou|lunch has quit [Quit: leaving]
<ule> elomatreb: worked!! thanks
<ule> Mon_Ouie: thanks again
nando293921 has quit [Ping timeout: 250 seconds]
tyang has joined #ruby
Rickmasta has joined #ruby
amclain has joined #ruby
jeremyhall has joined #ruby
akkad has joined #ruby
spudowiar has quit [Quit: Leaving.]
tyang has quit [Ping timeout: 250 seconds]
vdamewood has quit [Quit: Life beckons.]
ramfjord has quit [Ping timeout: 260 seconds]
jsrn_ has quit [Read error: Connection reset by peer]
kgutteridge has left #ruby [#ruby]
<meisterluk> aeruder: apparently there are multiple issues. If I fixed the one, the other occured, vice versa … and the debug info is the output of two different cases… so nevermind & sorry for bothering! thx! :-)
<aeruder> meisterluk: no worries :)
karmatr0n has joined #ruby
ramfjord has joined #ruby
RegulationD has joined #ruby
agent_white has joined #ruby
saneax is now known as saneax-_-|AFK
AndrewIsHere has quit [Remote host closed the connection]
<agent_white> Mornin'
AndrewIsHere has joined #ruby
Rickmasta has quit [Quit: Textual IRC Client: www.textualapp.com]
Vingador has joined #ruby
ramfjord has quit [Ping timeout: 252 seconds]
tenderlove has joined #ruby
aegis3121 has quit [Ping timeout: 240 seconds]
IchabodAgento003 has quit [Ping timeout: 240 seconds]
craigp has quit [Ping timeout: 276 seconds]
glcx has quit [Quit: Quitte]
Lucky_ABA has joined #ruby
tenderlove has quit [Ping timeout: 244 seconds]
beneggett has joined #ruby
ajsharma has joined #ruby
moby has joined #ruby
nitric has joined #ruby
ruby_ has joined #ruby
mrgrieves has quit [Ping timeout: 276 seconds]
claudiuinberlin has quit []
rodfersou has joined #ruby
d0nn1e has quit [Ping timeout: 240 seconds]
d0nn1e has joined #ruby
sapphire_ has joined #ruby
<sapphire_> hey there, is there a c's #define analogue?
<sapphire_> i want to redefine ruby's keywords (globally)
<j416> no you don't
<sapphire_> but I do
<ytti> i don't understand why on earth you'd want
ruby_ has quit [Remote host closed the connection]
ruby_ has joined #ruby
<ytti> there almost certainly is more idiomatic solution to what ever problem you're struggling with
<sapphire_> localize damn thing, actually
AndrewIsHere has quit [Remote host closed the connection]
<xpt> o you basically want to rename 'reverse' to 'odwróć' ?
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<xpt> so*
AndrewIsHere has joined #ruby
Sid05 has joined #ruby
<sapphire_> actually, (almost) every keyword
_djbkd has joined #ruby
<sapphire_> like if,end,else,def,etc.
PersonaSound has joined #ruby
ruby_ has quit [Ping timeout: 244 seconds]
dminuoso has quit [Ping timeout: 276 seconds]
<canton7> I'm guessing this is a DSL of some sort?
AndrewIsHere has quit [Remote host closed the connection]
<xpt> I've used polish version of microsoft excel =jeżeli(...) is counterintuitive to me, i prefer =if(...)
<sapphire_> kinda like EnglishScript
<xpt> but you are free to do as you want
<sapphire_> "free" as in "no docs on this topic, bud, you're on your own"
<apeiros> sapphire_: write a preprocessor?
<sapphire_> in that case - that's bs
marr has quit [Ping timeout: 240 seconds]
<apeiros> after all, #define et al are all preprocessor stuff too in C
<sapphire_> wouldn't that be more weight for a poor ruby?
<sapphire_> it's slow already y'know (compared to crystal)
bjh13 has joined #ruby
<PersonaSound> anyone know how to code a reese bass
<apeiros> well, just as with every other preprocessor, the output would be native code
<[k-> but the errors will be in English
kitikonti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<sapphire_> well, then maaaybe (i hope they are localisable as well)
<[k-> module names in English, methods in English, exceptions in English
<[k-> libraries throwing exceptions in English
<sapphire_> everything should be localisable as long as it supports unicode
devbug has joined #ruby
<apeiros> sapphire_: another route: rewrite parse.y and compile a custom ruby
<sapphire_> sounds rocket-sciency
hotpancakes has quit [Remote host closed the connection]
DoubleMalt has joined #ruby
spudowiar has joined #ruby
devbug has quit [Read error: Connection reset by peer]
JeanCarloMachado has joined #ruby
JeanCarl1Machado has joined #ruby
mikecmpbll has quit [Ping timeout: 265 seconds]
wldcordeiro has joined #ruby
IchabodAgento003 has joined #ruby
shmuli has joined #ruby
<sapphire_> yup, it's in c, sorry no xp in that area (so basically i have less than no idea where to modify and how to rebuild w/o triggering warns/errs/fatals)
devbug has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
minotep has joined #ruby
jhack has quit [Quit: jhack]
chouhoulis has quit [Remote host closed the connection]
beneggett has joined #ruby
<[k-> i would think you have a huge task ahead if you want to localize ruby
connor_goodwolf has quit [Ping timeout: 244 seconds]
chouhoulis has joined #ruby
<[k-> even documentation needs to be localized!
<tubbo> PersonaSound: sure can, gimme a korg ms-20 :)
ajsharma has quit [Read error: Connection reset by peer]
PaulCapestany has quit [Read error: Connection reset by peer]
<sapphire_> well,it already is ;)
ruby_ has joined #ruby
<sapphire_> for ruby syntax ofc
Snowy has quit [Remote host closed the connection]
PaulCapestany has joined #ruby
mrgrieves has joined #ruby
bauruine has quit [Quit: ZNC - http://znc.in]
jhack has joined #ruby
bauruine has joined #ruby
Beams has quit [Quit: Textual IRC Client: www.textualapp.com]
RegulationD has quit [Remote host closed the connection]
tomchapin has joined #ruby
govg has quit [Ping timeout: 240 seconds]
<sapphire_> uhhh...
tomchapin has quit [Client Quit]
Couch has quit [Ping timeout: 244 seconds]
conta has joined #ruby
replay has joined #ruby
<jazzonmym1nd> sapphire_: what's the benefit? is it for yourself or large group of polish people?
nettoweb has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Mia has joined #ruby
<sapphire_> well, not polish, but you are close
ramfjord has joined #ruby
kith has quit [Quit: kith]
<sapphire_> most of _the people_ are stuck w/ delphi and/or c/c++/c#
<sapphire_> it's kinda bad
<[k-> there are ruby channels for people who speak different languages
<[k-> you could ask if they have something similar
<sapphire_> well, i'm afraid ruby here is _not_ so widespread
<sapphire_> so knowledge maybe kinda poor
<sapphire_> may be*
AndrewIsHere has joined #ruby
sepp2k has joined #ruby
danostrowski has joined #ruby
hotpancakes has joined #ruby
kith has joined #ruby
shinnya has joined #ruby
<hanmac> delphi still exist? i was (10+)years ago i have touched it, and then it wasn't the best :/
IchabodAgento003 has quit [Read error: Connection reset by peer]
einarj has quit [Remote host closed the connection]
einarj has joined #ruby
<sapphire_> still alive and support iot and mac
<sapphire_> supports*
nankyokusei has joined #ruby
SeepingN has joined #ruby
<sapphire_> it's owned by ~~abracadabra~~ embarcadero
aegis3121 has joined #ruby
jgt has quit [Ping timeout: 265 seconds]
Shmulik has quit [Ping timeout: 244 seconds]
PersonaSound has quit [Ping timeout: 250 seconds]
einarj has quit [Ping timeout: 264 seconds]
nankyokusei has quit [Ping timeout: 252 seconds]
blackjid has quit [Ping timeout: 250 seconds]
aguynamedben has quit [Ping timeout: 250 seconds]
kitikonti has joined #ruby
tpendragon has quit [Ping timeout: 250 seconds]
kitikonti has quit [Client Quit]
tenderlove has joined #ruby
giraffe has quit [Ping timeout: 276 seconds]
karmatr0n has quit [Ping timeout: 260 seconds]
aegis3121 has quit [Ping timeout: 244 seconds]
mark_66 has quit [Remote host closed the connection]
shinnya has quit [Ping timeout: 276 seconds]
firstdayonthejob has joined #ruby
flying has quit []
<sapphire_> (it also would be great if there was RAD for ruby)
maokomioko has joined #ruby
tenderlove has quit [Ping timeout: 250 seconds]
postmodern has joined #ruby
minotep has quit [Quit: minotep]
shmuli has quit [Remote host closed the connection]
devbug has quit [Read error: Connection reset by peer]
plasticxor has joined #ruby
plasticxu has quit [Ping timeout: 244 seconds]
hipertracker has joined #ruby
connor_goodwolf has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dhk has quit [Quit: Leaving]
beneggett has joined #ruby
<sapphire_> and yea, _the only_ usergroup here is dedicated to rails __only__
<sapphire_> so sad
careta has quit [Ping timeout: 240 seconds]
alaibe has quit [Ping timeout: 240 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
plasticxme has joined #ruby
devbug has joined #ruby
<[k-> ruby internals are difficult when we don't know c >:(
minotep has joined #ruby
Littlemyu_ has quit [Ping timeout: 252 seconds]
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kus has joined #ruby
kus has quit [Max SendQ exceeded]
sapphire__ has joined #ruby
<sapphire__> true, and yet some peopleare actually understandinng __and maintaining it__
plasticxor has quit [Ping timeout: 240 seconds]
rcvalle has joined #ruby
mrgrieves has quit [Ping timeout: 240 seconds]
hahuang61 has joined #ruby
gilfoyle has quit [Read error: Connection reset by peer]
sapphire_ has quit [Ping timeout: 264 seconds]
benlieb has quit [Quit: benlieb]
bkxd has joined #ruby
<[k-> hm there is an irc channel for that too
aegis3121 has joined #ruby
devbug has quit [Read error: Connection reset by peer]
<sapphire__> i predict, something like ruby_dev
symm- has joined #ruby
calmchaos has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
astrobun_ has joined #ruby
pawnbox has joined #ruby
devbug has joined #ruby
hahuang61 has quit [Ping timeout: 255 seconds]
bkxd has quit [Ping timeout: 260 seconds]
benlieb has joined #ruby
<[k-> I can't remember
calmchaos has joined #ruby
tuelz1 has quit [Ping timeout: 250 seconds]
zekriad has joined #ruby
rodfersou has quit [Ping timeout: 265 seconds]
mikecmpbll has joined #ruby
benlieb has quit [Client Quit]
jhack has quit [Quit: jhack]
astrobun_ has quit [Ping timeout: 264 seconds]
rodfersou has joined #ruby
polishdub has quit [Quit: Leaving]
tyang has joined #ruby
Silthias1 has quit [Quit: Leaving.]
KramerC has quit [Ping timeout: 276 seconds]
marr has joined #ruby
<sapphire__> :(
<zacts> I remember delphi, I think gamemaker was made using it
<zacts> back in the day
pawnbox has quit [Ping timeout: 250 seconds]
pawnbox has joined #ruby
jonathanwallace has joined #ruby
Sid05 has left #ruby [#ruby]
aguynamedben has joined #ruby
<sapphire__> :|
<sapphire__> qip uses delphi
jhack has joined #ruby
blackjid has joined #ruby
tpendragon has joined #ruby
benlieb has joined #ruby
<sapphire__> aimp too
banisterfiend has joined #ruby
skarn_ has joined #ruby
benlieb has quit [Client Quit]
moparisthebest has joined #ruby
parus has joined #ruby
shortdudey123 has quit [Max SendQ exceeded]
shortdudey123 has joined #ruby
DoubleMalt has quit [Ping timeout: 265 seconds]
KramerC has joined #ruby
coolboy has quit [Ping timeout: 276 seconds]
sapphire_ has joined #ruby
sapphire_ has left #ruby [#ruby]
claudiuinberlin has joined #ruby
coolboy has joined #ruby
Alayde has quit [Ping timeout: 244 seconds]
Silthias has joined #ruby
mwlang has joined #ruby
moresilenter has joined #ruby
<moresilenter> hey everyone! I just wanted to check if "array.each_with_index.inject" is the only way for me to do an inject on an array and have the index
<moresilenter> it looks kind of messy to me
beneggett has quit [Quit: Textual IRC Client: www.textualapp.com]
Silthias1 has joined #ruby
finisherr has joined #ruby
LW___ has joined #ruby
<[k-> iirc you can do .inject.with_index
tyang has quit [Ping timeout: 250 seconds]
<moresilenter> [k-: thanks!
LastWhisper____ has quit [Ping timeout: 244 seconds]
Silthias has quit [Ping timeout: 250 seconds]
<[k-> &ri Enumerable#with_index
<`derpy> No results
David27 has joined #ruby
<ytti> there is #with_object though
johnmccabe has quit [Ping timeout: 244 seconds]
maokomioko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tpendragon has quit [Ping timeout: 250 seconds]
aguynamedben has quit [Ping timeout: 250 seconds]
jeremyhall has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
wlanboy has quit [Ping timeout: 240 seconds]
<[k-> ytti: it's in enumerator and not enumerable :)
<ytti> oops
raz has quit [Ping timeout: 244 seconds]
govg has joined #ruby
tenderlove has joined #ruby
tenderlove has joined #ruby
tenderlove has quit [Changing host]
tpendragon has joined #ruby
alfiemax has quit [Ping timeout: 250 seconds]
<sapphire__> see, you've solved an issue, but mine fsr is still in limbo :|
einarj has joined #ruby
DoubleMalt has joined #ruby
<[k-> someone with the right knowledge will come by eventually
<sapphire__> but i have 4hrs max :/
aguynamedben has joined #ruby
jazzonmym11nd has joined #ruby
SeepingN has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
einarj has quit [Remote host closed the connection]
<baweaver_away> More likely they'll (rightly) tell you it's a bad idea like apeiros earlier.
baweaver_away is now known as baweaver
<baweaver> hm
craigp has joined #ruby
<sapphire__> i don't find it bad
tenderlove has quit [Ping timeout: 244 seconds]
lightheaded has joined #ruby
<baweaver> Short of writing a preprocessor or hacking the lexer there's not.
jazzonmym1nd has quit [Ping timeout: 250 seconds]
<baweaver> it seems like a whole lot of unnecessary work to be honest. Just learn to use the language as is.
<apeiros> I didn't say it was a bad idea, I only thought it :D
<baweaver> and muttered it to yourself unless I miss my mark
<apeiros> sapphire__: what do you expect this channel to do? provide you with fairies and pixy dust?
RegulationD has joined #ruby
<apeiros> some problems just are harder.
foooobear has quit [Quit: (null)]
<apeiros> and you've got two viable approaches from this channel.
<aegis3121> particularly re-parsing a language.
aufi has joined #ruby
calmchaos has quit [Remote host closed the connection]
<sapphire__> well, this channel is the only one 'cos all alternatives are dead
govg has quit [Ping timeout: 265 seconds]
<[k-> i like the pixie dust part, only that it is spelt pixy :)
<[k-> pixie*
<sapphire__> (or in deep coma)
meisterluk has left #ruby [#ruby]
<apeiros> right, I often get that one wrong. thanks [k-
SeepingN has joined #ruby
polysics has quit [Read error: Connection reset by peer]
<apeiros> sapphire__: that's not really an answer to my question, though. but given that it was mostly rethorical…
<[k-> welcome
polysics has joined #ruby
<sapphire__> about approaches, editing the lexer won't really do, 'cos i'm not familiar with c ;P
<apeiros> sapphire__: you can learn it
<apeiros> "won't do" != "I can't"
<sapphire__> i'm allergic to c-like langs
AndrewIsHere has quit [Remote host closed the connection]
r4z has joined #ruby
<r4z> hello there!
<apeiros> it's also != "I don't want to"
AndrewIsHere has joined #ruby
dhollinger has quit [Ping timeout: 240 seconds]
RegulationD has quit [Ping timeout: 264 seconds]
dhollinger has joined #ruby
bocaneri has quit [Remote host closed the connection]
AndrewIsHere has quit [Remote host closed the connection]
sapphire_ has joined #ruby
<sapphire_> oops
AndrewIsHere has joined #ruby
quazimodo has quit [Ping timeout: 265 seconds]
alfiemax has joined #ruby
stamina has joined #ruby
JesseH has joined #ruby
boontdustie has joined #ruby
sapphire__ has quit [Ping timeout: 264 seconds]
tyang has joined #ruby
tuelz1 has joined #ruby
RegulationD has joined #ruby
pandaant has quit [Remote host closed the connection]
astrobun_ has joined #ruby
astrobun_ has quit [Read error: Connection reset by peer]
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banisterfiend has joined #ruby
raz has joined #ruby
wlanboy has joined #ruby
r4z has quit [Ping timeout: 276 seconds]
calmchaos has joined #ruby
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
teclator has quit [Ping timeout: 265 seconds]
[Butch] has quit [Quit: I'm out . . .]
calmchaos has quit [Ping timeout: 264 seconds]
oncall-pokemon has joined #ruby
pawnbox_ has joined #ruby
rippa has joined #ruby
cdg has quit [Remote host closed the connection]
pawnbox has quit [Read error: Connection reset by peer]
ixti has quit [Ping timeout: 244 seconds]
mjuszczak has joined #ruby
[Butch] has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
pokalyis has joined #ruby
dviola has joined #ruby
Alayde has joined #ruby
FrozenOne has joined #ruby
FrozenOne_ has joined #ruby
FrozenOne has quit [Client Quit]
Snowy has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
dogweather has joined #ruby
AndrewIsHere has quit [Remote host closed the connection]
hotpancakes has quit []
aufi has quit [Ping timeout: 244 seconds]
AndrewIsHere has joined #ruby
<sapphire_> wait a sec, what about meta programming? (pypy approach)
duderonomy has joined #ruby
ixti has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
FrozenOne_ has quit [Quit: Page closed]
gingray has quit [Ping timeout: 276 seconds]
spudowiar has quit [Quit: ...]
yardenbar has joined #ruby
mtkd has quit [Ping timeout: 240 seconds]
colegatron_origi has quit [Ping timeout: 276 seconds]
mtkd has joined #ruby
hipertracker has quit [Quit: hipertracker]
cueball has joined #ruby
rrawlins has joined #ruby
nankyokusei has joined #ruby
forgot has quit [Ping timeout: 244 seconds]
Immune has joined #ruby
cueball is now known as cueball1967
stamina has quit [Ping timeout: 255 seconds]
forgot has joined #ruby
nettoweb has joined #ruby
RegulationD has quit [Remote host closed the connection]
pwnd_nsfw` has quit [Read error: Connection reset by peer]
calmchaos has joined #ruby
tyang has quit [Ping timeout: 250 seconds]
inukshuk has quit [Ping timeout: 255 seconds]
dviola has quit [Quit: WeeChat 1.5]
Sashimi has joined #ruby
RegulationD has joined #ruby
<cueball1967> Is there a known issue w/ passing a block using brace notation to a method with keyword args?
nankyokusei has quit [Ping timeout: 276 seconds]
<aeruder> cueball1967: would be helpful to provide an example
LW___ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<aeruder> although in some cases you will simply have to parenthesis the arguments to get the block to apply to the correct thing
pwnd_nsfw has joined #ruby
calmchaos has quit [Ping timeout: 244 seconds]
ixti has quit [Ping timeout: 244 seconds]
<aeruder> in some cases using do ; end will work better due to "operator" "precedence"
<cueball1967> Yeah, was thinking about putting together an example, won't have time today, but tomorrow I will.
RegulationD has quit [Remote host closed the connection]
<aeruder> http://stackoverflow.com/questions/2122380/using-do-block-vs-brackets actually, the first answer here is a really good example of the effect
RegulationD has joined #ruby
<cueball1967> Parentheses don't help.
elastix has joined #ruby
David27 has quit [Quit: Going offline, see ya! (www.adiirc.com)]
<cueball1967> Same call w/ do/end works fine.
<aeruder> can you paste the line with the opening of the block?
tenderlove has joined #ruby
<cueball1967> Yeah, just a moment...
LastWhisper____ has joined #ruby
finisherr has quit [Quit: finisherr]
johnmilton has quit [Remote host closed the connection]
olistik has quit [Remote host closed the connection]
marxarelli has joined #ruby
govg has joined #ruby
tenderlove has quit [Ping timeout: 244 seconds]
<cueball1967> validate (:abbreviation, value: abbreviation, required: true, type: String, message: 'length must be > 1') {|abbreviation| abbreviation.length > 1}
<aeruder> dumb question, what happens if you remove the space before the (
<cueball1967> syntax error, unexpected '{', expecting keyword_end (SyntaxError)
conta has quit [Ping timeout: 240 seconds]
<aeruder> prepare to be horrified
<aeruder> lol
calmchaos has joined #ruby
<cueball1967> DOH!!
<cueball1967> That's it.
<aeruder> this is a unfortunate side-effect of ruby's overly easy-going parser
<cueball1967> You would think I would know better w/ 10 years of experience of the language. I'm an idiot.
<aeruder> i think what happens is the () isn't actually arguments, it is a parenthesized expression
<aeruder> and the block was applying to it
<cueball1967> Right, separate expressiom.
<aeruder> well, i have a coworker (i write C for a day-job) who puts parens after his functions
<aeruder> like printf ("");
<cueball1967> s/expressiom/expression/
ixti has joined #ruby
<aeruder> and we all give him a hard time about how non-idiomatic that is, but then after writing some ruby for a while, it is slowly fixing him, lol
<aeruder> kind of made my day when it turns into syntax errors, lmao
<cueball1967> LOL
<cueball1967> Indeed
<cueball1967> OK, now I feel bad for even bringing this up. Maybe I can make up for it by contributing my own responses. Will try to join tomorrow.
<Mon_Ouie> I think the GNU C style is to have spaces before arguments
calmchaos has quit [Ping timeout: 255 seconds]
<cueball1967> I haven't studied GNU's C style guide, never did that in my C days.
lifted has quit [Remote host closed the connection]
<aeruder> cueball1967: i wouldn't feel bad, it took me a really long time to figure out the first time which is why i remembered it
_joes_ has joined #ruby
<cueball1967> Which ended 20 years ago. LOL
shinnya has joined #ruby
<aeruder> Mon_Ouie: so it does, good bullet point of why it is bad :-D
hahuang61 has joined #ruby
<aeruder> i kid, i kid, but imo most of the GNU C style (with regards to paren placement and brace placement and tabs vs spaces) is pretty much the things we use in our style guide at work of things "not to do" lol
bkxd has joined #ruby
<aeruder> who comes up with 8 spaces = tab, 4 space indent, braces get half-indented
sapphire_ has quit [Ping timeout: 264 seconds]
Sashimi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Papierkorb> still better than indenting with 3 spaces
johnmilton has joined #ruby
<aeruder> lol
hahuang61 has quit [Ping timeout: 250 seconds]
<cueball1967> OK, manana!
<aeruder> cya
cueball1967 has quit []
conta has joined #ruby
bkxd has quit [Ping timeout: 276 seconds]
elementaru has quit [Remote host closed the connection]
Sashimi has joined #ruby
moresilenter has quit [Ping timeout: 264 seconds]
nclbr has joined #ruby
nclbr has left #ruby [#ruby]
chouhoul_ has joined #ruby
Rodya_ has joined #ruby
chouhou__ has joined #ruby
ixti has quit [Ping timeout: 260 seconds]
chouhoulis has quit [Ping timeout: 240 seconds]
AnarchyAo has joined #ruby
chouhoul_ has quit [Ping timeout: 260 seconds]
vuoto has joined #ruby
craigp has quit [Quit: WeeChat 1.5]
artgoeshere has left #ruby ["Textual IRC Client: www.textualapp.com"]
finisherr has joined #ruby
Dimik has joined #ruby
Rodya_ has quit [Ping timeout: 250 seconds]
tuelz1 has quit [Ping timeout: 252 seconds]
polysics_ has joined #ruby
replay has quit [Ping timeout: 264 seconds]
elifoster has joined #ruby
Ishido has quit [Ping timeout: 255 seconds]
polysics has quit [Ping timeout: 250 seconds]
flashpoint9 has joined #ruby
Ishido has joined #ruby
alaibe has joined #ruby
tuelz1 has joined #ruby
anisha has joined #ruby
shmuli has joined #ruby
shmuli has quit [Read error: Connection reset by peer]
<ruby_> hi all: i've noticed that a lot of blogs recommend putting custom error classes in /lib, is there any drawback of putting them in an intializer?
jhack has quit [Quit: jhack]
shmuli has joined #ruby
<apeiros> ruby_: are you talking about rails?
<ruby_> who shoot sorry, wrong channel
jhack has joined #ruby
einarj has joined #ruby
Miron has quit [Ping timeout: 265 seconds]
beneggett has joined #ruby
shmuli has quit [Ping timeout: 244 seconds]
stamina has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
Vingador has quit [Remote host closed the connection]
dviola has joined #ruby
mikecmpbll has joined #ruby
spider-mario has joined #ruby
Moeh has joined #ruby
_joes_ has quit [Quit: _joes_]
dn` has left #ruby [#ruby]
rrawlins has quit []
jhack has quit [Quit: jhack]
jhack has joined #ruby
jhack has quit [Client Quit]
spudowiar has joined #ruby
moneylotion has quit [Quit: ZNC 1.6.3 - http://znc.in]
tyang has joined #ruby
einarj has quit [Remote host closed the connection]
moneylotion has joined #ruby
moparisthebest has quit [Ping timeout: 265 seconds]
tyang has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
chouhoulis has joined #ruby
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
tyang has joined #ruby
<chrisdav6> Quick question, with the latest release of Ruby, is the map, min and max methods available without requiring the enumerable module?
chouhou__ has quit [Ping timeout: 264 seconds]
<tubbo> chrisdav6: assuming you mean 2.3.1?
<chrisdav6> yes
jenrzzz has quit [Ping timeout: 264 seconds]
<tubbo> you don't have to `require 'enumerable'` anymore, but you do have to `include Enumerable` in your actual class definition
<chrisdav6> Weird, i just ran this without requiring the module and it worked
<chrisdav6> my_array = [1,2,3,4,5].max; puts my_array
Sashimi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<chrisdav6> @tubbo thank you
<chrisdav6> so it seems to work in the global scope, but your saying if i create a class and try to use it in the class scope it will not be avail?
<tubbo> chrisdav6: that's because Array includes Enumerable
<chrisdav6> ahhh
<tubbo> [] is just Array.new
polysics_ has quit [Remote host closed the connection]
cdg has joined #ruby
ixti has joined #ruby
hahuang61 has joined #ruby
wheely has quit [Read error: Connection reset by peer]
mjuszczak has quit []
jenrzzz has joined #ruby
claudiuinberlin has joined #ruby
hahuang62 has joined #ruby
<chrisdav6> One last question, would you use enumerable methods with any other object other than an array?
hahuang61 has quit [Ping timeout: 250 seconds]
blackgoat has joined #ruby
blackgoat has quit [Client Quit]
ta_ has joined #ruby
futilegames has joined #ruby
LastWhisper____ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Papierkorb> chrisdav6: Yess of course
<chrisdav6> Thanks guys
<eam> IO is Enumerable, for example
RadPlatypus has joined #ruby
<chrisdav6> Time to quit guys, have a great night!
chrisdav6 has quit [Quit: Ex-Chat]
last_staff has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
blackgoat has joined #ruby
skweek has joined #ruby
replay has joined #ruby
vuoto has quit [Remote host closed the connection]
skweek has quit [Max SendQ exceeded]
skweek has joined #ruby
aidalgol has quit [Quit: Using Circe, the loveliest of all IRC clients]
skweek has quit [Max SendQ exceeded]
skweek has joined #ruby
Pumukel has joined #ruby
flying has joined #ruby
tdy has quit [Ping timeout: 250 seconds]
pawnbox_ has quit [Remote host closed the connection]
tyang has quit [Ping timeout: 250 seconds]
Rodya_ has joined #ruby
pawnbox has joined #ruby
skweek has quit [Ping timeout: 252 seconds]
ur5us has joined #ruby
Rodya_ has quit [Ping timeout: 250 seconds]
Snowy has quit [Remote host closed the connection]
shmuli has joined #ruby
_djbkd has quit [Remote host closed the connection]
sneakers has joined #ruby
capitainIsh has joined #ruby
_djbkd has joined #ruby
last_staff has quit [Read error: Connection reset by peer]
ur5us has quit [Remote host closed the connection]
last_staff has joined #ruby
shmuli has quit [Ping timeout: 250 seconds]
haxrbyte has joined #ruby
TreyG has joined #ruby
haxrbyte has quit [Client Quit]
Jayson_Virissimo has joined #ruby
TreyG has left #ruby [#ruby]
<postmodern> what is the defacto gem for file-based caches?
deadprez has quit [Remote host closed the connection]
anisha has quit [Quit: This computer has gone to sleep]
<xpt> hey folks. I want to get sum of numbers range a to b. my attempt was a=1;b=3; puts (b>a)?(a..b).reduce(:+):(b..a).reduce(:+); but it's not working. How can I use trenary operator for this and/or why does my code is not working ?
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Snowy has joined #ruby
nando293921 has joined #ruby
colegatron_origi has joined #ruby
e4xit_ has joined #ruby
_djbkd has quit [Remote host closed the connection]
nankyokusei has joined #ruby
<Mon_Ouie> what do you mean "it's not working"? your code prints 6, 1 + 2 + 3 = 6
e4xit has quit [Ping timeout: 265 seconds]
e4xit_ is now known as e4xit
e4xit has quit [Remote host closed the connection]
_djbkd has joined #ruby
<Mon_Ouie> (Also if there's any chance of you running your code on larger ranges, just use n*(n+1)/2
mtkd has quit [Ping timeout: 250 seconds]
rodfersou is now known as rodfersou|afk
ramfjord_ has joined #ruby
mtkd has joined #ruby
futilegames has quit [Quit: futilegames]
claudiuinberlin has quit []
_djbkd has quit [Read error: Connection reset by peer]
djbkd_ has joined #ruby
<xpt> oh,sorry, I was getting this error at some point: syntax error, unexpected ':', expecting end-of-input
<xpt> but it's working now
ramfjord has quit [Ping timeout: 252 seconds]
djbkd_ has quit [Read error: Connection reset by peer]
nankyokusei has quit [Ping timeout: 265 seconds]
<xpt> probably time for me to go to sleep :|
tfitts has quit [Quit: Connection closed for inactivity]
tdy has joined #ruby
_djbkd has joined #ruby
JeanCarloMachado has quit [Ping timeout: 276 seconds]
JeanCarl1Machado has quit [Ping timeout: 265 seconds]
DoubleMalt has quit [Ping timeout: 260 seconds]
pwnd_nsfw` has joined #ruby
jenrzzz has joined #ruby
gilfoyle has joined #ruby
pwnd_nsfw has quit [Ping timeout: 250 seconds]
bkxd has joined #ruby
<gilfoyle> is it possible to sleep in an rspec test?
<gilfoyle> I have a test that is running a bit too early and I need to ensure it only executes a few seconds later
hahuang61 has joined #ruby
<baweaver> same way you'd sleep in plain old ruby
<baweaver> though that's bad design if you need that
ur5us has joined #ruby
<baweaver> it means that your test isn't running properly in isolation
<gilfoyle> well, this is actually a serverspec system test
<baweaver> Ah
<baweaver> then yeah, just sleep(n) I think
<gilfoyle> it starts an http server which on occasion takes several times longer
hahuang62 has quit [Ping timeout: 276 seconds]
<baweaver> you might also consider `sleep until server_up?`
<baweaver> or something to that tune
<gilfoyle> so, would you say, create it's own describe block, or just throw the sleep in before?
<gilfoyle> it's a good idea :)
<baweaver> whatever needs the http server to be up, create a sleeper method for it like that above.
tenderlove has joined #ruby
<gilfoyle> thanks!
<baweaver> though you could always: def when_server_up; sleep until server_up?; yield end
<gilfoyle> cool :)
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #ruby
tenderlove has quit [Changing host]
tenderlove has joined #ruby
bkxd has quit [Ping timeout: 276 seconds]
ldnunes has quit [Quit: Leaving]
yardenbar has quit [Ping timeout: 255 seconds]
polysics has joined #ruby
tenderlove has quit [Ping timeout: 252 seconds]
sepp2k has quit [Quit: Leaving.]
polysics has quit [Ping timeout: 255 seconds]
tdy has quit [Ping timeout: 265 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
lightheaded has quit [Remote host closed the connection]
lightheaded has joined #ruby
ngscheurich has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
ngscheur1 has quit [Ping timeout: 255 seconds]
stamina has quit [Ping timeout: 265 seconds]
ramortegui has quit [Quit: Ex-Chat]
robnester has quit [Quit: I wonder what this button does...?]
lightheaded has quit [Ping timeout: 255 seconds]
ngscheurich has quit [Ping timeout: 244 seconds]
RadPlatypus is now known as Madplatypus
boontdustie has quit [Quit: Textual IRC Client: www.textualapp.com]
Rodya_ has joined #ruby
b3atr has joined #ruby
Cohedrin has joined #ruby
<b3atr> how would you convert this to integer? http://vpaste.net/ac40B
deadprez has joined #ruby
nadir has joined #ruby
Rodya_ has quit [Ping timeout: 250 seconds]
<aeruder> :)
<b3atr> aeruder: wtf?
<aeruder> b3atr: farm it out to people working for nothing
<aeruder> i think if you have a very defined font it is "easy" (although more complicated than will be solved in an irc channel), might be able to tweak some sort of ocr into doing it otherwise
flashpoint9 has quit [Remote host closed the connection]
Sashimi has joined #ruby
<b3atr> i currently thinking about reading columns
robnester has joined #ruby
thomas has joined #ruby
r4z has joined #ruby
<r4z> hello
<r4z> can anyone check this pastebin and help me to figure out how to solve that error? http://pastebin.com/mTG5V8ng
<ruby[bot]> r4z: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/08cd13caa196ed8a0fb5738465b3bac8
<ruby[bot]> r4z: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
Jayson_Virissimo has quit []
tdy has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
moparisthebest_ has joined #ruby
JoshS has quit [Ping timeout: 244 seconds]
deadprez has quit [Remote host closed the connection]
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
banisterfiend has joined #ruby
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #ruby
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Moeh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
_djbkd has quit [Ping timeout: 250 seconds]
moparisthebest_ is now known as moparisthebest
Burgestrand has joined #ruby
banisterfiend has quit [Quit: Textual IRC Client: www.textualapp.com]
elvis4526 has joined #ruby
<elvis4526> Is there any good (free) alternative to RubyMine ?
BTRE has quit [Ping timeout: 244 seconds]
_djbkd has joined #ruby
banisterfiend has joined #ruby
zipace has quit [Ping timeout: 240 seconds]
tmtwd has joined #ruby
<baweaver> Not really.
<baweaver> Most of us just use one of Sublime, Emacs, Vim, Brackets, or Atom
<aegis3121> With enough plugins, you can (kind of) transform sublime into that
tenderlove has joined #ruby
spudowiar has quit [Quit: ZzzZZZzzzZzzzZZzZZzZzzzzzZZzzzzzzzzZZZZz]
[Butch] has quit [Quit: I'm out . . .]
zeroDi has joined #ruby
pochoa has joined #ruby
ngscheurich has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
flying has quit [Remote host closed the connection]
elvis4526 has quit [Remote host closed the connection]
<ytti> baweaver, i heard some good stuff about visual studio code too
jenrzzz has joined #ruby
elvis4526 has joined #ruby
<ytti> baweaver, essentially largely in same boat as atom
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<baweaver> I tend not to test new editors very frequently
<bougyman> I jump on emacs every now and then to make sure i'm not etarded
<bougyman> but mostly stay in vim
tdy has quit [Ping timeout: 260 seconds]
<baweaver> too much upstart time. I tend to customize a lot
elvis4526 has quit [Remote host closed the connection]
johnmilton has quit [Ping timeout: 240 seconds]
minotep has quit [Ping timeout: 250 seconds]
flying has joined #ruby
flashpoint9 has joined #ruby
magicien has quit [Ping timeout: 260 seconds]
kladden has quit [Read error: Connection reset by peer]
magicien has joined #ruby
jphase has quit [Ping timeout: 244 seconds]
elifoster has quit [Quit: out]
<zacts> hello rubyists
kladden has joined #ruby
Sashimi has quit [Quit: Textual IRC Client: www.textualapp.com]
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
elvis4526 has joined #ruby
aegis3121 has quit [Ping timeout: 260 seconds]
<elvis4526> Yeah right now I'm using emacs + robe, but i really liked the out of the box experience from RubyMine
polysics has joined #ruby
bkxd has joined #ruby
polysics has quit [Ping timeout: 244 seconds]
benlieb has joined #ruby
johnmilton has joined #ruby
astrobun_ has joined #ruby
astrobun_ has quit [Remote host closed the connection]
astrobun_ has joined #ruby
flying has quit []
<baweaver> paid software tends to be like that
bkxd has quit [Ping timeout: 255 seconds]
wldcordeiro has quit [Ping timeout: 244 seconds]
kanyewezt has quit [Quit: Leaving]
BTRE has joined #ruby
careta has joined #ruby
conta has quit [Ping timeout: 250 seconds]
Dispatch has joined #ruby
r4z has quit [Quit: Leaving]
Rodya_ has joined #ruby
firstdayonthejob has quit [Ping timeout: 260 seconds]
giz|work has joined #ruby
tvon has joined #ruby
Rodya_ has quit [Ping timeout: 250 seconds]
AndrewIsHere has quit [Remote host closed the connection]
solocshaw has joined #ruby
jphase has joined #ruby
b3atr has left #ruby ["WeeChat 1.5"]
JeanCarloMachado has joined #ruby
wldcordeiro has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
benlieb has quit [Quit: benlieb]
flashpoint9 has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
JeanCarl1Machado has joined #ruby
flashpoint9 has joined #ruby
<pokalyis> Is it somehow possible to do this; '#!/usr/bin/env bash --login && ruby', that is; load the bashrc and the following code as ruby
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
beneggett has quit [Quit: Textual IRC Client: www.textualapp.com]
tdy has joined #ruby
solocshaw has quit [Remote host closed the connection]
<jazzonmym11nd> pokalyis: --login & -c?
<jazzonmym11nd> didnt try it, so no idea.
flashpoint9 has quit [Ping timeout: 250 seconds]
ngscheurich has quit [Ping timeout: 265 seconds]
spider-mario has quit [Remote host closed the connection]
nando293921 has quit [Ping timeout: 255 seconds]
nando294021 has joined #ruby
chouhoulis has quit [Ping timeout: 264 seconds]
<gilfoyle> is it possible to define a describe ... block, that repeats for X amount of times until it succeeds and if it exceeds the X it declares the test failed?
deadprez has joined #ruby
blaxter has joined #ruby
deadprez has quit [Remote host closed the connection]
deadprez has joined #ruby
blaxter has quit [Client Quit]
sneakers has quit [Ping timeout: 255 seconds]
Rodya_ has joined #ruby
nettoweb has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nankyokusei has joined #ruby
rcvalle has quit [Quit: rcvalle]
symm- has quit [Ping timeout: 255 seconds]
coolboy has quit [Ping timeout: 260 seconds]
<jazzonmym11nd> gilfoyle: doesn't make sense to me
jenrzzz has quit [Ping timeout: 250 seconds]
tdy has quit [Ping timeout: 244 seconds]
nankyokusei has quit [Ping timeout: 250 seconds]
<gilfoyle> jazzonmym11nd: yes, if you consider 'unit tests' alone, it does not make sense
<pokalyis> gilfoyle Can't you just implement the algorithm you described?
marr has quit [Ping timeout: 244 seconds]
<gilfoyle> but when you use rspec for system test, asynchronous processes (e.g a port listening, a program running) may take a while depending on external factors, eg. performance/load/startup slowness
<gilfoyle> I guess I could, I'm just not ruby/rspec savyy enough to think of ways to go about it and hence I resorted to irc :)
Snowy has quit [Remote host closed the connection]
<pokalyis> gilfoyle Something like `x.times { y.should.be_a success }; y.should.not_be_a success`
r4z has joined #ruby
<r4z> hello
<r4z> I'm getting the infamous error: "cannot load such file -- rubygems.rb (LoadError)" after trying to run a script
<r4z> Yes, I deleted all the ruby instances and removed rvm
<gilfoyle> pokalyis: thank you
<r4z> and installed a fresh ruby package from apt
<r4z> what else I can try?
skweek has joined #ruby
<gilfoyle> pokalyis: does that mean the rspec will shw all the failures that may ensue during the y.should.be_a success ?
linduxed has quit [Ping timeout: 252 seconds]
shmuli has joined #ruby
<pokalyis> gilfoyle Yes, if they are sync
<jazzonmym11nd> it will fail on the first.
<jazzonmym11nd> it won't continue trying.
<gilfoyle> ok, so that's slightly different :)
<jazzonmym11nd> i think it raises an exception so you might be able to rescue it, not sure.
<gilfoyle> I guess I could implement a method to check for the port to be listening, etc
<baweaver> r4z: Why are you requiring rubygems?
<baweaver> unless you're using an ancient version of Ruby (which is bad)
<jazzonmym11nd> it should just return false if it is installed tho.
<r4z> I'd like to install some gems like schleuder, pgpme, etc...
<jazzonmym11nd> some linux distributions(ubuntu) separate them, so you might need install another package.
<baweaver> or find something else similar to that idea.
<baweaver> r4z: that doesn't answer the question. You don't need to explicitly require it and haven't since 1.8.x
saneax-_-|AFK is now known as saneax
<r4z> well
<jazzonmym11nd> it should not raise a LoadError though, so he likely doesn't have it.
<jazzonmym11nd> what OS are you using?
shazaum_ has joined #ruby
<r4z> Why you say that doesn't answer my question?
<r4z> I need rubygems so I can install some old gems
jenrzzz has joined #ruby
<jazzonmym11nd> rubygems is loaded by default since 1.9, so it's redudant require call, if you have rubygems.
<baweaver> Why are you explicitly requiring it in your file though? That has not been needed for several versions of ruby
Jayson_Virissimo has joined #ruby
linduxed has joined #ruby
<havenwood> r4z: What do you get when you run this from your command line?: command -v ruby
banisterfiend has joined #ruby
<r4z> havenwood
<r4z> r: /usr/bin/ruby
finisherr has quit [Quit: finisherr]
BackEndCoder has quit [Excess Flood]
<havenwood> r4z: And what do you get for?: ruby -v
<r4z> ruby 2.1.5p273 (2014-11-13) [x86_64-linux-gnu]
giz|work has quit [Ping timeout: 265 seconds]
careta has quit [Ping timeout: 265 seconds]
<r4z> which -a ruby also returns just /usr/bin/ruby
<jazzonmym11nd> are you using ubuntu?
elastix has quit [Quit: elastix]
BackEndCoder has joined #ruby
<r4z> nope, debian jessie
<jazzonmym11nd> or any other debian based distro
<r4z> yep, deb
ec0 has joined #ruby
<jazzonmym11nd> doesn't it have a separate package for rubygems
<lupine> also for ruby-dev and bundler
benlieb has joined #ruby
<havenwood> r4z: And what do you get for?: command -v gem
<havenwood> r4z: And for?: gem -v
workmad3 has quit [Ping timeout: 255 seconds]
<r4z> when I run " sudo apt-get install -y rubygems "
<r4z> it returns sudo apt-get install -y rubygems
akkad has quit [Ping timeout: 260 seconds]
<r4z> sorry: Note, selecting 'ruby' instead of 'rubygems'
<r4z> and...
etetz has quit [Remote host closed the connection]
<r4z> gem -v
<r4z> from <internal:gem_prelude>:1:in `<compiled>'
<r4z> <internal:gem_prelude>:1:in `require': cannot load such file -- rubygems.rb (LoadError)
etetz has joined #ruby
karmatr0n has joined #ruby
<jazzonmym11nd> gem is /usr/bin too?
<jazzonmym11nd> it seemed your install is borked somehow
SeepingN has quit [Quit: The system is going down for reboot NOW!]
<r4z> yes
<jazzonmym11nd> it's provided by ruby package
<r4z> gem is in /usr/bin/gem
<jazzonmym11nd> so you should have everything you need
<jazzonmym11nd> maybe try reinstall the ruby package?
<r4z> perhaps yes
<r4z> I reinstalled using apt-get
Davedev28 has joined #ruby
<jazzonmym11nd> does 'gem env' work? i guess not.
<r4z> nope
<r4z> gem env
<r4z> returns:
<r4z> <internal:gem_prelude>:1:in `require': cannot load such file -- rubygems.rb (LoadError)
<r4z> from <internal:gem_prelude>:1:in `<compiled>'
<jazzonmym11nd> don't know how to help further, it seems your install somehow got corrupted.
AnarchyAo has quit [Read error: Connection reset by peer]
<r4z> Don't worry, It helps a lot knowing that the install maybe is corrupted.
etetz has quit [Ping timeout: 276 seconds]
Pumukel has quit [Ping timeout: 265 seconds]
<jazzonmym11nd> personally avoid debian cos it has a strange packaging policy but tbh it seems better nowadays.
codezomb has joined #ruby
<r4z> LoL You don't say
nertzy has quit [Read error: No route to host]
<r4z> last week was the same... spent a lot of time configuring packages
calmchaos has joined #ruby
<r4z> solving dependencies
<r4z> etc
Lucky_ABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
przemoskPL has quit [Read error: No route to host]
solocshaw has joined #ruby
akkad has joined #ruby
flashpoint9 has joined #ruby
alaibe has quit [Ping timeout: 264 seconds]
nertzy has joined #ruby
danostrowski has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
calmchaos has quit [Ping timeout: 252 seconds]
Azure|dc is now known as Azure
danostrowski has joined #ruby
solocshaw has quit [Remote host closed the connection]
solocshaw has joined #ruby
ruby-lang542 has joined #ruby
rubytoday has joined #ruby
enterprisey has joined #ruby
ramfjord_ has quit [Ping timeout: 244 seconds]
benlieb has quit [Quit: benlieb]
ruby-lang542 has quit [Ping timeout: 264 seconds]
nertzy has quit [Ping timeout: 260 seconds]
Synthead has quit [Remote host closed the connection]
Lucky_ABA has joined #ruby
kaiks has quit [Read error: Connection reset by peer]
quazimodo has joined #ruby
last_staff has quit [Quit: last_staff]
al2o3-cr has joined #ruby
Lucky_ABA has quit [Client Quit]
tmtwd has quit [Ping timeout: 252 seconds]
neanderslob has quit [Ping timeout: 244 seconds]
JeanCarloMachado has quit [Ping timeout: 240 seconds]
neanderslob has joined #ruby
JeanCarl1Machado has quit [Ping timeout: 244 seconds]
marxarelli has quit [Remote host closed the connection]
nertzy has joined #ruby
nertzy has quit [Client Quit]
tmtwd has joined #ruby
daffy_duck has joined #ruby
finisherr has joined #ruby
danman has joined #ruby
johnmilton has quit [Ping timeout: 276 seconds]
nertzy has joined #ruby
danman has quit [Client Quit]
ramfjord has joined #ruby
NetSage has joined #ruby
rubytoday has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
Jayson_Virissimo has quit []
andol_ has joined #ruby