jhass changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.9: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || logs @ http://irclog.whitequark.org/ruby/
<shevy> ah
<shevy> now it is simpler
<shevy> karapetyan try: change .next! to .next and try again
naf has quit [Ping timeout: 272 seconds]
jenrzzz_ has joined #ruby
jmignault has quit [Ping timeout: 258 seconds]
naf has joined #ruby
<karapetyan> shevy: yeah, it works for simplified example, but don't works for first one )
kfrer has quit [Quit: kfrer]
RegulationD has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
<karapetyan> shevy: thanks!
<havenwood> >> Base64.singleton_methods # tossup
<ruby[bot]> havenwood: # => uninitialized constant Base64 (NameError) ...check link for more (https://eval.in/598111)
<shevy> \o/
tossup has quit [Ping timeout: 244 seconds]
<havenwood> tossup: in Pry (a popular Ruby REPL gem): ls Base64
ponga has quit []
<havenwood> tobiasvl: With classes instead of modules you may be more interested in: public_methods(false)
<havenwood> tobiasvl: sorry about the mistell, tossup led mid-<tab>
jackjackdripper1 has quit [Quit: Leaving.]
<havenwood> left*
<havenwood> >> methods.grep /methods/
<ruby[bot]> havenwood: # => [:private_methods, :methods, :protected_methods, :public_methods, :singleton_methods] (https://eval.in/598112)
pawnbox has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
jhack has joined #ruby
swills has joined #ruby
pawnbox has quit [Ping timeout: 260 seconds]
hahuang61 has joined #ruby
jhack has quit [Quit: jhack]
armatechnicos_ has joined #ruby
ullu_ has quit [Ping timeout: 260 seconds]
kfrer has joined #ruby
skweek has quit [Ping timeout: 244 seconds]
jhack has joined #ruby
toretore has quit [Ping timeout: 276 seconds]
hahuang61 has quit [Ping timeout: 272 seconds]
armatechnicos_ has quit [Quit: Leaving]
cdg has quit [Remote host closed the connection]
jgt has quit [Ping timeout: 244 seconds]
Rodya_ has quit [Remote host closed the connection]
naf has quit [Ping timeout: 276 seconds]
naf_ has joined #ruby
armatechnicos has joined #ruby
Guest43_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
solocshaw has quit [Quit: solocshaw]
macsteps has quit [Remote host closed the connection]
<karapetyan> shevy: thanks again, now it works https://gist.github.com/karapetyan/af81d29ea1ceaf1d787765ba3330a07b
speakingcode has joined #ruby
jhack has quit [Quit: jhack]
karapetyan has quit [Remote host closed the connection]
armatechnicos has quit [Remote host closed the connection]
Rodya_ has joined #ruby
destructure has quit [Changing host]
destructure has joined #ruby
replay has quit []
GodFather has joined #ruby
armatechnicos has joined #ruby
djbkd has quit [Remote host closed the connection]
centrx has joined #ruby
naf has joined #ruby
djbkd has joined #ruby
jhack has joined #ruby
ReK2GnULinuX has joined #ruby
naf_ has quit [Ping timeout: 246 seconds]
karapetyan has joined #ruby
Rothschild_666 has joined #ruby
ReK2 has quit [Ping timeout: 244 seconds]
mattwashere has joined #ruby
korzybski has joined #ruby
jottr has quit [Ping timeout: 258 seconds]
Rothschild_666 has left #ruby [#ruby]
djbkd has quit [Ping timeout: 260 seconds]
centrx has quit [Ping timeout: 260 seconds]
marr has quit [Ping timeout: 244 seconds]
wnd has quit [Ping timeout: 272 seconds]
naf_ has joined #ruby
wnd has joined #ruby
mistermocha has quit [Remote host closed the connection]
mistermocha has joined #ruby
naf has quit [Ping timeout: 260 seconds]
nertzy has joined #ruby
jenrzzz_ has quit [Ping timeout: 260 seconds]
mattwashere has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dminuoso has joined #ruby
mistermocha has quit [Ping timeout: 244 seconds]
blackmes1 has quit [Ping timeout: 258 seconds]
ta__ has joined #ruby
ta_ has quit [Ping timeout: 258 seconds]
ullu_ has joined #ruby
naf_ has quit [Remote host closed the connection]
dminuoso has quit [Ping timeout: 250 seconds]
Xeago_ has quit [Remote host closed the connection]
armatechnicos has quit [Read error: Connection reset by peer]
LoneHerm_ has joined #ruby
whathapp_ has quit [Quit: Leaving...]
karapetyan has quit [Remote host closed the connection]
gizmore has joined #ruby
rainmanjam has quit [Read error: Connection reset by peer]
giz|work|2 has quit [Ping timeout: 244 seconds]
amclain has quit [Quit: Leaving]
zeroDi has quit [Quit: WeeChat 1.5]
dhruvasagar has joined #ruby
slackbotgz has joined #ruby
jenrzzz has joined #ruby
chouhoul_ has joined #ruby
yude has quit [Read error: Connection timed out]
jhack has quit [Quit: jhack]
Lucky_ABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Oclair has joined #ruby
dhruvasagar has quit [Ping timeout: 276 seconds]
yude has joined #ruby
yude has quit [Max SendQ exceeded]
nadir has quit [Quit: Connection closed for inactivity]
centrx has joined #ruby
chouhoul_ has quit [Ping timeout: 244 seconds]
charliesome has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
arthurl has joined #ruby
centrx has quit []
ekinmur has joined #ruby
ta_ has joined #ruby
Moosashi has quit [Quit: Moosashi]
Danny__ has joined #ruby
jhack has joined #ruby
chouhoulis has joined #ruby
AndrewIsHere has joined #ruby
ta__ has quit [Ping timeout: 276 seconds]
tubuliferous has joined #ruby
arthurl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tubuliferous has quit [Read error: Connection reset by peer]
chouhoulis has quit [Ping timeout: 252 seconds]
yqt has quit [Ping timeout: 260 seconds]
arthurl has joined #ruby
skweek has joined #ruby
AndrewIsHere has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 252 seconds]
AndrewIsHere has joined #ruby
kareeoleez has joined #ruby
CloCkWeRX has joined #ruby
AndrewIs_ has joined #ruby
speakingcode has quit [Ping timeout: 260 seconds]
AndrewIsHere has quit [Read error: Connection reset by peer]
kareeoleez has quit [Ping timeout: 244 seconds]
slackbotgz has quit [Remote host closed the connection]
macsteps has joined #ruby
pawnbox has joined #ruby
Moosashi has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
davedev24 has quit []
nettoweb has joined #ruby
pawnbox has quit [Ping timeout: 246 seconds]
nb_bez___ has quit [Quit: Connection closed for inactivity]
nankyokusei has joined #ruby
blackmes1 has joined #ruby
Xeago_ has joined #ruby
jaguarmagenta has joined #ruby
nadir has joined #ruby
macsteps has quit [Remote host closed the connection]
Xeago_ has quit [Remote host closed the connection]
dminuoso has joined #ruby
nankyokusei has quit [Ping timeout: 252 seconds]
Xeago_ has joined #ruby
jaguarmagenta has quit [Ping timeout: 244 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
blackmes1 has quit [Ping timeout: 250 seconds]
AndrewIsHere has joined #ruby
Fuzai has joined #ruby
ullu_ has quit [Ping timeout: 264 seconds]
<Fuzai> Is Capistrano still the way to go when doing simple deployments of Rails applications?
`tim` has joined #ruby
AndrewIs_ has quit [Ping timeout: 250 seconds]
dminuoso has quit [Ping timeout: 244 seconds]
chipotle has quit [Quit: cheerio]
karapetyan has joined #ruby
Es0teric has joined #ruby
greister has quit [Quit: WeeChat 1.3]
greister has joined #ruby
greister has quit [Client Quit]
greister has joined #ruby
leea has quit [Ping timeout: 240 seconds]
ReK2 has joined #ruby
ReK2 has quit [Changing host]
ReK2 has joined #ruby
ReK2GnULinuX has quit [Ping timeout: 260 seconds]
nertzy has quit [Ping timeout: 264 seconds]
Danny__ has quit []
tristanp_ has quit [Ping timeout: 244 seconds]
<smathy> Fuzai, there are other options but yes, cap is still a contender.
arthurl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mistermocha has joined #ruby
c355e3b has quit [Quit: Connection closed for inactivity]
hahuang61 has joined #ruby
Xeago_ has quit [Remote host closed the connection]
ramfjord_ has quit [Ping timeout: 258 seconds]
gizmore has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
fclausen has quit [Ping timeout: 240 seconds]
LoneHerm_ has joined #ruby
<havenwood> Fuzai: Mina is another option: http://nadarei.co/mina/
<Fuzai> havenwood: thank you :)
hahuang61 has quit [Ping timeout: 250 seconds]
greister has quit [Quit: WeeChat 1.3]
dhruvasagar has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
GodFather has quit [Ping timeout: 240 seconds]
prefix has joined #ruby
LoneHerm_ has quit [Ping timeout: 258 seconds]
tmtwd has joined #ruby
elifoster has joined #ruby
mistermocha has quit [Remote host closed the connection]
mistermocha has joined #ruby
Moosashi has quit [Quit: Moosashi]
pawnbox has joined #ruby
solocshaw has joined #ruby
mistermo_ has joined #ruby
mistermocha has quit [Read error: Connection reset by peer]
ramfjord has joined #ruby
scottj has joined #ruby
pawnbox has quit [Ping timeout: 250 seconds]
pilne has quit [Quit: Quitting!]
solocshaw has quit [Read error: Connection reset by peer]
solocshaw has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
mistermo_ has quit [Remote host closed the connection]
bmurt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mistermocha has joined #ruby
Moosashi has joined #ruby
mistermocha has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 260 seconds]
mistermocha has joined #ruby
phrozen77 has quit [Ping timeout: 276 seconds]
chipotle has joined #ruby
greister has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
greister has quit [Client Quit]
greister has joined #ruby
greister has quit [Client Quit]
mistermocha has quit [Remote host closed the connection]
mistermocha has joined #ruby
greister has joined #ruby
AndrewIsHere has quit [Remote host closed the connection]
greister has quit [Client Quit]
AndrewIsHere has joined #ruby
mistermocha has quit [Remote host closed the connection]
Xeago_ has joined #ruby
mistermocha has joined #ruby
nertzy has joined #ruby
mistermocha has quit [Read error: Connection reset by peer]
mistermocha has joined #ruby
AndrewIsHere has quit [Ping timeout: 250 seconds]
phrozen77 has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
mistermo_ has joined #ruby
blackmes1 has joined #ruby
mistermo_ has quit [Remote host closed the connection]
Xeago_ has quit [Remote host closed the connection]
jenrzzz has joined #ruby
mistermocha has quit [Ping timeout: 250 seconds]
Moosashi has quit [Quit: Moosashi]
mistermocha has joined #ruby
mistermocha has quit [Remote host closed the connection]
Xeago_ has joined #ruby
mistermocha has joined #ruby
dminuoso has joined #ruby
blackmes1 has quit [Ping timeout: 244 seconds]
matp has quit [Remote host closed the connection]
mistermocha has quit [Remote host closed the connection]
Moosashi has joined #ruby
matp has joined #ruby
mistermocha has joined #ruby
mistermocha has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
jhack has quit [Quit: jhack]
mistermocha has joined #ruby
mistermocha has quit [Remote host closed the connection]
giz|work|2 has joined #ruby
freerobby has quit [Quit: Leaving.]
dminuoso has quit [Ping timeout: 260 seconds]
smathy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mistermocha has joined #ruby
enterprisey has joined #ruby
arescorpio has quit [Quit: Leaving.]
mistermocha has quit [Remote host closed the connection]
phrozen77 has quit [Quit: Computer has gone to sleep.]
mistermocha has joined #ruby
RegulationD has joined #ruby
mistermocha has quit [Ping timeout: 252 seconds]
cb_ has joined #ruby
dopamean_ has joined #ruby
braincras has quit [Quit: bye bye]
ftj has joined #ruby
ElFerna has joined #ruby
elifoster has quit [Quit: os upgrade]
Es0teric has quit [Quit: Computer has gone to sleep.]
RegulationD has quit [Ping timeout: 244 seconds]
nando293921 has quit [Ping timeout: 252 seconds]
arthurl has joined #ruby
Es0teric has joined #ruby
skweek has quit [Ping timeout: 276 seconds]
Xeago_ has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
Emmanuel_Chanel has quit [Ping timeout: 246 seconds]
nertzy has quit [Ping timeout: 272 seconds]
evansbee has quit [Quit: leaving]
Ropeney has joined #ruby
AndrewIsHere has joined #ruby
tristanp has joined #ruby
AndrewIsHere has quit [Remote host closed the connection]
Moosashi has quit [Quit: Moosashi]
AndrewIsHere has joined #ruby
solocshaw has quit [Quit: solocshaw]
AndrewIsHere has quit [Read error: Connection reset by peer]
solocshaw has joined #ruby
AndrewIsHere has joined #ruby
evansbee has joined #ruby
AndrewIsHere has quit [Remote host closed the connection]
segy has quit [Ping timeout: 272 seconds]
solocshaw has quit [Client Quit]
AndrewIsHere has joined #ruby
arthurl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
roamingdog has joined #ruby
sebstrax has quit [Quit: Connection closed for inactivity]
bmurt has joined #ruby
nando293921 has joined #ruby
pawnbox has joined #ruby
AndrewIsHere has quit [Ping timeout: 250 seconds]
gix has quit [Ping timeout: 246 seconds]
fclausen has joined #ruby
ta__ has joined #ruby
bmurt has quit [Client Quit]
k3rn31 has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
ta_ has quit [Ping timeout: 276 seconds]
pawnbox has quit [Ping timeout: 246 seconds]
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
braincras has joined #ruby
gix has joined #ruby
Moosashi has joined #ruby
macsteps has joined #ruby
evansbee has quit [Quit: leaving]
Moosashi has quit [Client Quit]
jenrzzz has quit [Ping timeout: 240 seconds]
Moosashi has joined #ruby
Moosashi has quit [Client Quit]
solocshaw has joined #ruby
macsteps has quit [Remote host closed the connection]
ramfjord has joined #ruby
chipotle has quit [Quit: cheerio]
Coldblackice has joined #ruby
workmad3 has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
Xeago_ has joined #ruby
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ftj has quit [Quit: Textual IRC Client: www.textualapp.com]
nando293921 has quit [Quit: Lost terminal]
Ropeney has quit [Ping timeout: 250 seconds]
bazzy- has quit [Quit: ZNC - http://znc.in]
<shevy> if we could design ruby democratically
<shevy> it would probably end up as a mess
Xeago_ has quit [Remote host closed the connection]
Es0teric has joined #ruby
nando293921 has joined #ruby
Xeago_ has joined #ruby
nando293921 has quit [Client Quit]
nankyokusei has joined #ruby
jaguarmagenta has joined #ruby
dc4 has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
tristanp has quit [Ping timeout: 244 seconds]
ullu_ has joined #ruby
nankyokusei has quit [Ping timeout: 246 seconds]
Xeago_ has quit [Remote host closed the connection]
jaguarmagenta has quit [Ping timeout: 246 seconds]
ta_ has joined #ruby
ta__ has quit [Ping timeout: 246 seconds]
smathy has joined #ruby
dminuoso has joined #ruby
TheWhip has quit [Remote host closed the connection]
Wildfyr has joined #ruby
solocshaw has quit [Ping timeout: 264 seconds]
TheWhip has joined #ruby
ullu_ has quit [Ping timeout: 276 seconds]
Xeago_ has joined #ruby
alfiemax has quit [Ping timeout: 258 seconds]
<roa> ..p
rbennacer has joined #ruby
Hyuk has joined #ruby
dminuoso has quit [Ping timeout: 276 seconds]
<Wildfyr> sup
ramfjord has quit [Ping timeout: 258 seconds]
mattwashere has joined #ruby
segy has joined #ruby
dc4 has quit [Ping timeout: 246 seconds]
Yzguy has joined #ruby
Xeago_ has quit [Remote host closed the connection]
mattwashere has quit [Ping timeout: 250 seconds]
RegulationD has joined #ruby
tummy has joined #ruby
Xeago_ has joined #ruby
smathy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
mistermocha has joined #ruby
Moosashi has joined #ruby
RegulationD has quit [Ping timeout: 252 seconds]
workmad3 has quit [Ping timeout: 246 seconds]
kareeoleez has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
Xeago_ has quit [Remote host closed the connection]
smathy has joined #ruby
roamingdog has quit []
kriskropd has quit [Quit: WeeChat 0.4.2]
neo__ has joined #ruby
mistermocha has quit [Ping timeout: 250 seconds]
kriskropd has joined #ruby
hahuang61 has joined #ruby
AndrewIsHere has joined #ruby
neo_ has quit [Ping timeout: 250 seconds]
chipotle has joined #ruby
tummy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Es0teric has quit [Quit: Computer has gone to sleep.]
Moosashi has quit [Quit: Moosashi]
workmad3 has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
AndrewIsHere has quit [Ping timeout: 250 seconds]
dc4 has joined #ruby
smathy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dc4 has quit [Ping timeout: 240 seconds]
giz|work|2 has quit [Ping timeout: 272 seconds]
craigp_ has quit [Ping timeout: 272 seconds]
pawnbox has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
Yzguy has quit [Quit: Zzz...]
chipotle has quit [Quit: cheerio]
pawnbox has quit [Ping timeout: 264 seconds]
peterhu has quit [Quit: leaving]
peterhu has joined #ruby
agentmeerkat has quit [Ping timeout: 246 seconds]
Rodya_ has quit [Quit: Leaving...]
Devalo has joined #ruby
tristanp has joined #ruby
tummy has joined #ruby
dc4 has joined #ruby
rbennacer has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 244 seconds]
blackmes1 has joined #ruby
agentmeerkat has joined #ruby
Devalo has quit [Remote host closed the connection]
alfiemax has joined #ruby
workmad3 has quit [Ping timeout: 252 seconds]
blackmes1 has quit [Ping timeout: 246 seconds]
Devalo has joined #ruby
Madplatypus has joined #ruby
dminuoso has joined #ruby
TheWhip has quit [Remote host closed the connection]
Devalo has quit [Ping timeout: 244 seconds]
dopamean_ has quit [Ping timeout: 252 seconds]
naftilos76 has joined #ruby
dminuoso has quit [Ping timeout: 250 seconds]
giz|work has joined #ruby
dminuoso has joined #ruby
tmtwd has quit [Ping timeout: 260 seconds]
agentmeerkat has quit [Ping timeout: 272 seconds]
l4v2 has quit [Quit: l4v2]
enterprisey has quit [Quit: Leaving]
RegulationD has joined #ruby
dminuoso has quit [Ping timeout: 244 seconds]
izaac has quit [Read error: Connection reset by peer]
giz|work|2 has joined #ruby
TheWhip has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
sebstrax has joined #ruby
giz|work has quit [Ping timeout: 252 seconds]
sanjayu has joined #ruby
sanjayu has quit [Client Quit]
hutch34 has joined #ruby
TheWhip has quit [Ping timeout: 264 seconds]
hahuang61 has joined #ruby
codecop has joined #ruby
hutch34 has quit [Ping timeout: 250 seconds]
kareeoleez has quit [Remote host closed the connection]
vdamewood has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
yfeldblum has quit [Remote host closed the connection]
sauvin has joined #ruby
mistermocha has joined #ruby
AndrewIsHere has joined #ruby
mistermocha has quit [Remote host closed the connection]
mistermocha has joined #ruby
dminuoso has joined #ruby
arch__ has joined #ruby
TheWhip has joined #ruby
mistermocha has quit [Ping timeout: 250 seconds]
alfiemax has quit [Ping timeout: 272 seconds]
pawnbox has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DoubleMalt has joined #ruby
segy has quit [Quit: ZNC - http://znc.in]
segy has joined #ruby
hahuang61 has joined #ruby
nankyokusei has joined #ruby
k3rn31 has quit [Ping timeout: 276 seconds]
jaguarmagenta has joined #ruby
Seich has quit [Ping timeout: 250 seconds]
raeoks has joined #ruby
charliesome has joined #ruby
blackmes1 has joined #ruby
nankyokusei has quit [Ping timeout: 258 seconds]
jaguarmagenta has quit [Ping timeout: 250 seconds]
cyphase has quit [Ping timeout: 260 seconds]
kareeoleez has joined #ruby
Ishido has joined #ruby
Seich has joined #ruby
blackmes1 has quit [Ping timeout: 260 seconds]
dminuoso has quit [Ping timeout: 252 seconds]
d5sx43 has joined #ruby
d5sx43 has quit [Client Quit]
craigp_ has joined #ruby
ponga has joined #ruby
anisha has joined #ruby
cyphase has joined #ruby
TomyLobo has joined #ruby
ciampix has joined #ruby
blaxter has joined #ruby
ta_ has quit [Remote host closed the connection]
cyphase has quit [Ping timeout: 272 seconds]
RegulationD has joined #ruby
armyriad has joined #ruby
n1x-nz has joined #ruby
alfiemax has joined #ruby
agent_white has joined #ruby
cyphase has joined #ruby
RegulationD has quit [Ping timeout: 260 seconds]
bilal80 has quit [Quit: bilal80]
prefix has quit [Quit: Goodnight]
symm- has joined #ruby
smathy has joined #ruby
bilal80 has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
aryaching has quit [Ping timeout: 240 seconds]
Sucks has joined #ruby
Sucks has quit [Max SendQ exceeded]
Sucks has joined #ruby
Sucks has quit [Max SendQ exceeded]
Sucks has joined #ruby
Sucks has quit [Max SendQ exceeded]
zarubin has joined #ruby
rolfb has joined #ruby
rolfb has quit [Client Quit]
DoubleMalt has quit [Remote host closed the connection]
TomyLobo has quit [Ping timeout: 260 seconds]
yfeldblum has joined #ruby
yfeldblum has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
yfeldblum has joined #ruby
mistermocha has joined #ruby
dhruvasagar has joined #ruby
pawnbox has quit [Remote host closed the connection]
emiltin has joined #ruby
pawnbox has joined #ruby
last_staff has joined #ruby
firstdayonthejob has joined #ruby
ur5us has joined #ruby
dopamean1 has joined #ruby
emiltin has quit [Client Quit]
conta has joined #ruby
emiltin has joined #ruby
emiltin has quit [Client Quit]
Hyuk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Dimik has joined #ruby
giz|work|2 has quit [Ping timeout: 244 seconds]
arooni has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dionysus69 has joined #ruby
firstdayonthejob has quit [Ping timeout: 240 seconds]
sami has joined #ruby
AnoHito has quit [Ping timeout: 258 seconds]
neo__ has quit [Remote host closed the connection]
neo_ has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby
<Wildfyr> Any projects for a begginer?
Hyuk has joined #ruby
neo_ has quit [Ping timeout: 244 seconds]
bazzy has joined #ruby
blaxter has quit [Quit: foo]
AndrewIsHere has quit [Remote host closed the connection]
AndrewIsHere has joined #ruby
emiltin has joined #ruby
hahuang61 has quit [Ping timeout: 272 seconds]
alfiemax has quit [Ping timeout: 246 seconds]
banisterfiend has quit [Quit: Textual IRC Client: www.textualapp.com]
yardenbar has joined #ruby
mistermocha has quit [Ping timeout: 250 seconds]
ta_ has joined #ruby
TomyWork has quit [Quit: Leaving]
TomyWork has joined #ruby
AndrewIsHere has quit [Ping timeout: 250 seconds]
agentmeerkat has joined #ruby
emilkarl has joined #ruby
dminuoso has joined #ruby
agentmeerkat has quit [Ping timeout: 244 seconds]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
Hobogrammer has quit [Quit: WeeChat 0.4.2]
RegulationD has joined #ruby
banisterfiend has joined #ruby
ur5us has quit [Remote host closed the connection]
giz|work|2 has joined #ruby
abonec has joined #ruby
szarubin has joined #ruby
pawnbox has quit [Remote host closed the connection]
RegulationD has quit [Ping timeout: 258 seconds]
mark_66 has joined #ruby
solars has joined #ruby
alfiemax has joined #ruby
smathy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
szarubin has quit [Client Quit]
Edward__ has joined #ruby
<agent_white> Tons!
pawnbox has joined #ruby
Hyuk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
andikr has joined #ruby
Hyuk has joined #ruby
the_drow has joined #ruby
meatchicken has quit [Ping timeout: 240 seconds]
sebstrax has quit [Quit: Connection closed for inactivity]
Hyuk has quit [Max SendQ exceeded]
<Wildfyr> sup
scottj has quit [Quit: leaving]
emilkarl has quit [Quit: Textual IRC Client: www.textualapp.com]
pwnd_nsfw` has joined #ruby
bb010g has quit [Quit: Connection closed for inactivity]
conta1 has joined #ruby
conta has quit [Ping timeout: 244 seconds]
conta1 is now known as conta
jgt has joined #ruby
pwnd_nsfw has quit [Ping timeout: 250 seconds]
AndrewIsHere has joined #ruby
xall has joined #ruby
Azure has quit [Excess Flood]
vdamewood has quit [Quit: Life beckons.]
<Wildfyr> What are you guys doing in ruby>
<Wildfyr> ?
Azure has joined #ruby
antgel has joined #ruby
<tobiasvl> Wildfyr: anything
ramfjord has joined #ruby
rrios has joined #ruby
<Wildfyr> what?
craigp_ has quit [Ping timeout: 264 seconds]
r_rios has quit [Ping timeout: 244 seconds]
symm- has quit [Ping timeout: 260 seconds]
craigp_ has joined #ruby
burgestrand has joined #ruby
ur5us has joined #ruby
rann has joined #ruby
DoubleMalt has joined #ruby
karapetyan has joined #ruby
giz|work|2 has quit [Ping timeout: 244 seconds]
dionysus69 has quit [Ping timeout: 258 seconds]
joonty has joined #ruby
aganov has joined #ruby
tvw has joined #ruby
<ljarvis> everything
jaruga___ has joined #ruby
karapetyan has quit [Ping timeout: 244 seconds]
jaruga___ is now known as jaruga____
multi_io has quit [Ping timeout: 244 seconds]
nankyokusei has joined #ruby
ur5us has quit [Remote host closed the connection]
multi_io has joined #ruby
jaguarmagenta has joined #ruby
fclausen has quit [Ping timeout: 240 seconds]
dionysus69 has joined #ruby
ta__ has joined #ruby
<Bish> how string does the ! in ruby bind?
<Bish> i mean things like
<Bish> >> ![1,2,3].include? 4
<ruby[bot]> Bish: # => true (https://eval.in/598214)
<Bish> always scare me, and i end up adding brackets
blackmes1 has joined #ruby
mikecmpbll has joined #ruby
mikecmpbll has quit [Client Quit]
<Bish> Wildfyr: writing a webapp right now, have written elfparsers / object linkers
<Bish> it's turing complete after all.
<burgestrand> Bish I hope it answers your question :)
<apeiros> Bish: nothing wrong with being explicit
<nofxx> Bish, you'll get notmethod error for #include? otherwise... but makes it more readble
<nofxx> I would parenthesis it
<apeiros> I prefer !ary.include?(x) over !ary.include? x
<tobiasvl> when in doubt, use parens! no reason not to.
<burgestrand> when in doubt, test it ;)
<tobiasvl> well, sure. but if you use parens you don't have to test ;)
<Bish> Burgestrand: not really, if ! is highest, then why doesn't it bind to the array?
nankyokusei has quit [Ping timeout: 252 seconds]
ta_ has quit [Ping timeout: 258 seconds]
<Bish> apeiros: yet would be good to understnad
<tobiasvl> . is highest
<Bish> i think it will always scare me
jaguarmagenta has quit [Ping timeout: 250 seconds]
<burgestrand> Bish true! they should have "." on there
<nofxx> On another subject, any idea why I'm installing a gem, no problems, just checked and it's not yanked, but on servers: "Could not find <gem> in any of the sources" ?
<nofxx> When bundle deploy*
araujo__ has joined #ruby
aufi has joined #ruby
postmodern has joined #ruby
<apeiros> aaahaha, "NOTE: 1.9 has a horrible extension to allow you to define !=, !~, !, and not. A special place in hell is reserved for you if you define any of these."
webus has joined #ruby
araujo__ has quit [Client Quit]
araujo_ has quit [Ping timeout: 240 seconds]
senayar has joined #ruby
<burgestrand> Cool, so you could have (a == b && a != b) # => true!
kedare has joined #ruby
<Bish> is that still true?
codecop has quit [Ping timeout: 276 seconds]
<burgestrand> Haha, yep.
araujo has joined #ruby
araujo has joined #ruby
araujo has quit [Changing host]
<Bish> ohgod
<apeiros> >> a = "hi"; b = "hi"; def a.!=(other); true; end; (a == b && a != b)
<ruby[bot]> apeiros: # => true (https://eval.in/598215)
<apeiros> Bish: ^
<Bish> yeah just testet it in pry
elaptics`away is now known as elaptics
<Bish> my next evil genius goal is, to write a gem everyone uses
<apeiros> of course, (b != a) != (a != b) in this case
<Bish> and to define a!= as false
<Bish> well, there might be a use for it
mikecmpbll has joined #ruby
<apeiros> Burgestrand: IMO both just `rand(2).zero?`
<Bish> whats actually default definition of == and !=
<apeiros> equal?
<burgestrand> apeiros :trollface:
<Bish> object_id == ?
<apeiros> Object#== is an alias of #equal?
<Bish> yeah and what is that, for Object?
<burgestrand> apeiros ENV["USER"] == "apeiros" ? rand(2).zero? ? super
<apeiros> same for eql?, and I think also ===
<Bish> i mean what does get checked internally
<Bish> object_id == object_id ?=
<apeiros> VALUE
<apeiros> i.e. equal? is object identity
<Bish> hm, confuses me
<apeiros> ruby doesn't need to query the object_id
<apeiros> (which is constructed from VALUE anyway)
<Bish> what is VALUE?
<apeiros> the C representation of an object
<apeiros> a 64bit int
<Bish> i see
<Bish> how can i see one of those?
<apeiros> you write a C extension?
<Bish> nope
<Bish> i was wondering if they are visible from ruby-space
<apeiros> as said, object_id is constructed from it
<Bish> besides being .. yeah
<Bish> but object_id != value, right?
<Bish> on bit level
<apeiros> so indirectly through the object_id. other than that - it's an implementation detail and shouldn't even be visible.
<Bish> okay, cool good to know
Dimik has quit [Ping timeout: 264 seconds]
<apeiros> the relation between object_id to VALUE depends on the class. for most, object_id == VALUE << 1
<apeiros> in pry, with pry-doc installed, do `$ Object#object_id`, will tell you more.
RegulationD has joined #ruby
emilkarl has joined #ruby
dhruvasagar has quit [Quit: WeeChat 1.5]
dhruvasagar has joined #ruby
Silthias has joined #ruby
codecop has joined #ruby
<Bish> VALUE << 1 looks collision heavy
<apeiros> errr, it's VALUE >> 1
<apeiros> and no, it can't collide.
nofxx has quit [Ping timeout: 264 seconds]
RegulationD has quit [Ping timeout: 240 seconds]
nofxx has joined #ruby
nofxx has quit [Changing host]
nofxx has joined #ruby
Silthias1 has joined #ruby
marr has joined #ruby
maloik has quit [Remote host closed the connection]
maloik has joined #ruby
mistermocha has joined #ruby
pandaant has joined #ruby
ramfjord has quit [Read error: Connection reset by peer]
ramfjord has joined #ruby
Silthias has quit [Ping timeout: 276 seconds]
cevett has quit [Ping timeout: 250 seconds]
mistermocha has quit [Ping timeout: 246 seconds]
cevett has joined #ruby
ddffg has joined #ruby
ocbtec has joined #ruby
Couch has joined #ruby
tomphp has joined #ruby
korzybski has quit [Quit: korzybski]
f4cl3y has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
marsjaninzmarsa has quit [Quit: ZNC 1.7.x-git-487-cbf5c38 - http://znc.in]
TheWhip has quit [Remote host closed the connection]
marsjaninzmarsa has joined #ruby
pawnbox has quit [Remote host closed the connection]
ocbtec has quit [Quit: leaving]
Emmanuel_Chanel has joined #ruby
craigp_ has quit [Quit: WeeChat 1.5]
craigp has joined #ruby
troulouliou_div2 has joined #ruby
troulouliou_div2 has quit [Remote host closed the connection]
jenrzzz has joined #ruby
TheWhip has joined #ruby
ddffg has quit [Quit: Leaving]
polysics has joined #ruby
agent_white has left #ruby [#ruby]
AndrewIsHere has quit [Remote host closed the connection]
AndrewIsHere has joined #ruby
Silthias1 has quit [Ping timeout: 258 seconds]
pawnbox has joined #ruby
tomphp has quit [Quit: Textual IRC Client: www.textualapp.com]
AndrewIsHere has quit [Ping timeout: 250 seconds]
tomphp has joined #ruby
banisterfiend is now known as banisterfiend`
trampi has quit [Ping timeout: 252 seconds]
duncannz has quit [Remote host closed the connection]
Silthias has joined #ruby
tvw has quit []
pawnbox has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 258 seconds]
trampi has joined #ruby
ocbtec has joined #ruby
ocbtec has quit [Client Quit]
giz|work|2 has joined #ruby
armyriad has quit [Ping timeout: 240 seconds]
Tempesta_ has joined #ruby
ocbtec has joined #ruby
r_rios_ has joined #ruby
gf3_ has joined #ruby
nlsun_ has joined #ruby
agentmeerkat has joined #ruby
pawnbox has joined #ruby
staticfox has quit [Disconnected by services]
staticfox` has joined #ruby
cb- has joined #ruby
jgw_ has joined #ruby
matled- has joined #ruby
^mtkd has joined #ruby
james1 has joined #ruby
staticfox` is now known as staticfox
justinmcp has joined #ruby
lxsameer has joined #ruby
Drakevr has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
matp_ has joined #ruby
ltd_ has joined #ruby
Helheim_ has joined #ruby
cbetta_ has joined #ruby
Lewix_ has joined #ruby
Amnez777- has joined #ruby
sunya7a_ has joined #ruby
syngular1ty has joined #ruby
aufi_ has joined #ruby
the-eat-scout_ has joined #ruby
spastorino_ has joined #ruby
pragmati- has joined #ruby
conta has quit [Ping timeout: 240 seconds]
edulix_ has joined #ruby
valkyr1e_ has joined #ruby
csmb_ has joined #ruby
Suntzu has joined #ruby
AnoHito has joined #ruby
spectra_ has joined #ruby
freeze_ has joined #ruby
parus has joined #ruby
[ace]_ has joined #ruby
pawnbox_ has joined #ruby
aredride- has joined #ruby
bedouin_ has joined #ruby
croberts_ has joined #ruby
agentmeerkat has quit [Ping timeout: 276 seconds]
TheWhip_ has joined #ruby
mc_fail has joined #ruby
Miron has quit [Ping timeout: 250 seconds]
kbni has joined #ruby
dminuoso_ has joined #ruby
jtd has quit [Ping timeout: 258 seconds]
sulky_ has quit [Ping timeout: 276 seconds]
sarbs_ has joined #ruby
TheWhip has quit [Ping timeout: 244 seconds]
adeponte has joined #ruby
pawnbox has quit [Ping timeout: 258 seconds]
sarlalian_ has joined #ruby
dc4 has quit [Ping timeout: 264 seconds]
isberg_ has quit [Quit: I'm out]
z3uS| has joined #ruby
blackwell_ has joined #ruby
martinbjeldbak_ has joined #ruby
Jello_Raptor has joined #ruby
M-shine1 has joined #ruby
webus has quit [*.net *.split]
aufi has quit [*.net *.split]
aganov has quit [*.net *.split]
rrios has quit [*.net *.split]
dminuoso has quit [*.net *.split]
tummy has quit [*.net *.split]
cb_ has quit [*.net *.split]
matp has quit [*.net *.split]
pragmatism has quit [*.net *.split]
mtkd has quit [*.net *.split]
Kruppe- has quit [*.net *.split]
Tempesta has quit [*.net *.split]
bweston92 has quit [*.net *.split]
croberts has quit [*.net *.split]
Amnez777 has quit [*.net *.split]
M-shine has quit [*.net *.split]
Sammichmaker has quit [*.net *.split]
sarbs has quit [*.net *.split]
Sero has quit [*.net *.split]
ricer2 has quit [*.net *.split]
constantinexvi has quit [*.net *.split]
nlsun has quit [*.net *.split]
Tharbakim has quit [*.net *.split]
tjvc has quit [*.net *.split]
spastorino has quit [*.net *.split]
thejoecarroll has quit [*.net *.split]
Lewix has quit [*.net *.split]
sunya7a__ has quit [*.net *.split]
ltd has quit [*.net *.split]
freeze has quit [*.net *.split]
diegok has quit [*.net *.split]
Satyajit has quit [*.net *.split]
valkyr1e has quit [*.net *.split]
kbni_ has quit [*.net *.split]
[ace] has quit [*.net *.split]
aredridel has quit [*.net *.split]
sarlalian has quit [*.net *.split]
z3uS has quit [*.net *.split]
timonv has quit [*.net *.split]
spectra has quit [*.net *.split]
gf3 has quit [*.net *.split]
_Suntzu has quit [*.net *.split]
cyphactor has quit [*.net *.split]
jtperreault has quit [*.net *.split]
rhg135 has quit [*.net *.split]
Jello_Raptor_ has quit [*.net *.split]
mburns_ has quit [*.net *.split]
parus_ has quit [*.net *.split]
mc_fail_ has quit [*.net *.split]
Drakevr_ has quit [*.net *.split]
justinmcp_ has quit [*.net *.split]
ceej has quit [*.net *.split]
edulix has quit [*.net *.split]
matled has quit [*.net *.split]
bedouin has quit [*.net *.split]
cbetta has quit [*.net *.split]
the-eat-scout has quit [*.net *.split]
Helheim has quit [*.net *.split]
surrounder has quit [*.net *.split]
mistym has quit [*.net *.split]
audibleblink has quit [*.net *.split]
syngularity has quit [*.net *.split]
jgw has quit [*.net *.split]
martinbjeldbak has quit [*.net *.split]
blackwell has quit [*.net *.split]
csmb has quit [*.net *.split]
Kamilion has quit [*.net *.split]
hadronzoo has quit [*.net *.split]
sarbs_ is now known as sarbs
valkyr1e_ is now known as valkyr1e
pragmati- is now known as pragmatism
gf3_ is now known as gf3
z3uS| is now known as z3uS
matled- is now known as matled
surrounder has joined #ruby
constantinexvi has joined #ruby
Tharbakim has joined #ruby
mistym has joined #ruby
aganov has joined #ruby
RegulationD has joined #ruby
mistym has quit [Changing host]
mistym has joined #ruby
thejoecarroll has joined #ruby
blackwell_ is now known as blackwell
Kruppe has joined #ruby
spastorino_ is now known as spastorino
senayar_ has joined #ruby
cbetta_ is now known as cbetta
the-eat-scout_ is now known as the-eat-scout
Kamilion has joined #ruby
Lewix_ is now known as Lewix
giz|work|2 has quit [Ping timeout: 244 seconds]
M-Kodo has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 276 seconds]
ceej has joined #ruby
audibleblink has joined #ruby
rhg135 has joined #ruby
senayar has quit [Ping timeout: 276 seconds]
mburns has joined #ruby
tjvc has joined #ruby
tjvc has quit [Changing host]
tjvc has joined #ruby
charliesome has joined #ruby
bedouin_ is now known as bedouin
RegulationD has quit [Ping timeout: 276 seconds]
diegok has joined #ruby
dc4 has joined #ruby
Sero has joined #ruby
webus has joined #ruby
timonv has joined #ruby
Helheim_ is now known as Helheim
dhruvasagar has joined #ruby
bweston92 has joined #ruby
M-Kodo has joined #ruby
Coldblackice has quit [Ping timeout: 244 seconds]
codecop has quit [Remote host closed the connection]
hadronzoo has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pawnbox_ has quit [Remote host closed the connection]
Satyajit has joined #ruby
leitz has joined #ruby
joonty has quit [Quit: This computer has gone to sleep]
pawnbox has joined #ruby
joonty has joined #ruby
araujo_ has joined #ruby
Guest78646 is now known as marahin
jgt has quit [Ping timeout: 252 seconds]
marahin has quit [Changing host]
marahin has joined #ruby
blaxter has joined #ruby
skade has joined #ruby
hadronzoo has quit [*.net *.split]
emilkarl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
araujo__ has joined #ruby
araujo has quit [Ping timeout: 250 seconds]
mello has quit [Remote host closed the connection]
dc4 has quit [Ping timeout: 260 seconds]
araujo_ has quit [Ping timeout: 276 seconds]
Macaveli has joined #ruby
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ferr1 has joined #ruby
charliesome has joined #ruby
edwinvdgraaf has joined #ruby
mdw has joined #ruby
nankyokusei has joined #ruby
jaguarmagenta has joined #ruby
jenrzzz has joined #ruby
xall has quit [Ping timeout: 258 seconds]
charliesome has quit [Client Quit]
blackmes1 has quit [Ping timeout: 258 seconds]
ricer2 has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
blackgoat has quit [Ping timeout: 272 seconds]
nankyokusei has quit [Ping timeout: 276 seconds]
skade has joined #ruby
jaguarmagenta has quit [Ping timeout: 272 seconds]
iMadper has joined #ruby
yfeldblum has quit [Remote host closed the connection]
aryaching has joined #ruby
postmodern has quit [Quit: Leaving]
Snowy has joined #ruby
sdothum has joined #ruby
blackmes1 has joined #ruby
TheWhip has joined #ruby
jgt has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
TheWhip_ has quit [Ping timeout: 272 seconds]
RegulationD has joined #ruby
aryaching_ has joined #ruby
aryaching has quit [Read error: Connection reset by peer]
al2o3-cr has quit [Read error: Connection reset by peer]
al2o3-cr has joined #ruby
ensyde has quit [Ping timeout: 264 seconds]
RegulationD has quit [Ping timeout: 272 seconds]
blingrang has quit [Changing host]
blingrang has joined #ruby
mistermocha has joined #ruby
strigon33 has joined #ruby
strigon33 has quit [Read error: Connection reset by peer]
n1x-nz has quit [Quit: Computer says no]
strigonLeader has quit [Ping timeout: 244 seconds]
aryaching_ has quit [Remote host closed the connection]
<ljarvis> ohi
mistermocha has quit [Ping timeout: 250 seconds]
jaruga____ is now known as jaruga
eGGshke has joined #ruby
giz|work|2 has joined #ruby
toretore has joined #ruby
c355e3b has joined #ruby
strigonLeader has joined #ruby
yfeldblum has joined #ruby
blackmes1 has quit [Ping timeout: 260 seconds]
Robtop__ has joined #ruby
iMadper has quit [Remote host closed the connection]
nutzz has joined #ruby
emilkarl has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 250 seconds]
blackmes1 has joined #ruby
joonty has quit [Quit: This computer has gone to sleep]
harfangk has joined #ruby
rann has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 244 seconds]
hk238 has joined #ruby
dc4 has joined #ruby
joonty has joined #ruby
Nahra` has joined #ruby
nutzz has quit [Ping timeout: 250 seconds]
joconcepts has quit [Ping timeout: 246 seconds]
Satyajit has quit [Ping timeout: 252 seconds]
raeoks has quit [Read error: Connection reset by peer]
Nahra has quit [Ping timeout: 240 seconds]
PaulePanter has quit [Ping timeout: 250 seconds]
PaulePanter has joined #ruby
araujo_ has joined #ruby
rann has joined #ruby
rapha has quit [Ping timeout: 252 seconds]
scorphus has quit [Ping timeout: 252 seconds]
Oclair has quit [Quit: Bye Bye]
aef_ has quit [Ping timeout: 240 seconds]
kloeri_ has joined #ruby
GodFather has joined #ruby
joconcepts has joined #ruby
nyuszika7h has quit [Ping timeout: 250 seconds]
koooge has quit [Quit: Leaving...]
rapha has joined #ruby
kloeri has quit [Read error: Connection reset by peer]
araujo__ has quit [Ping timeout: 244 seconds]
nyuszika7h_ has joined #ruby
nyuszika7h_ is now known as nyuszika7h
aef has joined #ruby
nutzz has joined #ruby
edwinvdg_ has joined #ruby
kloeri_ is now known as kloeri
edwinvdgraaf has quit [Read error: Connection reset by peer]
<nutzz> What's wrong with the follosing script? http://paste.ubuntu.com/18160965/ it gives me undefined method `gsub' for nil:NilClass error
mrBen2k2k2k has joined #ruby
<Wildfyr> nutzz: on which line
harfangk has quit [Quit: harfangk]
<dminuoso_> nutzz: Since you don't have gsub, include a full stack trace.
<nutzz> 17
<dminuoso_> Full stack trace.
<ljarvis> full. stack. trace.
<dminuoso_> nutzz: Im guessing your filter is nil or weird.
Satyajit has joined #ruby
<dminuoso_> nutzz: use binding.pry and inspect it.
blackmes1 has quit [Ping timeout: 244 seconds]
<ljarvis> is username nil?
<nutzz> nope, the username looks ok
dc4 has quit [Ping timeout: 260 seconds]
agentmeerkat has joined #ruby
leitz has quit [Quit: Nappy time]
harfangk has joined #ruby
<apeiros> nutzz: how come your file is "user.rb" (app/models/user.rb:17:in `initialize') but your class is "AmazonUser"?
nutzz has quit [Quit: Page closed]
binaryplease1 has joined #ruby
agentmeerkat has quit [Ping timeout: 244 seconds]
unshadow has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
binaryplease has quit [Ping timeout: 252 seconds]
sarbs has quit [Ping timeout: 264 seconds]
RegulationD has joined #ruby
sarbs has joined #ruby
unshadow has quit [Ping timeout: 244 seconds]
RegulationD has quit [Ping timeout: 246 seconds]
omphe has joined #ruby
unshadow has joined #ruby
binaryplease1 is now known as binaryplease
conta has joined #ruby
mistermocha has joined #ruby
unshadow has quit [Client Quit]
jmignault has joined #ruby
houhoulis has joined #ruby
houhoulis has quit [Remote host closed the connection]
mistermocha has quit [Ping timeout: 250 seconds]
aryaching has joined #ruby
<dminuoso_> apeiros: Also interestingly his net-ldap gem is 5 years old.
charliesome has joined #ruby
nettoweb has joined #ruby
edwinvdgraaf has joined #ruby
mello has joined #ruby
nettoweb has quit [Max SendQ exceeded]
<apeiros> dminuoso_: that, sadly, isn't all that surprising
nettoweb has joined #ruby
<dminuoso_> A sad world we live in.
freerobby has joined #ruby
edwinvdg_ has quit [Ping timeout: 260 seconds]
ldnunes has joined #ruby
AnoHito has quit [Ping timeout: 260 seconds]
ullu_ has joined #ruby
hanmac has quit [Ping timeout: 258 seconds]
chouhoulis has joined #ruby
rodfersou has joined #ruby
<shevy> I can't take it any more!
stoopidmunkey has joined #ruby
<shevy> someone find nutzz in reallife and make him change the filename
Vingador has joined #ruby
stoopidmunkey has quit [Remote host closed the connection]
Neobenedict has quit [Ping timeout: 244 seconds]
stoopidmunkey has joined #ruby
<burgestrand> change filename? that's nutz
<ljarvis> lul
<ljarvis> AmazonianUser
Vingador_ has joined #ruby
GodFather has quit [Ping timeout: 258 seconds]
hanmac has joined #ruby
Vingador has quit [Ping timeout: 272 seconds]
triangles has quit [Quit: Leaving]
yqt has joined #ruby
nankyokusei has joined #ruby
jaguarmagenta has joined #ruby
Miron has joined #ruby
neo_ has joined #ruby
aryaching has quit [Read error: Connection reset by peer]
chip_ has joined #ruby
blackmes1 has joined #ruby
workmad3 has joined #ruby
sulky_ has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
omphe has quit [Remote host closed the connection]
jaguarmagenta has quit [Ping timeout: 276 seconds]
antgel has quit [Ping timeout: 258 seconds]
neo_ has quit [Ping timeout: 276 seconds]
edwinvdgraaf has quit [Ping timeout: 264 seconds]
omphe has joined #ruby
antgel has joined #ruby
dc4 has joined #ruby
johnmilton has joined #ruby
blackmes1 has quit [Ping timeout: 264 seconds]
nhhc has joined #ruby
harfangk has quit [Quit: harfangk]
Ishido has quit [Ping timeout: 240 seconds]
dc4 has quit [Ping timeout: 252 seconds]
pawnbox has quit [Remote host closed the connection]
sergio_101 has joined #ruby
agentmeerkat has joined #ruby
edwinvdg_ has joined #ruby
johnmilton has quit [Ping timeout: 276 seconds]
AnoHito has joined #ruby
pawnbox has joined #ruby
agentmeerkat has quit [Ping timeout: 276 seconds]
Tempesta_ is now known as Tempesta
Tempesta has quit [Changing host]
Tempesta has joined #ruby
joonty has quit [Quit: This computer has gone to sleep]
synthroid has joined #ruby
RegulationD has joined #ruby
<jokke> hey
<jokke> how can i make sure an instance of my class can be coerced into fixnum?
ullu_ has quit [Ping timeout: 276 seconds]
RegulationD has quit [Ping timeout: 244 seconds]
<ljarvis> jokke: that depends, in what sense? do you just want stuff like `x + 1` to work?
bkxd has joined #ruby
<jokke> other way around too :/
harfangk has joined #ruby
<jokke> i wrote a Timespan class
<shevy> jokke hmm off the top of my head, .respond_to? could work?
<jokke> which kind of just wrapa a number
<jokke> *wraps
<jokke> what do you mean with respond_to?
Ishido has joined #ruby
<shevy> or perhaps rescue usage of Integer()
<jokke> yeah
<jokke> Integer was it
<shevy> well if it responds to .to_i perhaps
<jokke> it does
mistermocha has joined #ruby
<jokke> but it doesn't seem to help
<shevy> usually it is the other way around, to coerce into a string for me :)
<ljarvis> Integer() still won't work because it doesn't use to_i
<jokke> hm
<jokke> well then never mind. i can live with it
<jokke> just have to add .to_i manually then
davedev24 has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
johnmilton has joined #ruby
<ljarvis> jokke: you can define + and +@ methods if you want
<jokke> yeah
<jokke> it work in one direction then
<jokke> *works
<jokke> i think it's less confusing if it doesn't work at all
jgt has quit [Ping timeout: 276 seconds]
polysics has quit []
<jokke> one is accustomed to think + and * is commutative
l4v2 has joined #ruby
stoopidmunkey has quit []
mistermocha has quit [Ping timeout: 250 seconds]
<jokke> another thing though. for < and > do i really have to define the methods? i thought defining <=> is enough
<jokke> or is there something like Orderable or so that i can include
<shevy> isn't that only for .sort stuff?
<jokke> yeah but isn't it obvious what < and > do if <=> is defined?
<toretore> Comparable
<jokke> ahh
<jokke> thanks
joonty has joined #ruby
<jokke> toretore: does Comparable use <=> for == also?
<jokke> seems so
<jokke> perfect
carella has quit [Remote host closed the connection]
carella has joined #ruby
<apeiros> re coercable: see Numeric#coerce
<apeiros> @jokke ^
<jokke> oh
johnmilton has quit [Remote host closed the connection]
<ljarvis> ah I always forget about that method
<apeiros> iirc somebody also had a repo on github showing how to build "numeric-like" classes
<ljarvis> always being to two times it's come up in 10 years of writing Ruby
<apeiros> don't have any specifics to facilitate searching that repo, though, sorry.
<ljarvis> the*
<jokke> hmm
<jokke> so i should implement coerce(numeric) in my class?
<apeiros> I didn't read the full backlog, so don't know. but it fits the initial question.
Guest_85664 has joined #ruby
<Guest_85664> Allah is doing
<ljarvis> >> 1 + Class.new { def coerce(x) [x, to_i] end; def to_i; 2; end }.new
<ruby[bot]> ljarvis: # => 3 (https://eval.in/598447)
<Guest_85664> sun is not doing Allah is doing
<apeiros> !spam Guest_85664
Guest_85664 was kicked from #ruby by ruby[bot] [spamming is a bannable offense, see http://ruby-community.com/pages/user_rules]
<ljarvis> I think the idea though is to coerce x (your number) into an isntance of the same class, then call + on it
swills has quit [Ping timeout: 260 seconds]
nocco has joined #ruby
<apeiros> take a close look at the order in which values are returned.
<apeiros> 1.coerce(2.5) #=> [2.5, 1.0]
<jokke> mhm
<jokke> ok
<apeiros> not [1.0, 2.5]
<jokke> yeah
<jokke> but i can just pass coerce on to the underlying numeric
<jokke> so no matter
kies has quit [Ping timeout: 272 seconds]
<jokke> works like a charm
<apeiros> that's always the best
* apeiros usually implements #hash and #eql? in that manner :D
<jokke> heh
fmcgeough has joined #ruby
Wildfyr has quit [Ping timeout: 252 seconds]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ramfjord has quit [Ping timeout: 264 seconds]
d0nn1e has quit [Ping timeout: 272 seconds]
ItSANgo has joined #ruby
Vile` has quit [Ping timeout: 244 seconds]
d0nn1e has joined #ruby
conta has quit [Ping timeout: 272 seconds]
ncthom91 has joined #ruby
alfiemax has quit [Ping timeout: 258 seconds]
conta has joined #ruby
diegoviola has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
rbennacer has joined #ruby
conta has quit [Ping timeout: 244 seconds]
pawnbox has quit [Remote host closed the connection]
conta has joined #ruby
ElFerna has quit [Ping timeout: 246 seconds]
pawnbox has joined #ruby
GinoManWorks has quit [Read error: Connection reset by peer]
aegis3121 has joined #ruby
biberu has joined #ruby
dhruvasagar has quit [Ping timeout: 260 seconds]
Vile` has joined #ruby
ramortegui has joined #ruby
omphe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
agentmeerkat has joined #ruby
pawnbox has quit [Remote host closed the connection]
vondruch has quit [Ping timeout: 240 seconds]
the_drow has quit [Quit: This computer has gone to sleep]
omphe has joined #ruby
ponga has quit []
bunzz has left #ruby ["WeeChat 1.3"]
pandaant has quit [Remote host closed the connection]
agentmeerkat has quit [Ping timeout: 276 seconds]
ponga has joined #ruby
RegulationD has joined #ruby
davedev2_ has joined #ruby
davedev24 has quit [Ping timeout: 250 seconds]
diegoviola has quit [Quit: WeeChat 1.5]
unshadow has joined #ruby
carella has quit [Read error: Connection timed out]
carella has joined #ruby
RegulationD has quit [Ping timeout: 276 seconds]
brendan- has quit [Ping timeout: 244 seconds]
mdw has quit [Quit: Sleeping Zzzzz]
brendan- has joined #ruby
spiette has joined #ruby
skade has joined #ruby
Silthias1 has joined #ruby
Silthias has quit [Read error: Connection reset by peer]
unshadow has quit [Ping timeout: 240 seconds]
ItSANgo has quit [Quit: Leaving...]
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
Ishido has joined #ruby
rbennacer has quit [Remote host closed the connection]
GinoManWorks has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
unshadow has joined #ruby
johnmilton has joined #ruby
omphe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ekinmur has joined #ruby
davedev24 has joined #ruby
ncthom91 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
davedev__ has joined #ruby
nando293921 has joined #ruby
<naftilos76> does anybody know of a way to open a css file as a ruby hash?
yardenbar has quit [Ping timeout: 258 seconds]
rbennacer has joined #ruby
<naftilos76> in order to reference a class or an id with ease?
davedev2_ has quit [Ping timeout: 250 seconds]
aganov has quit [Quit: Leaving]
davedev24 has quit [Ping timeout: 250 seconds]
workmad3 has joined #ruby
kareeole_ has joined #ruby
last_staff has quit [Quit: last_staff]
<soud> naftilos76: https://github.com/premailer/css_parser something like this?
malconis has joined #ruby
chouhoulis has quit [Remote host closed the connection]
GodFather has joined #ruby
nando293921 has quit [Ping timeout: 260 seconds]
malconis has quit [Remote host closed the connection]
<naftilos76> soud, thanks, probably what i am looking for.
nettoweb has quit [Ping timeout: 240 seconds]
kareeoleez has quit [Ping timeout: 260 seconds]
agit0 has joined #ruby
jgt has joined #ruby
pawnbox has joined #ruby
conta1 has joined #ruby
conta has quit [Ping timeout: 244 seconds]
conta1 is now known as conta
malconis has joined #ruby
nando294021 has joined #ruby
dhruvasagar has joined #ruby
mikecmpb_ has joined #ruby
mikecmpbll has quit [Read error: Connection reset by peer]
emilkarl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mikecmpb_ is now known as mikecmpbll
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ncthom91 has joined #ruby
aryaching has joined #ruby
Xeago_ has joined #ruby
chip_ has quit [Ping timeout: 250 seconds]
jtd has joined #ruby
nankyokusei has joined #ruby
jaguarmagenta has joined #ruby
`tim` has joined #ruby
ta__ has quit [Remote host closed the connection]
macsteps has joined #ruby
prestorium has joined #ruby
jhack has joined #ruby
mattwashere has joined #ruby
yardenbar has joined #ruby
blackmes1 has joined #ruby
ponga has quit []
jaguarmagenta has quit [Ping timeout: 272 seconds]
nankyokusei has quit [Ping timeout: 272 seconds]
marcos_ has joined #ruby
swills has joined #ruby
jhack has quit [Client Quit]
ramortegui has quit [Remote host closed the connection]
ramortegui has joined #ruby
blackmes1 has quit [Ping timeout: 240 seconds]
nankyokusei has joined #ruby
<swills> is there some equivilant to the --sparse flag for cp in ruby's fileutils?
jhack has joined #ruby
tristanp has quit [Read error: Connection reset by peer]
dc4 has joined #ruby
tristanp has joined #ruby
fujinuma has joined #ruby
aryaching has quit [Remote host closed the connection]
<marcos_> Hey guys! I'm new in this channel, are there specific rules that I should know about? I'd like to show and get feedback about a gem I published yesterday :)
<fujinuma> I'm new in testing is this a good way to test a method which returns a full name of a person class?
eGGshke has quit [Quit: Leaving...]
charliesome has joined #ruby
<marcos_> Hi fujinuma, it looks fine! Though it is using an old syntax for RSpec, do you know what version you're using?
nankyokusei has quit [Ping timeout: 276 seconds]
<fujinuma> marcos_: yeah, I know. I
<fujinuma> marcos_: I'm searching about the new syntax.
<naftilos76> Does anybody know any guide of capturing substrings with regex in ruby using "string".scan() ?
MrBusiness3 has joined #ruby
<fujinuma> naftilos76: haha :)
yqt has quit [Ping timeout: 244 seconds]
<naftilos76> fujinuma, i was looking at that before asking you. that is not a guide
dopamean1 has quit [Ping timeout: 244 seconds]
dc4 has quit [Ping timeout: 272 seconds]
<marcos_> fujinuma: if you want a good short example for training your testing skills, I've found creating an automated user handle based on the user's name is quite challenging
<naftilos76> fujinuma, i was looking for a regex guide
craigp has quit [Ping timeout: 240 seconds]
<fujinuma> naftilos76: I don't understand here is ruby channel I think you should join #regex
<fujinuma> marcos_: what do you mean?
<marcos_> naftilos76: Just to get you started: https://developer.mozilla.org/en/docs/Web/JavaScript/Guide/Regular_Expressions and http://regexr.com/ are your friends
<naftilos76> marcos_, thanks a lot
MrBusiness2 has quit [Ping timeout: 272 seconds]
<marcos_> fujinuma: For example, given a name like: first name = "John"; last_name = "Doe", the handle method could return @jdoe
<marcos_> fujinuma: but there's several edge cases, for example the person having more than one first name, more than one last name, having dashes in the name
Guest99267 has joined #ruby
Asher has quit [Quit: Leaving.]
<marcos_> after that, it's interesting to implement a method that parses a string looking for mentions by users handles and checking against a pool of existing users
ullu_ has joined #ruby
<fujinuma> marcos_: I think it relates to NER (Named Entity Recognition) in Natural language processing.
macsteps has quit [Remote host closed the connection]
smathy has joined #ruby
Meeh_ has joined #ruby
<fujinuma> marcos_: so based on that, there's a lot of challenging stuff.
jhack has quit [Quit: jhack]
RegulationD has joined #ruby
<fujinuma> marcos_: give me a break :D
Meeh has quit [Ping timeout: 244 seconds]
banisterfiend` is now known as banisterfiend
workmad3 has quit [Ping timeout: 240 seconds]
aryaching has joined #ruby
<marcos_> fujinuma: haha, kinda, but much simpler than that, the proposed method is just a simple pattern matching exercise with some validation in the results at the end
mattwashere has quit [Remote host closed the connection]
mdw has joined #ruby
mdw has quit [Max SendQ exceeded]
omphe has joined #ruby
Asher has joined #ruby
mattwashere has joined #ruby
Vingador_ has quit [Ping timeout: 252 seconds]
mdw has joined #ruby
<marcos_> fujinuma: similar to how Twitter mentions work, in a text containing "Hey @marcos_ and @fujinuma, meet my good friend @weirdnamethatdoesntexist", the algorithm would return @marcos_ and @fujinuma :)
ullu_ has quit [Ping timeout: 250 seconds]
mattwashere has quit [Read error: Connection reset by peer]
mattwashere has joined #ruby
<marcos_> fujinuma: I've used this example for some of my students and it worked quite well, is simple enough and yet practical
<fujinuma> marcos_: would you give me references/clues about the topic?
diegoviola has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
smathy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mistermocha has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
Neobenedict has joined #ruby
<marcos_> fujinuma: sure! I'll write a detailed specification of the expected behaviour, just a second :)
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
smathy has joined #ruby
floatingpoint has joined #ruby
dhruvasagar has quit [Quit: WeeChat 1.5]
<fujinuma> what's the difference between these two methods? def initialize(first_name:, last_name:) and def def initialize(first_name, last_name)
floatingpoint has quit [Max SendQ exceeded]
<fujinuma> I think first_name with colon after it is wrong? that's not symbol right?
wldcordeiro has quit [Quit: WeeChat 1.4]
floatingpoint has joined #ruby
mistermocha has quit [Ping timeout: 250 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
emilkarl has joined #ruby
araujo_ has quit [Quit: Leaving]
dminuoso_ has quit [Ping timeout: 240 seconds]
agentmeerkat has joined #ruby
synthroid has quit [Remote host closed the connection]
mattwashere has quit [Remote host closed the connection]
<hanmac> fujinuma: named (keyword) argument
mattwashere has joined #ruby
mattwashere has quit [Read error: Connection reset by peer]
aryaching has quit [Ping timeout: 276 seconds]
mattwashere has joined #ruby
<fujinuma> hanmac: it's actually hash if I'm correct.
omphe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<hanmac> fujinuma: it's not directly a hash, but you can think about it as if it would be one
<fujinuma> hanmac: so what is it under the hook?
ramfjord has joined #ruby
edwinvdgraaf has joined #ruby
edwinvdg_ has quit [Read error: Connection reset by peer]
dopamean_ has joined #ruby
<hanmac> very deep under the hook? hm i am not 100% for sure, but they are a different type of method parameters than normal ones
<smathy> fujinuma, hanmac is right, it's a named arg.
kareeole_ has quit [Remote host closed the connection]
malconis_ has joined #ruby
<smathy> ...required args at that.
<hanmac> that are the different kind of parameters ruby does support:
<hanmac> >> def meth(a,b=1,*c, d:, e: 4, **g, &h);end; method(:meth).parameters
<ruby[bot]> hanmac: # => [[:req, :a], [:opt, :b], [:rest, :c], [:keyreq, :d], [:key, :e], [:keyrest, :g], [:block, :h]] (https://eval.in/598524)
emilkarl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<fujinuma> alright, thanks for giving me the insight.
malconis has quit [Ping timeout: 244 seconds]
sarbs has quit [Max SendQ exceeded]
<hanmac> in your case they are "keyreq" means required key parameters
amcoder has joined #ruby
sarbs has joined #ruby
<smathy> fujinuma, what is sometimes confusing is that the calling of those methods didn't change, and looks exactly the same no matter if the method has keyword args or accepts a hash.
skywritergr has joined #ruby
sarbs has quit [Max SendQ exceeded]
neo_ has joined #ruby
diego2 has joined #ruby
<smathy> (I say "didn't change" meaning between ruby 1.9 and ruby 2.0 when keyword args were added to the language)
diego2 has quit [Changing host]
diego2 has joined #ruby
sarbs has joined #ruby
thatsnotjack has joined #ruby
diegoviola is now known as Guest97513
diego2 is now known as diegoviola
skywritergr has quit [Client Quit]
Guest97513 has quit [Ping timeout: 272 seconds]
kobain has joined #ruby
orangey has quit [Quit: No Ping reply in 180 seconds.]
dhruvasagar has joined #ruby
orangey has joined #ruby
macsteps has joined #ruby
neo__ has joined #ruby
nocco has quit [Remote host closed the connection]
<marcos_> fujinuma: sorry the wait, here it goes: https://gist.github.com/mrodrigues/8cbd201a3574af3e61240b69d03d5c79
chouhoulis has joined #ruby
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
chouhoulis has quit [Remote host closed the connection]
<fujinuma> marcos_: cheers
chouhoulis has joined #ruby
aryaching has joined #ruby
neo_ has quit [Ping timeout: 250 seconds]
malconis_ has quit [Remote host closed the connection]
anisha has quit [Quit: Leaving]
joonty has quit [Quit: This computer has gone to sleep]
<marcos_> Hey guys, yesterday I published a new gem and I'd like to receive feedback on it: https://github.com/mrodrigues/know_it_all
ryez has joined #ruby
<marcos_> Hope it's helpful to you as it is to me :)
joonty has joined #ruby
malconis has joined #ruby
james1 is now known as jtperreault
dionysus69 has quit [Ping timeout: 252 seconds]
rippa has joined #ruby
saneax is now known as saneax_AFK
davedev24 has joined #ruby
isberg has joined #ruby
davedev__ has quit [Ping timeout: 250 seconds]
carella has quit [Read error: Connection timed out]
carella has joined #ruby
terrabl has joined #ruby
Xeago_ has quit [Remote host closed the connection]
<terrabl> Hey guys, I have a string like the following (<ul><li><u>sadfasd</u></li><li><u>asdfasdf</u></li></ul>) and I want to add "class = list-group" to every instance of ul but not /ul and I want to add "class = list-group-item" to every instance of li but not /li, I know I can't use gsub because gsub would replace that part, is their something similar to gsub but for addition?
<hxegon> terrabl: don't use regexes to parse html plz
<terrabl> Not parsing, the html comes in through a form and I need to add these classes to it
<terrabl> I know I should do it javascript but its a WYSIWYG editor and this is the only way I have found to get the string.
<hxegon> parsing is the wrong word, sorry.
<hxegon> ah.
<adaedra> yeah, best would be to use a XML/HTML parser to parse it, inject it correctly and re-render it.
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<hxegon> marcos_: I'm looking it over. I don't use these types of things, but I'm liking the repo either way
fclausen has joined #ruby
<hxegon> terrabl: i would still suggest not using regex, but you can use capture groups to do it, and if you know that the tag is ul, then you don't even need those
nocco has joined #ruby
<terrabl> in ruby?
synthroid has joined #ruby
<marcos_> hxegon: :D
xaxisx has quit [Quit: xaxisx]
floatingpoint has quit [Quit: Goodnight]
xaxisx has joined #ruby
solars has quit [Ping timeout: 244 seconds]
<smathy> terrabl, think of replacing <ul and <li not ul and li - then the /s won't be an issue.
xaxisx has quit [Client Quit]
<hxegon> >> '<ul>'.gsub(/<ul/, '<ul class = list-group-item')
<ruby[bot]> hxegon: # => "<ul class = list-group-item>" (https://eval.in/598527)
arooni has joined #ruby
xaxisx has joined #ruby
floatingpoint has joined #ruby
ekinmur has joined #ruby
solars has joined #ruby
agent_white has joined #ruby
andikr has quit [Read error: Connection reset by peer]
<terrabl> Thank you, I didn't even think about just using gsub to replace ul when I find ul
<hxegon> marcos_: is MiniTest::Assertions#refute_raises defined in your test_helper similar to expect(foo).to_not raise_error?
<terrabl> I was thinking I had to add to ul
<agent_white> Mornin'
allcentury has joined #ruby
fclausen has quit [Ping timeout: 240 seconds]
nocco has quit [Ping timeout: 240 seconds]
<hxegon> morning agent_white
^mtkd has quit [Ping timeout: 260 seconds]
floatingpoint has quit [Ping timeout: 244 seconds]
rodfersou is now known as rodfersou|lunch
karapetyan has joined #ruby
mtkd has joined #ruby
terrabl has quit [Quit: Page closed]
ciampix has quit [Ping timeout: 244 seconds]
tomdp has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
peteykun has joined #ruby
<tomdp> Does anyone know how I can assign a block to a variable if block_given? I've seen `yield if block_given?`, but what about `@the_block = block if block_given?`? AFAIK, I can only run the block that was passed, through yield, not treat it as an object
arooni has quit [Ping timeout: 244 seconds]
<hxegon> tomdp: as in a default block that is used if there is no block given by the caller?
<tomdp> hxegon: not really, as in some way to refer to the block that was passed by the caller, if a block was passed
arooni has joined #ruby
TeresaP has joined #ruby
TeresaP has quit [Client Quit]
nocco has joined #ruby
<hxegon> >> def foo(&block); block.call; end; foo { puts 'foo' } # tomdp
<ruby[bot]> hxegon: # => foo ...check link for more (https://eval.in/598531)
burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ChiefAlexander has joined #ruby
RegulationD has joined #ruby
dhruvasagar has quit [Ping timeout: 276 seconds]
Vingador has joined #ruby
Vingador_ has joined #ruby
bkxd has quit [Ping timeout: 260 seconds]
RegulationD has quit [Ping timeout: 252 seconds]
conta has quit [Ping timeout: 264 seconds]
<tomdp> hxegon: What I mean is this, only working: https://eval.in/598537
<tomdp> From within the method, I want to refer to the block passed (easy if it's defined as explicitly requiring a block), but also want the block to be optional
mistermocha has joined #ruby
blaxter has quit [Quit: foo]
<marcos_> hxegon: Yep, exactly like that :)
<marcos_> hxegon: I'm not fluent in MiniTest, I've been using RSpec for the last 6 years, but I wanted to give it a try
<hxegon> tomdp: that works with the method I gave you; for example
Vingador has quit [Remote host closed the connection]
<tomdp> The bit that doesn't work is @a_block = block, because there is no block parameter in that case. I can yield if block_given? but I need to not yield but assign the block to an instance variable
Vingador has joined #ruby
solars has quit [Ping timeout: 276 seconds]
yardenbar has quit [Ping timeout: 246 seconds]
<hxegon> >> def foo(&block); if block; yield; else; 'bar'; end; end; [foo, (foo { 'foo' })] # tomdp
<ruby[bot]> hxegon: # => ["bar", "foo"] (https://eval.in/598539)
<hxegon> ahhh
<marcos_> tomdp: It's really weird, but you can do @the_block = Proc.new without passing any block to the Proc.new, and it'll grab the received block
<hxegon> marcos_: I gave it a try about 5 months ago, went back to rspec. How are you liking it so far?
slackbotgz has joined #ruby
mistermocha has quit [Ping timeout: 250 seconds]
<tomdp> marcos_: like this? https://eval.in/598540 that doesn't appear to work there
<marcos_> hxegon: Not very much so far, but I reckon that's probably because I'm too used to RSpec. I'll stick with it for some time and see if I like it better
karapetyan has quit [Remote host closed the connection]
Wildfyr has joined #ruby
karapetyan has joined #ruby
TheWhip has quit [Remote host closed the connection]
<hxegon> tomdp: Could you give some trivial but concrete functionality to put into code? I'm still not 100% on what you are asking about.
<marcos_> tomdp: What do you expect that code to return? You need to use the @a_block somehow
<tomdp> Yes. One sec
nocco has quit [Remote host closed the connection]
sepp2k has joined #ruby
amcoder has quit []
omphe has joined #ruby
amcoder has joined #ruby
<marcos_> tomdp: For example, if you later call bar.instance_variable_get(:@a_block).call, it's going to work
Danny_ has joined #ruby
ferr1 has quit [Quit: WeeChat 1.5]
<Danny_> hi...having some trouble using ruby to parse a simple yaml file
AndrewIsHere has joined #ruby
<Danny_> yaml file looks like this: settings: <new line, indent>setting1: 'value'
LoneHerm_ has joined #ruby
<Danny_> im doing config = YAML.load_file('config.yaml')
Vingador has quit [Quit: http://quassel-irc.org - Bate-papo confortável em qualquer lugar.]
helpa has quit [Remote host closed the connection]
<Danny_> and im trying to do config[:settings], but it's null
<Danny_> what am i doing wrong?
helpa has joined #ruby
aufi_ has quit [Ping timeout: 244 seconds]
<allcentury> Any idea why this doesn't work? {"a": "b"}.to_s.tr("{", "{\n") but this does {"a": "b"}.to_s.sub("{", "{\n"
<hxegon> are you getting an error, or is it not loading correcty Danny_ ?
<allcentury> missing end of paren sorry
<Danny_> its loading fine...when i do config.inspect, i see a json string, which looks absolutely correct
<Danny_> it makes no sense
<ljarvis> Danny_: want to drop the code into a gist?
<allcentury> Danny_: to use a symbol, you need to use :settings: (colons on both sides)
<monoprotic> allcentury learn what the arguments to tr mean
<Danny_> hmm, let me try that
<toretore> allcentury: did you read the documentation for String#tr to understand what it actually does? http://www.rubydoc.info/stdlib/core/String#tr-instance_method
<hxegon> &ri String#tr
<Danny_> oh my lord
<Danny_> that worked
<Danny_> thank u!
camilasan has quit [Ping timeout: 264 seconds]
<ljarvis> ..
<ljarvis> you're.. welcome?
<allcentury> you're welcome
<ljarvis> o
nocco has joined #ruby
<ljarvis> thought you'd dropped it into a gist and it worked
<ljarvis> I was all oO wat
Vingador has joined #ruby
<allcentury> monoprotic: yep, I read the docs but still dont' understand what I'm missing.
<monoprotic> the first char in the first arugment is replaced by the first char in the second argument, etc
karapetyan has quit [Remote host closed the connection]
<monoprotic> it doesnt do the same thing as sub
<monoprotic> namely you cant replace one character with two like you're trying to
karapetyan has joined #ruby
jgt has quit [Ping timeout: 276 seconds]
<allcentury> I see, i didn't realize the length o f from_str and to_str were being used
edwinvdgraaf has quit [Ping timeout: 260 seconds]
<monoprotic> did you read the docs?
<allcentury> the docs don't say that
camilasan has joined #ruby
<allcentury> Returns a copy of str with the characters in from_str replaced by the corresponding characters in to_str. If to_str is shorter than from_str, it is padded with its last character in order to maintain the correspondence.
<hxegon> allcentury: they do have the example
<monoprotic> corresponding characters.. then the bit about padding is surely related to length
<hxegon> >> "hello".tr('a-y', 'b-z') # allcentury
<ruby[bot]> hxegon: # => "ifmmp" (https://eval.in/598549)
<allcentury> 'maintain the correspondence' means index of the arguments strings. that is not very clear
<hxegon> though
<monoprotic> anyway the examples would have made it clear
<Danny_> one more: how can i convert a hash object into something where i can use dot notation to access the properties?
Vingador has quit [Remote host closed the connection]
<hxegon> Danny_: OpenStruct
floatingpoint has joined #ruby
<allcentury> Danny_: OpenStruct
<allcentury> ya
<allcentury> :)
<tomdp> hxegon marcos_: Here's a really really dumb example use of this: https://eval.in/598548 This could really better off just use attr_accessor, instead of this dumb accessor-and-mutator-in-one method, so it's a contrived example, but it should show the problem. There's no variable `block` if I don't explicitly require it in the method parameters, so how do I assign it to an instance variable if it gets passed?
<Danny_> not something as easy as obj.to_something.prop?
dopamean_ has quit [Quit: WeeChat 1.3]
karapetyan has quit [Remote host closed the connection]
<hxegon> Danny_: not really, I mean you could define #to_struct on Hash to do that though
<Danny_> ok, thanks!
solars has joined #ruby
<hxegon> Danny_: I would just recommend using OpenStruct.new rather than monkey patching though
omphe has quit [Ping timeout: 244 seconds]
<Danny_> gotcha
<allcentury> Another question if anyone has time, I'm using PP.pp(hash, "") to print a nicely formatted hash in an ERB template. I've read through the PP docs but can't get indentation to work. Anyone have an experience w/ that std lib?
<marcos_> tomdp: https://eval.in/598551
Vingador_ has quit [Remote host closed the connection]
Couch has quit [Ping timeout: 260 seconds]
karapetyan has joined #ruby
Vingador has joined #ruby
<marcos_> tomdp: It's exactly as I stated in my previous message, just use Proc.new and it's going to work :)
<marcos_> tomdp: I know that's really weird, I myself just found this "feature" recently
karapetyan has quit [Remote host closed the connection]
gnufied has joined #ruby
karapetyan has joined #ruby
floatingpoint has quit [Max SendQ exceeded]
agit0 has quit [Quit: zzzZZZ….]
<tomdp> So it does work! Thanks. I didn't look at https://eval.in/598540 close enough to see that it worked then, sorry about that.
macsteps has quit [Remote host closed the connection]
macsteps has joined #ruby
<hxegon> I prefer this style because what Proc.new really does isn't 100% clear https://eval.in/598555
floatingpoint has joined #ruby
symm- has joined #ruby
polishdub has joined #ruby
karapetyan has quit [Remote host closed the connection]
aupadhye has joined #ruby
mustmodify has joined #ruby
nshahpazov has joined #ruby
<mustmodify> Apparently the #rubyonrails crowd doesn't want this kind of question, so I'm cross-posting. :)
<mustmodify> I have a collection of strategies (classes) to do some work. I want to ask each strategy whether it handles an object. First one that says yes will be asked to do it. Should the interface be StrategyOne.handles?( obj ) and then StrategyOne.new(obj).fire? or s = StrategyOne.new(obj).handled? then s.fire
<mustmodify> My thinking is the first, even though that would mean some of the strategies would have to do duplicate work. But it would mean I wouldn't have to keep instances of strategies I'm not using, which seems sloppy...
<mustmodify> and it's not like there is a big efficiency issue. I mean, we have some efficiency issues, but this won't be one of them.
r_rios_ has quit [Ping timeout: 260 seconds]
karapetyan has joined #ruby
tomdp has quit [Quit: Page closed]
<hxegon> I feel like the first one is clearer, but this feels like you need polymorphism somewhere
<hxegon> like you need obj.appropriate_strategy or something
macsteps has quit [Ping timeout: 250 seconds]
<toretore> yuck, no
aep-shoutlet has joined #ruby
<hxegon> just my opinion, but it really depends on what obj is
nshahpazov has left #ruby ["ruby"]
mic_e has quit [Ping timeout: 240 seconds]
<toretore> then every single object that could ever be considered for "handling" would have to know about this
<smathy> mustmodify, the code you're talking about here is hidden inside some factory class or something right? Like the external callers would really just do something like: `s = StrategyFactory.get_strategy_for obj; s.call` right?
karapetyan has quit [Remote host closed the connection]
<hxegon> toretore: good point.
freerobby has quit [Quit: Leaving.]
<hxegon> also, I'm just starting to get not terrible at OO design, so take my stuff with a grain of salt
freerobby has joined #ruby
<hxegon> smathy: Are you saying that is the way you'd do it, or there is a better way to do it than that?
<toretore> mustmodify: i lean to the second solution, as it does not suppose a class-oriented design
jaguarmagenta has joined #ruby
<smathy> hxegon, I was asking if that's how it was being done, I'd hate to imagine external callers are having to iterate over the strategies themselves.
<smathy> hxegon, because if that's how it's being done then it matters a lot less what the internals of that factory are like.
<toretore> maybe it doesn't even have to have answer "do you handle this object?", but just "handle this object, and do whatever you want"
<smathy> ...well that'd be the factory approach that I suggested toretore
<toretore> though this is quite procedural and assumes that side effects is what you want
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
LoneHerm_ has quit [Remote host closed the connection]
karapetyan has joined #ruby
<hxegon> I like the StrategyFactory approach best
davedev24 has quit [Remote host closed the connection]
workmad3 has joined #ruby
blackmes1 has joined #ruby
jaguarmagenta has quit [Ping timeout: 250 seconds]
rkazak has joined #ruby
neo__ has quit [Remote host closed the connection]
neo_ has joined #ruby
TheWhip has joined #ruby
amclain has joined #ruby
slackbotgz has quit [Remote host closed the connection]
solars has quit [Ping timeout: 244 seconds]
workmad3 has quit [Ping timeout: 240 seconds]
AnoHito_ has joined #ruby
nankyokusei has joined #ruby
blackmes1 has quit [Ping timeout: 276 seconds]
AnoHito has quit [Ping timeout: 272 seconds]
<mustmodify> smathy: Yes, it's in a 'factory' class.
<naftilos76> can anybody help on how to remove random number of white space chars from the beginning and end of a phrase like " ruby rocks " with gsub(//, "") ?
neo_ has quit [Ping timeout: 258 seconds]
nettoweb has joined #ruby
kedare has quit [Quit: Leaving]
dc4 has joined #ruby
<hirvi> how abaout " asdfasdf ".strip
<mustmodify> use case: we have routes. We confirm appointments on those routes in different ways. Early on, we confirm them by emailing every customer at the same time. Later, we confirm via automated call. But in that case, the VoiceConfirmationStrategy will just pick a single appointment to confirm, not all of them. (because if they don't like that appointment, the rest of the schedule changes.) etc. So each strategy does different things and operates within differen
nankyokusei has quit [Ping timeout: 240 seconds]
aegis3121 has quit [Ping timeout: 260 seconds]
<naftilos76> toretore, gratefull thanks, i did not know strip
shinnya has joined #ruby
<mustmodify> So I have a ConfirmationStrategyFactory, whose sole purpose is to (a) on the class level, find a list of routes that could be confirmed, then create instances of the factory for each. (b) on the instance level, to figure out which strategy to use and call that one. Then stop. Then the strategies (a) know which routes they can handle and (b) do that.
<mustmodify> So is the consensus to leave it at the class level and have some instances do some work twice?
synthroi_ has joined #ruby
<mustmodify> TBH I had called it an Aide instead of a Factory because I hadn't thought of it being a factory. But obviously that's what it is.
GinoManWorks_ has joined #ruby
synthro__ has joined #ruby
dc4 has quit [Ping timeout: 260 seconds]
joonty has quit [Quit: This computer has gone to sleep]
synthroid has quit [Ping timeout: 240 seconds]
f4cl3y has quit [Ping timeout: 260 seconds]
swills has quit [Remote host closed the connection]
antgel has quit [Ping timeout: 264 seconds]
TheWhip has quit [Remote host closed the connection]
Es0teric has joined #ruby
Es0teric has quit [Max SendQ exceeded]
GinoManWorks has quit [Ping timeout: 276 seconds]
TheWhip has joined #ruby
synthroi_ has quit [Ping timeout: 240 seconds]
Es0teric has joined #ruby
araujo has joined #ruby
araujo has quit [Max SendQ exceeded]
isberg has quit [Read error: Connection reset by peer]
araujo has joined #ruby
ullu_ has joined #ruby
isberg has joined #ruby
abonec has quit [Ping timeout: 244 seconds]
isberg has quit [Max SendQ exceeded]
moredhel has left #ruby ["Textual IRC Client: www.textualapp.com"]
isberg has joined #ruby
RegulationD has joined #ruby
isberg has quit [Max SendQ exceeded]
zacstewart has joined #ruby
mistermocha has joined #ruby
isberg has joined #ruby
ullu_ has quit [Ping timeout: 246 seconds]
mistermocha has quit [Remote host closed the connection]
hutch34 has joined #ruby
mistermocha has joined #ruby
whathappens has joined #ruby
senayar_ has quit []
RegulationD has quit [Ping timeout: 250 seconds]
kareeoleez has joined #ruby
<Wildfyr> How would I make an infix calculator
psmmr has joined #ruby
jenrzzz has joined #ruby
<mustmodify> (a) not enough information to answer (b) i'm sure Google knows.
rkazak has quit [Ping timeout: 244 seconds]
xall has joined #ruby
karapetyan has quit [Remote host closed the connection]
AndrewIsHere has quit [Remote host closed the connection]
AndrewIsHere has joined #ruby
<Wildfyr> mustmodify: okay
swills has joined #ruby
nogic has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
gnufied has quit [Quit: Leaving]
Danny_ has quit [Remote host closed the connection]
<Wildfyr> mustmodify: what info would be relevant
mark_66 has quit [Remote host closed the connection]
workmad3 has joined #ruby
Danny_ has joined #ruby
blackmes1 has joined #ruby
TheWhip has quit []
Hobogrammer has joined #ruby
AndrewIsHere has quit [Ping timeout: 250 seconds]
araujo has quit [Quit: Leaving]
araujo has joined #ruby
<mustmodify> Is this something you want as a DSL? Or you want to parse strings and do it? Or like... what's the use case?
<mustmodify> but also, I would check google.
whathappens has quit [Quit: Leaving...]
AndrewIsHere has joined #ruby
<mustmodify> in summary, (a) use tdd (b) keep state :)
<Wildfyr> mustmodify: parse string and do it
Danny_ has quit [Ping timeout: 252 seconds]
<Wildfyr> as for use-case, well it's a project i want to try as i think it would be a good learning experience
workmad3 has quit [Ping timeout: 240 seconds]
whathappens has joined #ruby
<Wildfyr> From some googling it seems like the best way is to convert into an RPN equation and then calculate it
mistermocha has quit []
giz|work|2 has quit [Ping timeout: 246 seconds]
diegoviola has quit [Quit: WeeChat 1.5]
mikecmpbll has quit [Ping timeout: 246 seconds]
nankyokusei has joined #ruby
tomphp has quit [Ping timeout: 240 seconds]
swills has quit [Remote host closed the connection]
<mustmodify> that's certainly an option, but if you're using eval that's the "quick and dirty" way to do it... if you really want to learn Ruby, maybe parse each string and build the calculation using OO parts.
SCHAAP137 has joined #ruby
<soud> Wildfyr: check out dijkstra's shunting yard algorithm
<mustmodify> AH! I knew there was a name for what I meant. I meant you should build an AST.
zacstewart has quit [Ping timeout: 240 seconds]
* Wildfyr googles AST
nankyokusei has quit [Ping timeout: 264 seconds]
<soud> well if he just wishes to evaluate it, that's not actually needed, but would be a good exercise regardless
<Wildfyr> mustmodify: thanks
davedev24 has joined #ruby
<mustmodify> it's basically a tree of objects... verbs for nodes and values for leaves.
AndrewIsHere has quit [Remote host closed the connection]
AndrewIsHere has joined #ruby
davedev2_ has joined #ruby
webus has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
<Wildfyr> mustmodify: okay
Macaveli has joined #ruby
davedev24 has quit [Ping timeout: 258 seconds]
davedev24 has joined #ruby
yqt has joined #ruby
ramfjord has quit [Ping timeout: 276 seconds]
workmad3 has joined #ruby
pilne has joined #ruby
Devalo has joined #ruby
dhruvasagar has joined #ruby
davedev2_ has quit [Ping timeout: 250 seconds]
replay has joined #ruby
nocco has quit []
neo_ has joined #ruby
rodfersou|lunch is now known as rodfersou
Macaveli has quit [Ping timeout: 260 seconds]
fclausen has joined #ruby
aegis3121 has joined #ruby
neo_ has quit [Ping timeout: 258 seconds]
neo_ has joined #ruby
karapetyan has joined #ruby
neo___ has joined #ruby
fclausen has quit [Ping timeout: 240 seconds]
neo____ has joined #ruby
karapetyan has quit [Remote host closed the connection]
neo____ has quit [Remote host closed the connection]
neo__ has joined #ruby
karapetyan has joined #ruby
neo__ has quit [Remote host closed the connection]
hutch34 has quit [Ping timeout: 244 seconds]
neo_ has quit [Ping timeout: 264 seconds]
neo__ has joined #ruby
hutch34 has joined #ruby
Hyuk has joined #ruby
aegis3121 has quit [Ping timeout: 276 seconds]
neo___ has quit [Ping timeout: 246 seconds]
Macaveli has joined #ruby
Macaveli has quit [Client Quit]
kareeoleez has quit [Ping timeout: 250 seconds]
elaptics is now known as elaptics`away
mtkd has quit [Ping timeout: 240 seconds]
kareeoleez has joined #ruby
mtkd has joined #ruby
aegis3121 has joined #ruby
mikecmpbll has joined #ruby
karapetyan has quit [Remote host closed the connection]
craigp has joined #ruby
karapetyan has joined #ruby
rcvalle has joined #ruby
RegulationD has joined #ruby
kareeoleez has quit [Ping timeout: 276 seconds]
Snowy has quit [Remote host closed the connection]
harfangk has quit [Quit: harfangk]
Snowy has joined #ruby
Regulati_ has joined #ruby
Snowy has quit [Remote host closed the connection]
Snowy has joined #ruby
RegulationD has quit [Read error: Connection reset by peer]
floatingpoint has quit [Quit: Goodnight]
CloCkWeRX has quit [Quit: Leaving.]
spiette has quit [Ping timeout: 246 seconds]
Snowy_ has joined #ruby
Snowy has quit [Read error: Connection reset by peer]
harfangk has joined #ruby
hutch34 has quit [Ping timeout: 276 seconds]
ChiefAlexander has quit [Remote host closed the connection]
hutch34 has joined #ruby
thatsnotjack has quit [Ping timeout: 264 seconds]
GodFather has quit [Ping timeout: 276 seconds]
ItSANgo has joined #ruby
Snowy_ has quit [Remote host closed the connection]
kareeoleez has joined #ruby
[Butch] has joined #ruby
carella has quit [Read error: Connection timed out]
ncthom91 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
peteykun has quit [Quit: Leaving]
carella has joined #ruby
dhruvasagar has left #ruby ["WeeChat 1.5"]
ncthom91 has joined #ruby
Wildfyr has quit [Quit: "Sayonara"]
elaptics`away is now known as elaptics
DoubleMalt has quit [Ping timeout: 246 seconds]
davedev24 has quit [Read error: Connection reset by peer]
korzybski has joined #ruby
floatingpoint has joined #ruby
davedev24 has joined #ruby
wilbert has joined #ruby
rodfersou has quit [Quit: leaving]
djbkd has joined #ruby
floatingpoint has quit [Max SendQ exceeded]
floatingpoint has joined #ruby
emilkarl has joined #ruby
Danny_ has joined #ruby
mostlybadfly has joined #ruby
kareeoleez has quit [Ping timeout: 246 seconds]
vdamewood has joined #ruby
nanoz has joined #ruby
ChiefAlexander has joined #ruby
kareeoleez has joined #ruby
karapetyan has quit [Remote host closed the connection]
emilkarl has quit [Read error: Connection reset by peer]
emilkarl has joined #ruby
vdamewood has quit [Max SendQ exceeded]
karapetyan has joined #ruby
Danny_ has quit [Remote host closed the connection]
vdamewood has joined #ruby
rkoller has joined #ruby
kareeoleez has quit [Ping timeout: 250 seconds]
vdamewood has quit [Max SendQ exceeded]
yardenbar has joined #ruby
vdamewood has joined #ruby
mdw_ has joined #ruby
hinbody has quit [Ping timeout: 272 seconds]
swills has joined #ruby
John2496 has joined #ruby
diegoviola has joined #ruby
Devalo has quit [Remote host closed the connection]
vdamewood has quit [Max SendQ exceeded]
Danny_ has joined #ruby
mdw has quit [Ping timeout: 264 seconds]
John2496 has quit [Client Quit]
John2496 has joined #ruby
mello has quit [Remote host closed the connection]
alfiemax has joined #ruby
John2496 has quit [Client Quit]
John2496 has joined #ruby
ramfjord has joined #ruby
Danny_ has quit [Client Quit]
swills has quit [Remote host closed the connection]
ncthom91 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mello has joined #ruby
tomphp has joined #ruby
emilkarl has quit [Read error: Connection reset by peer]
Es0teric has quit [Quit: Computer has gone to sleep.]
Es0teric has joined #ruby
emilkarl has joined #ruby
Es0teric has quit [Max SendQ exceeded]
swills has joined #ruby
Es0teric has joined #ruby
r_rios_ has joined #ruby
r_rios_ has quit [Changing host]
r_rios_ has joined #ruby
jaruga has quit [Quit: jaruga]
jaguarmagenta has joined #ruby
Devalo has joined #ruby
kareeoleez has joined #ruby
macsteps has joined #ruby
floatingpoint has quit [Quit: Goodnight]
jaguarmagenta has quit [Ping timeout: 252 seconds]
unshadow has quit [Ping timeout: 240 seconds]
pilne has quit [Quit: Quitting!]
cajone has quit [Ping timeout: 246 seconds]
floatingpoint has joined #ruby
spider-mario has joined #ruby
John2496 has quit [Remote host closed the connection]
aep-shoutlet has quit [Quit: Connection closed for inactivity]
spider-mario has quit [Read error: Connection reset by peer]
nogic has quit [Ping timeout: 240 seconds]
spider-mario has joined #ruby
emilkarl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
John2496 has joined #ruby
Dimik has joined #ruby
dc4 has joined #ruby
prestorium has quit [Ping timeout: 240 seconds]
John2496 has quit [Remote host closed the connection]
John2496 has joined #ruby
cajone has joined #ruby
giz|work|2 has joined #ruby
matp_ has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
vdamewood has joined #ruby
dc4 has quit [Ping timeout: 276 seconds]
mdw_ has quit [Quit: Sleeping Zzzzz]
BTRE has quit [Ping timeout: 260 seconds]
<smathy> Shunting Yard - sounds like a Thomas the Tank Engine episode.
workmad3 has quit [Ping timeout: 276 seconds]
chipotle has joined #ruby
vdamewood has quit [Max SendQ exceeded]
willardg has joined #ruby
yqt has quit [Ping timeout: 252 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
psmmr has quit [Ping timeout: 276 seconds]
blackmes1 has quit [Ping timeout: 240 seconds]
psmmr has joined #ruby
nertzy has joined #ruby
willardg has left #ruby [#ruby]
willardg has joined #ruby
prestorium has joined #ruby
dmr8 has joined #ruby
workmad3 has joined #ruby
<mustmodify> smathy: +1
vdamewood has joined #ruby
spiette has joined #ruby
araujo has quit [Ping timeout: 272 seconds]
giz|work|2 has quit [Ping timeout: 244 seconds]
vdamewood has quit [Max SendQ exceeded]
Robtop__ has quit [Read error: Connection reset by peer]
Robtop__ has joined #ruby
Hyuk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nettoweb has joined #ruby
codecop has joined #ruby
psmmr has quit [Ping timeout: 276 seconds]
workmad3 has quit [Ping timeout: 276 seconds]
kareeole_ has joined #ruby
korzybski has quit [Quit: korzybski]
easyecho has joined #ruby
kareeole_ is now known as kareeolee
kareeolee is now known as kareeoleez_
Xeago_ has joined #ruby
araujo has joined #ruby
kareeoleez_ is now known as kareeoleez__
kareeoleez has quit [Disconnected by services]
kareeoleez__ is now known as kareeoleez
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
psmmr has joined #ruby
AMParanoid has joined #ruby
sauvin has quit [Read error: Connection reset by peer]
l4v2 has quit [Quit: l4v2]
agit0 has joined #ruby
mattwashere has quit [Remote host closed the connection]
mattwashere has joined #ruby
wilbert has quit [Quit: quit]
kirun has joined #ruby
BTRE has joined #ruby
futilegames has joined #ruby
wigust has joined #ruby
psmmr has quit [Ping timeout: 276 seconds]
macsteps has quit [Remote host closed the connection]
mattwashere has quit [Ping timeout: 272 seconds]
macsteps has joined #ruby
futilegames has quit [Client Quit]
terminalrecluse has joined #ruby
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
Limix has joined #ruby
nankyokusei has joined #ruby
spiette has quit [Ping timeout: 276 seconds]
matp has joined #ruby
AMParanoid has quit [Ping timeout: 250 seconds]
macsteps has quit [Ping timeout: 246 seconds]
sethetter has joined #ruby
mustmodify has left #ruby [#ruby]
User458764 has joined #ruby
mattwashere has joined #ruby
elaptics is now known as elaptics`away
nankyokusei has quit [Ping timeout: 250 seconds]
ur5us has joined #ruby
spiette has joined #ruby
thatsnotjack has joined #ruby
hakunin has joined #ruby
spiette_ has joined #ruby
minimalism has quit [Quit: minimalism]
korzybski has joined #ruby
spiette_ has quit [Client Quit]
<hakunin> could swear heard somebody (maybe JEG2) mention that you can have actual default block parameters, but can't find any reference to it anymore
<sethetter> I have a box provisioned with chef using the rvm cookbook and installing some global gems. When I run the cap deploy with the deploy user it's unable to access those gems (can't find compass, etc). But if I log in as the deploy user they are there. Any help?
<hakunin> i mean def foo(&block = -> {}) type of thing
<fujinuma> marcos_: hey
<sethetter> I've tried setting `pty` to true in my deploy config, even though it's suggested against, but to no avail.
<hakunin> maybe dreamt it…
pgib has joined #ruby
blackmes1 has joined #ruby
<fujinuma> marcos_: can I pm you?
Xeago_ has quit [Ping timeout: 276 seconds]
AnoHito has joined #ruby
AnoHito_ has quit [Ping timeout: 272 seconds]
xall has quit [Ping timeout: 260 seconds]
nanoz has quit [Read error: Connection reset by peer]
djbkd has quit [Remote host closed the connection]
futilegames has joined #ruby
ur5us has quit [Remote host closed the connection]
futilegames has quit [Client Quit]
pawnbox has quit [Read error: Connection reset by peer]
pawnbox_ has joined #ruby
xall has joined #ruby
kies has joined #ruby
swills has quit [Remote host closed the connection]
korzybski has quit [Quit: korzybski]
emiltin has quit [Quit: Computer has gone to sleep.]
giz|work|2 has joined #ruby
ur5us has joined #ruby
bmurt has joined #ruby
djbkd has joined #ruby
Devalo has quit [Remote host closed the connection]
l4v2 has joined #ruby
workmad3 has joined #ruby
Hyuk has joined #ruby
hakunin has quit []
korzybski has joined #ruby
floatingpoint has quit [Quit: Goodnight]
pgib has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
GodFather has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
<hxegon> >> def foo(&block); block ||= proc { 'foo' }; block.call; end; [foo, (foo { 'bar' }] # default block
<ruby[bot]> hxegon: # => /tmp/execpad-650637a77a17/source-650637a77a17:2: syntax error, unexpected ']', expecting ')' ...check link for more (https://eval.in/598689)
<hxegon> >> def foo(&block); block ||= proc { 'foo' }; block.call; end; [foo, (foo { 'bar' })] # default block
<ruby[bot]> hxegon: # => ["foo", "bar"] (https://eval.in/598690)
aryaching has quit [Ping timeout: 260 seconds]
jenslarsson has quit [Ping timeout: 246 seconds]
hahuang61 has joined #ruby
pLaToOn has joined #ruby
<pLaToOn> moin
wigust has quit [Remote host closed the connection]
floatingpoint has joined #ruby
<marcos_> fujinuma: Sure! Sorry the wait, I was in a consulting session
jenrzzz has quit [Ping timeout: 240 seconds]
korzybski has quit [Quit: korzybski]
<fujinuma> marcos_: pm?
wigust has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
yfeldblum has joined #ruby
agentmeerkat has quit [Ping timeout: 276 seconds]
whathappens has quit [Remote host closed the connection]
banisterfiend has quit [Remote host closed the connection]
floatingpoint has quit [Quit: Goodnight]
banisterfiend has joined #ruby
neo__ has quit [Remote host closed the connection]
neo_ has joined #ruby
vuoto has joined #ruby
harfangk has quit [Quit: harfangk]
agentmeerkat has joined #ruby
grill has joined #ruby
neo_ has quit [Ping timeout: 244 seconds]
chouhoul_ has joined #ruby
memorasus has joined #ruby
lolaj has joined #ruby
thatsnotjack has quit [Ping timeout: 258 seconds]
<lolaj> how writing extension to mruby?
agentmeerkat has quit [Ping timeout: 252 seconds]
<lolaj> any tutorial?
chouhoulis has quit [Ping timeout: 252 seconds]
<lolaj> extension in C
blackmes1 has quit [Ping timeout: 272 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
chouhoul_ has quit [Remote host closed the connection]
neo_ has joined #ruby
chouhoulis has joined #ruby
Guest99267 has quit [Remote host closed the connection]
johnmilton has quit [Remote host closed the connection]
blackmes1 has joined #ruby
<lolaj> how writing extension in C to mruby? Any tutorial? Who can help me?
neo_ has quit [Remote host closed the connection]
neo_ has joined #ruby
easyecho has quit [Quit: bye bye]
diegoviola has quit [Quit: WeeChat 1.5]
chouhoul_ has joined #ruby
synthro__ has quit []
chouhou__ has joined #ruby
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Vingador_ has joined #ruby
bmurt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chouhoulis has quit [Ping timeout: 244 seconds]
replay has quit [Ping timeout: 244 seconds]
hutch34 has quit [Ping timeout: 252 seconds]
Vingador has quit [Ping timeout: 240 seconds]
chouhoul_ has quit [Ping timeout: 244 seconds]
armin has quit [Quit: relate to the matter as i drop the bomb]
hutch34 has joined #ruby
emiltin has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
mikecmpbll has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
phrozen77 has joined #ruby
Devalo has joined #ruby
lxsameer has quit [Ping timeout: 276 seconds]
aryaching has joined #ruby
chipotle has quit [Ping timeout: 246 seconds]
shinnya has quit [Ping timeout: 252 seconds]
Devalo has quit [Ping timeout: 264 seconds]
mtkd has quit [Ping timeout: 240 seconds]
mtkd has joined #ruby
ryez has quit [Ping timeout: 250 seconds]
nettoweb has joined #ruby
jaguarmagenta has joined #ruby
unshadow has joined #ruby
Madplatypus has joined #ruby
wldcordeiro has joined #ruby
rann has quit [Remote host closed the connection]
whathappens has joined #ruby
TomyWork has quit [Ping timeout: 244 seconds]
<shevy> lolaj there was an old tutorial for extensions in cruby
<shevy> mruby is more recent, I guess the best chance is to look at some different blogs. not sure if there is an up to date tutorial for mruby
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bmurt has joined #ruby
TomyWork has joined #ruby
bmurt has quit [Client Quit]
jaguarmagenta has quit [Ping timeout: 240 seconds]
vdamewood has joined #ruby
nogic has joined #ruby
dangerousdave has joined #ruby
diegoviola has joined #ruby
vdamewood has quit [Max SendQ exceeded]
diegoviola has quit [Changing host]
diegoviola has joined #ruby
GodFather has quit [Quit: Ex-Chat]
GodFather has joined #ruby
marcos_ has quit [Ping timeout: 264 seconds]
hightower2 has joined #ruby
mattwashere has quit [Remote host closed the connection]
mattwashere has joined #ruby
TomyWork has quit [Ping timeout: 244 seconds]
vdamewood has joined #ruby
Vingador_ has quit [Ping timeout: 240 seconds]
chouhou__ has quit [Remote host closed the connection]
jhack has joined #ruby
chouhoulis has joined #ruby
dc4 has joined #ruby
mattwashere has quit [Ping timeout: 244 seconds]
ramfjord has quit [Ping timeout: 252 seconds]
JohanTux has joined #ruby
diegoviola has quit [Ping timeout: 250 seconds]
ramfjord has joined #ruby
neo_ has quit [Remote host closed the connection]
neo_ has joined #ruby
marcos has joined #ruby
blackmes1 has quit [Ping timeout: 264 seconds]
marcos is now known as Guest70495
dc4 has quit [Ping timeout: 240 seconds]
Guest70495 has quit [Client Quit]
marcos_ has joined #ruby
marcos_ has quit [Client Quit]
anisha has joined #ruby
smathy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chouhoulis has quit [Remote host closed the connection]
CJKinni has joined #ruby
jgt has joined #ruby
chouhoulis has joined #ruby
mattwashere has joined #ruby
lolaj has quit [Ping timeout: 260 seconds]
Hyuk has quit [Quit: Textual IRC Client: www.textualapp.com]
mostlybadfly has quit [Quit: Connection closed for inactivity]
roamingdog has joined #ruby
isberg has quit [Quit: I'm out]
smathy has joined #ruby
armatechnicos has joined #ruby
KensoDev has joined #ruby
codecop has quit [Remote host closed the connection]
Silthias1 has quit [Quit: Leaving.]
fmcgeough has quit [Quit: fmcgeough]
DenSchub has quit [Ping timeout: 250 seconds]
Xeago_ has joined #ruby
chouhoulis has quit [Remote host closed the connection]
agentmeerkat has joined #ruby
blackgoat has joined #ruby
TomyLobo has joined #ruby
weaksauce has joined #ruby
tfitts has joined #ruby
weaksauce has quit [Read error: Connection reset by peer]
spiette has quit [Quit: :qa!]
Oclair has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
[Butch] has quit [Quit: I'm out . . .]
karapetyan has quit [Remote host closed the connection]
CJKinni has quit [Read error: Connection reset by peer]
Limix has quit [Quit: Limix]
karapetyan has joined #ruby
roamingdog has quit [Read error: Connection reset by peer]
replay has joined #ruby
replay has quit [Max SendQ exceeded]
mdw has joined #ruby
replay has joined #ruby
<nofxx> Any idea why I'm installing a gem, bundle install local no problems, also checked and gem is not yanked, but on servers: "Could not find <gem> in any of the sources" ?
<karapetyan> hello, how to break block execution and return value to method?
dn5 has joined #ruby
nankyokusei has joined #ruby
<dn5> howdy everyone :))
skade has joined #ruby
<nofxx> karapetyan, next or return
jenrzzz has quit [Ping timeout: 250 seconds]
diegoviola has joined #ruby
Xeago__ has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
Xeago- has joined #ruby
<karapetyan> nofxx: could you explain please what difference? return will stop execution method? next will go to next iteration in method and execute block again?
Xeago__ has quit [Remote host closed the connection]
phrozen77 has quit [Ping timeout: 246 seconds]
chouhoulis has joined #ruby
Xeago has quit [Ping timeout: 276 seconds]
Xeago- is now known as Xeago
<nofxx> karapetyan, you already did ;)
minimalism has joined #ruby
ptierno has joined #ruby
ptierno has quit [Changing host]
ptierno has joined #ruby
<nofxx> karapetyan, next also accepts the return... eg: next "foo" if bar?
<karapetyan> and one more question, how can i make return and chars.next! (i want return current char and call .next! after return) ?
Xeago_ has quit [Ping timeout: 276 seconds]
<nofxx> karapetyan, you may end.next! but, not the beautiful thing around
<nofxx> just assign a var I think
nankyokusei has quit [Ping timeout: 240 seconds]
yardenbar has quit [Ping timeout: 264 seconds]
<nofxx> personally I like end.method hehe, rubocop doesn't
<karapetyan> nofxx: thanks!
<smathy> nofxx, connection problems from your server to source server.
ptierno has quit [Client Quit]
Oclair has quit [Read error: Connection reset by peer]
Oclair has joined #ruby
<nofxx> smathy, logged in and pinged rubygems, installed the gem manually and all good! =/
<smathy> Weird.
<nofxx> just when bundle install problem happens....
<smathy> Maybe temporary.
<smathy> Oh, still now?
<nofxx> smathy, yeah, thank you anyway
<nofxx> smathy, started yeasterday, today still can't deploy heheh
atmosx is now known as atmosx_alt
<nofxx> bundle stdout: Could not find fog-core-1.40.1 in any of the sources
<smathy> Puzzling.
<nofxx> only that gem... dunno if next one will fail too
<nofxx> also, rm -rf all gems in bundler shared/bundler and what not to test....
wldcordeiro has quit [Ping timeout: 276 seconds]
<nofxx> gem 2.6.4, bundler 1.12.5, ruby 2.3.1
ChiefAlexander has quit [Read error: Connection reset by peer]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
ChiefAlexander has joined #ruby
aegis312_ has joined #ruby
workmad3 has quit [Quit: leaving]
polysics has joined #ruby
aegis3121 has quit [Ping timeout: 276 seconds]
biberu has quit []
epitron has quit [Remote host closed the connection]
ocbtec has quit [Ping timeout: 252 seconds]
epitron has joined #ruby
ocbtec has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
GodFather has quit [Ping timeout: 246 seconds]
anisha has joined #ruby
polysics has quit []
fclausen has joined #ruby
anisha has quit [Client Quit]
grill has quit [Quit: yolo.swag]
<smathy> Your Gemfile.lock doesn't have it coming from a different source or something?
sergio_101 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Limix has joined #ruby
<smathy> Hmm, I just added "fog-core" to a Gemfile of mine and it decided to grab 1.40.0
<smathy> Yep, nofxx, if I force it then I get the same error: Could not find gem 'fog-core (= 1.40.1)' in any of the gem sources listed in your Gemfile or available on this machine.
ramortegui has quit [Quit: Ex-Chat]
nogic has quit [Ping timeout: 240 seconds]
dn5 has quit [Ping timeout: 276 seconds]
<smathy> Maybe some rubygems mirror doesn't have the .1 version or something./
dmr8 has quit [Quit: Leaving]
emiltin has quit [Quit: Computer has gone to sleep.]
fclausen has quit [Ping timeout: 240 seconds]
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
blackmes1 has joined #ruby
johzsum has joined #ruby
johzsum has left #ruby [#ruby]
ramfjord has quit [Ping timeout: 240 seconds]
hahuang61 has joined #ruby
ramfjord has joined #ruby
symm- has quit [Ping timeout: 264 seconds]
blackmes1 has quit [Ping timeout: 252 seconds]
vuoto has quit [Remote host closed the connection]
zeroDi has joined #ruby
codezomb has joined #ruby
deuterium has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
pLaToOn has quit [Ping timeout: 240 seconds]
Es0teric has quit [Quit: Computer has gone to sleep.]
vuoto has joined #ruby
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
symm- has joined #ruby
nogic has joined #ruby
macsteps has joined #ruby
nogic has quit [Max SendQ exceeded]
TomyLobo has quit [Ping timeout: 260 seconds]
ldnunes has quit [Quit: Leaving]
ramfjord has quit [Ping timeout: 276 seconds]
wldcordeiro has joined #ruby
vuoto has quit [Remote host closed the connection]
Dimik has quit [Ping timeout: 240 seconds]
ramfjord has joined #ruby
helpa-bot has joined #ruby
nhhc has quit [Quit: Leaving]
mozzarel1 has joined #ruby
dn5 has joined #ruby
helpa has quit [Remote host closed the connection]
Nahra`` has joined #ruby
helpa-bot has quit [Remote host closed the connection]
helpa has joined #ruby
SCHAAP137 has quit [Ping timeout: 276 seconds]
mr_rich102 has joined #ruby
armin has joined #ruby
mozzarella has quit [Remote host closed the connection]
Nahra` has quit [Remote host closed the connection]
mr_rich101 has quit [Ping timeout: 244 seconds]
flopsec has quit [Ping timeout: 244 seconds]
amitchellbullard has quit [Ping timeout: 248 seconds]
amitchellbullard has joined #ruby
devster31 has quit [Excess Flood]
devster31 has joined #ruby
dennisvennink has joined #ruby
tomphp has joined #ruby
banisterfiend` has joined #ruby
iamvery has quit [Ping timeout: 252 seconds]
Amnez777 has joined #ruby
banisterfiend` has quit [Read error: Connection reset by peer]
Amnez777- has quit [Ping timeout: 244 seconds]
bqscott_ has joined #ruby
bqscott has quit [Ping timeout: 244 seconds]
ramfjord has quit [Ping timeout: 244 seconds]
aegis312_ has quit [Ping timeout: 264 seconds]
slackbotgz has joined #ruby
solocshaw has joined #ruby
solocshaw has quit [Client Quit]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Some-body_ has joined #ruby
solocshaw has joined #ruby
neo__ has joined #ruby
firstdayonthejob has joined #ruby
solocshaw has quit [Read error: Connection reset by peer]
staticfox has quit [Disconnected by services]
staticfox` has joined #ruby
solocshaw has joined #ruby
staticfox` is now known as staticfox
aegis3121 has joined #ruby
spidermario has joined #ruby
<havenwood> Hark ye, Rails 5!
SCHAAP137 has joined #ruby
darix- has joined #ruby
spider-mario has quit [Disconnected by services]
spidermario is now known as spider-mario
darix- has quit [Client Quit]
agentmeerkat has quit [Ping timeout: 250 seconds]
neo_ has quit [Ping timeout: 244 seconds]
darix- has joined #ruby
Limix has quit [Quit: Limix]
neo__ has quit [Ping timeout: 246 seconds]
klaas- has joined #ruby
ramfjord has joined #ruby
_derpy has joined #ruby
kspencer- has joined #ruby
yfeldblum has joined #ruby
adam12_ has joined #ruby
thejoecarroll_ has joined #ruby
iNs- has joined #ruby
poguez_ has joined #ruby
yqt has joined #ruby
aegis3121 has quit [Ping timeout: 250 seconds]
KensoDev has quit [*.net *.split]
hutch34 has quit [*.net *.split]
wigust has quit [*.net *.split]
aupadhye has quit [*.net *.split]
amcoder has quit [*.net *.split]
Ishido has quit [*.net *.split]
thejoecarroll has quit [*.net *.split]
Jello_Raptor has quit [*.net *.split]
cb- has quit [*.net *.split]
trampi has quit [*.net *.split]
kriskropd has quit [*.net *.split]
wnd has quit [*.net *.split]
Xiti has quit [*.net *.split]
khelair has quit [*.net *.split]
eljimmy has quit [*.net *.split]
DarthGandalf has quit [*.net *.split]
DEac- has quit [*.net *.split]
JeanCarloMachado has quit [*.net *.split]
KrzaQ has quit [*.net *.split]
iNs has quit [*.net *.split]
KillerFox has quit [*.net *.split]
darix has quit [*.net *.split]
lucas has quit [*.net *.split]
kspencer has quit [*.net *.split]
`derpy has quit [*.net *.split]
FastJack has quit [*.net *.split]
klaas has quit [*.net *.split]
adam12 has quit [*.net *.split]
DanKnox_ has quit [*.net *.split]
thoraxe has quit [*.net *.split]
joast has quit [*.net *.split]
Antiarc has quit [*.net *.split]
callumacrae has quit [*.net *.split]
kith has quit [*.net *.split]
webhat has quit [*.net *.split]
tw1sted has quit [*.net *.split]
forgot has quit [*.net *.split]
hypnosb has quit [*.net *.split]
mame3 has quit [*.net *.split]
Some-body_ is now known as DarthGandalf
darix- is now known as darix
mattwashere has quit []
adam12_ is now known as adam12
armatechnicos has quit [Quit: Leaving]
KrzaQ has joined #ruby
unshadow has quit [Ping timeout: 276 seconds]
Regulati_ has quit [Remote host closed the connection]
mikeiniowa has quit [Remote host closed the connection]
mikeiniowa has joined #ruby
jaguarmagenta has joined #ruby
kspencer- has quit [Changing host]
kspencer- has joined #ruby
kspencer- is now known as kspencer
djbkd has quit [Remote host closed the connection]
mtkd has quit [Ping timeout: 250 seconds]
pawnbox_ has quit [Remote host closed the connection]
solocshaw has quit [Read error: Connection reset by peer]
solocshaw has joined #ruby
kavanagh has joined #ruby
wrkrcoop has joined #ruby
<wrkrcoop> so we deployed our code
<wrkrcoop> and one of the other teams is getting a ‘sinatra doesnt know this ditty’
edwinvdgraaf has joined #ruby
<wrkrcoop> but the endpoint works from postman, and from rest client … anyone know they might be getting a 404? someone said maybe their request is getting mutated on the way
jaguarmagenta has quit [Ping timeout: 260 seconds]
<wrkrcoop> no backtrace in the logs
ddffg has joined #ruby
Gasher has joined #ruby
rbennacer has quit [Remote host closed the connection]
solocshaw has quit [Ping timeout: 250 seconds]
edwinvdgraaf has quit [Client Quit]
mtkd has joined #ruby
dn5 has quit [Ping timeout: 276 seconds]
freerobby has quit [Quit: Leaving.]
skade has quit [Quit: Computer has gone to sleep.]
pawnbox has joined #ruby
kareeoleez has quit [Remote host closed the connection]
John2496 has quit []
dn5 has joined #ruby
blackmes1 has joined #ruby
wrkrcoop has quit [Quit: wrkrcoop]
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mdw has quit [Quit: Sleeping Zzzzz]
Limix has joined #ruby
dc4 has joined #ruby
toretore has quit [Ping timeout: 276 seconds]
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mikecmpbll has joined #ruby
slackbotgz has quit [Remote host closed the connection]
shinnya has joined #ruby
Limix has quit [Ping timeout: 260 seconds]
Limix has joined #ruby
Limix has quit [Client Quit]
ramfjord has quit [Ping timeout: 240 seconds]
dc4 has quit [Ping timeout: 272 seconds]
mrodrigues_ has joined #ruby
mrodrigues_ has quit [Client Quit]
rkoller has quit [Quit: Textual IRC Client: www.textualapp.com]
armin has quit [Ping timeout: 276 seconds]
nertzy has quit [Ping timeout: 260 seconds]
RegulationD has joined #ruby
armin has joined #ruby
RegulationD has quit [Remote host closed the connection]
Guest36894 has quit [Read error: Connection reset by peer]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
burgestrand has joined #ruby
dn5 has quit [Quit: Lost terminal]
RegulationD has joined #ruby
moos3 has joined #ruby
RegulationD has quit [Client Quit]
pilne has joined #ruby
dc4 has joined #ruby
moos3 has left #ruby [#ruby]
kavanagh has quit [Ping timeout: 250 seconds]
allcentury has quit [Ping timeout: 258 seconds]
memorasus has quit [Ping timeout: 260 seconds]
symm- has quit [Ping timeout: 260 seconds]
al2o3-cr has quit [Ping timeout: 240 seconds]
polishdub has quit [Quit: Leaving]
memorasus has joined #ruby
fclausen has joined #ruby
agent_white has quit [Quit: leaving]
ndrst has joined #ruby
ndrst is now known as Guest88101
ramfjord has joined #ruby
djbkd has joined #ruby
zenlot has joined #ruby
djbkd has quit [Remote host closed the connection]
kavanagh has joined #ruby
l4v2 has quit [Quit: l4v2]
djbkd has joined #ruby
zenlot6 has quit [Ping timeout: 264 seconds]
ullu_ has joined #ruby
iooner has quit [Ping timeout: 258 seconds]
memorasus1 has joined #ruby
agentmeerkat has joined #ruby
mrodrigues has joined #ruby
memorasus has quit [Ping timeout: 276 seconds]
memorasus1 is now known as memorasus
giz|work|2 has quit [Ping timeout: 246 seconds]
iooner has joined #ruby
fclausen has quit [Ping timeout: 240 seconds]
ChiefAlexander has quit [Quit: Leaving...]
jhack has quit [Quit: jhack]
agentmeerkat has quit [Ping timeout: 276 seconds]
fclausen has joined #ruby
DTZUZU has quit [Read error: Connection reset by peer]
vdamewood has quit [Quit: Life beckons.]
jgt has quit [Ping timeout: 252 seconds]
AndrewIsHere has quit [Remote host closed the connection]
AndrewIsHere has joined #ruby
moei has quit [Quit: Leaving...]
ddffg has quit [Quit: Leaving]
<mrodrigues> Hey guys, where would you recommend that I announce the new gem I released? I'd like to hear helpful feedback and see other people trying to use it :)
Amnez777 has quit [Ping timeout: 244 seconds]
patrick_star is now known as patrick_not_star
jgt has joined #ruby
moei has joined #ruby
<smathy> mrodrigues, you can do that here, although earlier in the (majority of timezones in the US) would be better than now.
<elomatreb> mrodrigues: You could try the Ruby subreddit at reddit.com/r/ruby
AndrewIsHere has quit [Ping timeout: 250 seconds]
patrick_not_star is now known as ttttttttt8
Amnez777 has joined #ruby
kirun has quit [Quit: Client exiting]
neanderslob has quit [Read error: Connection reset by peer]
dc4 has quit [Ping timeout: 272 seconds]
<ule> Hi there
mesamoo has quit [Quit: Konversation terminated!]
<ule> how can I convert json to xml?
<baweaver> what have you tried?
<ule> nothing yet
<baweaver> try a few things, search around a bit, see what you find
<ule> I just asked here because I already googled
<ule> with no luck
Es0teric has joined #ruby
<baweaver> there are a number of promising results in the first page of google results
<ule> maybe someone has some idea
<ule> I was thinking to use Nokogiri gem since I already had a chance to parse xml with it
<baweaver> ?g json to xml ruby
<ruby[bot]> baweaver: I don't see no json, whom should I tell about g?
<baweaver> so not that command then
Gasher has quit [Ping timeout: 260 seconds]
crdpink2 has quit [Quit: q term]
<ule> I'll try this one: https://github.com/jnunemaker/crack
vdamewood has joined #ruby
<smathy> ?gg is this it
crdpink has joined #ruby
<ruby[bot]> smathy: I don't see no is, whom should I tell about gg?
bqscott_ is now known as bqscott
<baweaver> gg smathy
<smathy> Oh, it's seeing the first word as the nick.
ttttttttt8 is now known as duffy_duck
<baweaver> ?g baweaver
<ruby[bot]> baweaver: I don't know anything about g
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
skade has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
leea has joined #ruby
spider-mario has quit [Remote host closed the connection]
memorasus has quit [Ping timeout: 272 seconds]
naftilos76 has quit [Ping timeout: 264 seconds]
<leea> are there any ruby open source projects that make it friendly for people to find issues that are "easy first bugs"? Like how FB's react tags their issues https://github.com/facebook/react/issues
<baweaver> There may be a few, but for the most part I would focus on finding a few projects you like and fixing documentation
<baweaver> gives you a good base understanding of the project, what it does, and how it works
<baweaver> then phase into minor bugs as they come through
willardg has quit [Ping timeout: 258 seconds]
<leea> hmm that's a good suggestion baweaver
<leea> thanks
<baweaver> not a problem. There are probably a number of them but none come immediately to mind
<baweaver> the Ruby AWS SDK needs a lot of love in documentation
neo_ has joined #ruby
<baweaver> and has a very wide audience
JohanTux has quit [Ping timeout: 240 seconds]
al2o3-cr has joined #ruby
ahmetkapikiran has joined #ruby
Dimik has joined #ruby
neo_ has quit [Remote host closed the connection]
neo_ has joined #ruby
<mrodrigues> smathy: thanks, will do that tomorrow :)
<mrodrigues> elomatreb: thanks! I've never used reddit before, I'll give it a try! :)
dangerousdave has quit [Ping timeout: 276 seconds]
<smathy> mrodrigues, np.
roamingdog has joined #ruby
firstdayonthejob has quit [Ping timeout: 240 seconds]
hahuang61 has joined #ruby
deuterium has quit [Ping timeout: 250 seconds]
<ule> Nokogiri has a Builder
banisterfiend has joined #ruby
<ule> but I need to specify all the fields from the json manually
<ule> I was thinking on something automaticly
sepp2k has quit [Quit: Leaving.]
hutch34 has joined #ruby
hahuang61 has quit [Ping timeout: 264 seconds]
burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
burgestrand has joined #ruby
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
burgestrand has quit [Client Quit]
<ule> something like this:
chouhoul_ has joined #ruby
r_rios_ has quit [Ping timeout: 276 seconds]
ReK2GnULinuX has joined #ruby
ReK2 has quit [Ping timeout: 246 seconds]
saneax_AFK is now known as saneax
iamvery has joined #ruby
minimalism has quit [Quit: minimalism]
postmodern has joined #ruby
chouhoulis has quit [Ping timeout: 272 seconds]
SCHAAP137 has quit [Quit: Leaving]
chouhoul_ has quit [Ping timeout: 258 seconds]
banisterfiend has joined #ruby
ocbtec has quit [Remote host closed the connection]
Azure has quit [Remote host closed the connection]
Azure has joined #ruby
CloCkWeRX has joined #ruby
<ule> Managed to do it
<ule> thanks
mrodrigues has quit [Quit: leaving]
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
xall has quit [Ping timeout: 250 seconds]
<al2o3-cr> ule: use your initiative
<ule> Sometimes you guys are so jerk
<ule> It's a channel to change experiences
leea has joined #ruby
<ule> what's the problem if I ask for an opinion? What's the problem to listen someone that had to do this before and can give to me a nice tip?
<ule> You guy should be more humble. Just because I asked a simple question doesn't mean I'm a junior dev or just a lazy person
<ule> That's why this channel stands here for
unshadow has joined #ruby
<al2o3-cr> ule: whoa
<ule> welcome
<shevy> look what you did al2o3-cr!
agentmeerkat has joined #ruby
* smathy learns why he's here - transcendental maan!
queequeg2 has joined #ruby
<al2o3-cr> ule: chill
<elomatreb> Please don't actually be the mentioned jerks
<smathy> The absolute worst way to get someone to chill is to tell them to chill.
<shevy> freeze!
<smathy> :)
queequeg1 has quit [Ping timeout: 244 seconds]
arnonhongklay has joined #ruby
<al2o3-cr> unfreeze
<elomatreb> .freeze
<al2o3-cr> don't get worked up
dc4 has joined #ruby
<al2o3-cr> smathy: coming from exp. obvio..
agentmeerkat has quit [Ping timeout: 240 seconds]
<smathy> In as much as all my knowledge comes from some experience, yes.
<al2o3-cr> it's text for fuck sake
dennisvennink has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chipotle has joined #ruby
dennisvennink has joined #ruby
hutch34 has quit [Ping timeout: 272 seconds]
Dimik has quit []
scottj has joined #ruby
<baweaver> quite enough of that
wigust has joined #ruby
<baweaver> if you want to continue it ule, feel free in #ruby-offtopic.
Devalo has joined #ruby
<baweaver> but realize that if we don't know what you've tried we may be covering the same ground again. Also, I'd mentioned a SO link that covered the AR way.
Wsewolod has quit [Quit: Leaving]
<ule> I'm fine thank you
edwardly has quit [Ping timeout: 252 seconds]
queequeg2 has quit [Ping timeout: 276 seconds]
Devalo has quit [Ping timeout: 244 seconds]
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
<baweaver> If you have an issue, feel free to ping me later.
<baweaver> and if I came off as condescending by asking about a search, I apologize
ramfjord has joined #ruby
Senjai has joined #ruby
nettoweb has quit [Read error: Connection reset by peer]
queequeg1 has joined #ruby
jaguarmagenta has joined #ruby
`tim` has joined #ruby
rhllor has joined #ruby
Senjai has quit [Client Quit]
vdamewood has quit [Quit: Life beckons.]
<al2o3-cr> shevy: i'd give it a rest if i were you
jaguarmagenta has quit [Ping timeout: 250 seconds]
dsea has joined #ruby
<shevy> al2o3-cr I'd give you some pink shirts if I were you
<baweaver> ?ot
<ruby[bot]> this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related topics. Thanks!