00:00
wallerdev has quit [Quit: wallerdev]
00:02
awea has quit [Remote host closed the connection]
00:02
AlexAltea has quit [Ping timeout: 244 seconds]
00:03
kfpratt has quit [Remote host closed the connection]
00:05
wallerdev has joined #ruby-lang
00:06
SylarRuby has joined #ruby-lang
00:07
sp4rrow_ has joined #ruby-lang
00:09
baweaver has quit [Remote host closed the connection]
00:11
sp4rrow_ has quit [Client Quit]
00:13
gwendall has quit [Remote host closed the connection]
00:15
dziemid_ has quit [Remote host closed the connection]
00:16
ascarter has joined #ruby-lang
00:21
Musashi007 has quit [Quit: Musashi007]
00:21
ghostpl_ has joined #ruby-lang
00:22
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
00:24
SilentNuke has quit []
00:25
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
00:27
Musashi007 has joined #ruby-lang
00:31
banister is now known as banisterfiend
00:32
dziemid_ has joined #ruby-lang
00:33
iliketurtles has joined #ruby-lang
00:33
davispuh has quit [Read error: Connection reset by peer]
00:34
haraoka has joined #ruby-lang
00:34
Lewix has quit [Remote host closed the connection]
00:40
baweaver has joined #ruby-lang
00:41
SylarRuby has quit [Remote host closed the connection]
00:45
dziemid_ has quit [Remote host closed the connection]
00:45
yfeldblum has joined #ruby-lang
00:46
baweaver has quit [Ping timeout: 246 seconds]
00:49
arBmind has quit [Quit: Leaving.]
00:50
yfeldblum has quit [Ping timeout: 256 seconds]
00:51
wallerdev has quit [Quit: wallerdev]
00:51
bruno- has joined #ruby-lang
00:52
fclausen has joined #ruby-lang
00:52
centrx has joined #ruby-lang
00:54
charliesome has joined #ruby-lang
00:57
bruno- has quit [Ping timeout: 256 seconds]
00:59
yfeldblum has joined #ruby-lang
01:00
ghostpl_ has quit [Remote host closed the connection]
01:12
amclain has joined #ruby-lang
01:12
SilentNuke has joined #ruby-lang
01:19
hendranata_ has joined #ruby-lang
01:20
Lewix has joined #ruby-lang
01:20
Lewix has joined #ruby-lang
01:21
matp has joined #ruby-lang
01:22
tkuchiki has joined #ruby-lang
01:22
dziemid has joined #ruby-lang
01:23
wallerdev has joined #ruby-lang
01:23
matp_ has quit [Ping timeout: 244 seconds]
01:26
hahuang65 has quit [Ping timeout: 245 seconds]
01:26
gwendall has joined #ruby-lang
01:27
caseydriscoll has quit [Remote host closed the connection]
01:27
dziemid has quit [Remote host closed the connection]
01:28
SilentNuke has quit [Ping timeout: 272 seconds]
01:29
tkuchiki has quit [Quit: Leaving...]
01:29
charliesome has quit [Quit: zzz]
01:29
b_hoffman has quit [Quit: b_hoffman]
01:30
dziemid has joined #ruby-lang
01:34
tkuchiki has joined #ruby-lang
01:37
yfeldblum has quit [Remote host closed the connection]
01:37
JEG2 has quit [Quit: Connection closed for inactivity]
01:37
yfeldblum has joined #ruby-lang
01:40
iamninja has quit [Read error: Connection reset by peer]
01:40
dziemid has quit [Remote host closed the connection]
01:41
iamninja has joined #ruby-lang
01:41
tris has quit [Quit: Leaving]
01:43
fclausen has quit [Ping timeout: 272 seconds]
01:47
havenwood has quit [Remote host closed the connection]
01:48
rsl has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
01:53
lytol_ has quit [Remote host closed the connection]
01:54
caseydriscoll has joined #ruby-lang
01:57
kfpratt has joined #ruby-lang
01:58
riotjones has joined #ruby-lang
01:59
tris has joined #ruby-lang
01:59
wallerdev has quit [Ping timeout: 256 seconds]
02:00
Integralist has joined #ruby-lang
02:00
lytol has joined #ruby-lang
02:02
riotjones has quit [Ping timeout: 264 seconds]
02:04
lytol has quit [Ping timeout: 256 seconds]
02:05
Integralist has quit [Ping timeout: 264 seconds]
02:05
fclausen has joined #ruby-lang
02:08
sankaber has joined #ruby-lang
02:08
shinnya has quit [Ping timeout: 255 seconds]
02:08
houhoulis has quit [Remote host closed the connection]
02:08
havenwood has joined #ruby-lang
02:09
Batty-Alex__ has quit [Quit: Konversation terminated!]
02:10
hahuang65 has joined #ruby-lang
02:18
j4cknewt has quit [Remote host closed the connection]
02:22
j4cknewt has joined #ruby-lang
02:23
benlovell has joined #ruby-lang
02:25
haraoka has quit [Ping timeout: 272 seconds]
02:30
SylarRuby has joined #ruby-lang
02:34
SylarRuby has quit [Ping timeout: 265 seconds]
02:38
fclausen has quit [Read error: Connection reset by peer]
02:40
vipaca has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
02:42
ta has quit [Read error: Connection reset by peer]
02:42
j4cknewt has quit [Remote host closed the connection]
02:42
ta has joined #ruby-lang
02:43
yfeldblum has quit [Remote host closed the connection]
02:44
fclausen has joined #ruby-lang
02:47
j4cknewt has joined #ruby-lang
02:49
Lewix has quit [Remote host closed the connection]
02:49
havenwood has quit []
02:51
dziemid has joined #ruby-lang
02:52
matled- has joined #ruby-lang
02:52
seank__ has joined #ruby-lang
02:52
matled has quit [Read error: Connection reset by peer]
02:52
j4cknewt_ has joined #ruby-lang
02:52
matled- is now known as matled
02:53
LMity has joined #ruby-lang
02:55
dziemid_ has joined #ruby-lang
02:55
seank_ has quit [Ping timeout: 250 seconds]
02:55
j4cknewt has quit [Ping timeout: 250 seconds]
02:56
dziemid has quit [Ping timeout: 264 seconds]
02:56
lytol has joined #ruby-lang
02:56
dhruvasagar has quit [Ping timeout: 250 seconds]
02:59
dhruvasagar has joined #ruby-lang
03:00
lytol has quit [Ping timeout: 246 seconds]
03:06
dziemid_ has quit [Remote host closed the connection]
03:09
jefus_ has joined #ruby-lang
03:10
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
03:13
jefus has quit [Ping timeout: 264 seconds]
03:14
b_hoffman has joined #ruby-lang
03:14
rgb-one has joined #ruby-lang
03:14
rgb-one has quit [Remote host closed the connection]
03:18
j4cknewt_ has quit [Remote host closed the connection]
03:20
kfpratt has quit [Remote host closed the connection]
03:22
kfpratt has joined #ruby-lang
03:23
benlovell has quit [Read error: Connection reset by peer]
03:24
dziemid has joined #ruby-lang
03:28
j4cknewt has joined #ruby-lang
03:29
b_hoffman has quit [Quit: b_hoffman]
03:31
SylarRuby has joined #ruby-lang
03:33
dziemid has quit [Remote host closed the connection]
03:36
SylarRuby has quit [Ping timeout: 252 seconds]
03:36
jgpawletko has quit [Quit: jgpawletko]
03:36
MouseTheLuckyDog has quit [Quit: Leaving]
03:38
j4cknewt has quit [Remote host closed the connection]
03:42
x44x45x41x4E has joined #ruby-lang
03:42
fujimura has joined #ruby-lang
03:46
LMity has quit [Ping timeout: 264 seconds]
03:49
j4cknewt has joined #ruby-lang
03:54
j4cknewt has quit [Ping timeout: 256 seconds]
03:57
lytol has joined #ruby-lang
03:57
j4cknewt has joined #ruby-lang
03:58
j4cknewt has quit [Remote host closed the connection]
04:01
ghostpl_ has joined #ruby-lang
04:01
lytol has quit [Ping timeout: 246 seconds]
04:04
yfeldblum has joined #ruby-lang
04:06
ghostpl_ has quit [Ping timeout: 256 seconds]
04:14
Rayford has joined #ruby-lang
04:17
Musashi007 has quit [Quit: Musashi007]
04:19
kfpratt has quit [Read error: Connection reset by peer]
04:20
kfpratt has joined #ruby-lang
04:30
bruno- has joined #ruby-lang
04:31
kfpratt has quit [Remote host closed the connection]
04:31
hahuang65 has quit [Ping timeout: 272 seconds]
04:33
Musashi007 has joined #ruby-lang
04:34
gix has quit [Ping timeout: 246 seconds]
04:36
bruno- has quit [Ping timeout: 265 seconds]
04:39
gix has joined #ruby-lang
04:40
dziemid has joined #ruby-lang
04:42
symm- has quit [Ping timeout: 250 seconds]
04:54
bb010g has joined #ruby-lang
04:55
tsujp has joined #ruby-lang
04:57
dellavg_ has joined #ruby-lang
04:58
existensil has quit [Quit: WeeChat 0.4.2]
04:59
j4cknewt has joined #ruby-lang
04:59
Musashi007 has quit [Quit: Musashi007]
05:01
Mon_Ouie has quit [Ping timeout: 264 seconds]
05:03
brushbox has quit [Quit: Leaving.]
05:03
j4cknewt has quit [Ping timeout: 248 seconds]
05:05
Musashi007 has joined #ruby-lang
05:05
iliketurtles has quit [Quit: zzzzz…..]
05:08
dziemid has quit []
05:12
lytol has joined #ruby-lang
05:14
revath has joined #ruby-lang
05:16
21WABQK4T has joined #ruby-lang
05:17
lytol has quit [Ping timeout: 245 seconds]
05:17
michael_mbp has quit [Excess Flood]
05:20
michael_mbp has joined #ruby-lang
05:31
hahuang65 has joined #ruby-lang
05:32
Rayford has quit [Quit: Rayford]
05:36
hahuang65 has quit [Ping timeout: 272 seconds]
05:36
riotjones has joined #ruby-lang
05:40
iliketurtles has joined #ruby-lang
05:40
Mon_Ouie has joined #ruby-lang
05:41
riotjones has quit [Ping timeout: 244 seconds]
05:49
brushbox has joined #ruby-lang
05:51
Averna has quit [Quit: Leaving.]
05:55
dellavg_ has quit [Ping timeout: 264 seconds]
05:56
pwnz0r has joined #ruby-lang
06:01
revath has quit [Ping timeout: 245 seconds]
06:01
kfpratt has joined #ruby-lang
06:05
ledestin has joined #ruby-lang
06:06
kfpratt has quit [Ping timeout: 252 seconds]
06:08
Miphix has joined #ruby-lang
06:09
haraoka has joined #ruby-lang
06:12
Integralist has joined #ruby-lang
06:13
lytol has joined #ruby-lang
06:15
revath has joined #ruby-lang
06:16
Integralist has quit [Ping timeout: 246 seconds]
06:17
fclausen has quit [Ping timeout: 272 seconds]
06:18
lytol has quit [Ping timeout: 251 seconds]
06:19
Blaguvest has joined #ruby-lang
06:22
Musashi007 has quit [Quit: Musashi007]
06:25
x44x45x41x4E has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
06:26
x44x45x41x4E has joined #ruby-lang
06:31
Xzanron has joined #ruby-lang
06:38
riotjones has joined #ruby-lang
06:38
x44x45x41x4E has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
06:43
riotjones has quit [Ping timeout: 250 seconds]
06:54
iliketurtles has quit [Quit: zzzzz…..]
06:55
riotjones has joined #ruby-lang
06:56
Pomin has joined #ruby-lang
06:58
djbkd has joined #ruby-lang
06:58
djbkd has quit [Remote host closed the connection]
07:01
j4cknewt has joined #ruby-lang
07:02
centrx has quit [Quit: Shutting down, Please wait...]
07:03
kfpratt has joined #ruby-lang
07:04
Blaguvest has quit []
07:05
j4cknewt has quit [Ping timeout: 252 seconds]
07:12
ffmegaman has joined #ruby-lang
07:16
amclain has quit [Quit: Leaving]
07:16
Iskarlar has joined #ruby-lang
07:17
vozcelik has joined #ruby-lang
07:18
Guest24 is now known as lele
07:18
vozcelik has quit [Client Quit]
07:20
Mon_Ouie has quit [Ping timeout: 264 seconds]
07:21
relix has joined #ruby-lang
07:24
gwendall has quit [Remote host closed the connection]
07:24
gwendall has joined #ruby-lang
07:28
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
07:28
kerunaru has joined #ruby-lang
07:30
21WABQK4T has quit [Remote host closed the connection]
07:32
fusillicode has joined #ruby-lang
07:33
fusillicode1 has joined #ruby-lang
07:33
x44x45x41x4E has joined #ruby-lang
07:35
SuMo_D_ has joined #ruby-lang
07:36
SuMo_D_ has quit [Remote host closed the connection]
07:36
arBmind has joined #ruby-lang
07:36
fusillicode has quit [Ping timeout: 250 seconds]
07:36
Forgetful_Lion has joined #ruby-lang
07:37
stan has joined #ruby-lang
07:40
SuMo_D_ has joined #ruby-lang
07:42
codenihal has joined #ruby-lang
07:45
haraoka_ has joined #ruby-lang
07:45
SylarRuby has joined #ruby-lang
07:47
haraoka has quit [Ping timeout: 256 seconds]
07:47
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
07:48
Pomin has quit [Quit: Page closed]
07:48
revath has quit [Ping timeout: 255 seconds]
07:51
lytol has joined #ruby-lang
07:52
cornerma1 has joined #ruby-lang
07:53
codenihal has quit []
07:55
cornerman has quit [Ping timeout: 252 seconds]
07:55
cornerma1 is now known as cornerman
07:56
lytol has quit [Ping timeout: 244 seconds]
07:56
solars has joined #ruby-lang
07:58
relix has joined #ruby-lang
08:00
brushbox has quit [Quit: Leaving.]
08:00
pwnz0r has quit [Remote host closed the connection]
08:00
pwnz0r has joined #ruby-lang
08:03
yfeldblum has quit [Remote host closed the connection]
08:05
pwnz0r has quit [Ping timeout: 256 seconds]
08:05
ta has quit [Remote host closed the connection]
08:07
stardiviner has quit [Ping timeout: 264 seconds]
08:07
lele is now known as Guest24
08:08
bruno- has joined #ruby-lang
08:11
arBmind has quit [Quit: Leaving.]
08:12
bruno- has quit [Ping timeout: 248 seconds]
08:17
morton has joined #ruby-lang
08:20
codenihal has joined #ruby-lang
08:20
Iskarlar has joined #ruby-lang
08:20
stardiviner has joined #ruby-lang
08:24
morton has quit [Quit: Page closed]
08:28
codenihal has quit []
08:31
codenihal has joined #ruby-lang
08:33
Bertg has joined #ruby-lang
08:34
awea has joined #ruby-lang
08:36
Bertg has quit [Remote host closed the connection]
08:38
Bertg has joined #ruby-lang
08:39
stardiviner has quit [Ping timeout: 248 seconds]
08:45
revath has joined #ruby-lang
08:46
elia has joined #ruby-lang
08:49
Integralist has joined #ruby-lang
08:51
Bertg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
08:54
skyrocker has joined #ruby-lang
08:58
codenihal has quit []
09:07
mikecmpbll has joined #ruby-lang
09:09
hahuang61 has quit [Quit: WeeChat 0.4.2]
09:10
yfeldblum has joined #ruby-lang
09:13
brushbox has joined #ruby-lang
09:13
SuMo_D_ has quit [Remote host closed the connection]
09:15
yfeldblum has quit [Ping timeout: 255 seconds]
09:20
<
yorickpeterse >
morning
09:21
AlexAltea has joined #ruby-lang
09:24
stardiviner has joined #ruby-lang
09:25
toretore has joined #ruby-lang
09:26
x44x45x41x4E has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
09:27
yfeldblum has joined #ruby-lang
09:27
x44x45x41x4E has joined #ruby-lang
09:27
x44x45x41x4E has quit [Client Quit]
09:29
yfeldblu_ has joined #ruby-lang
09:29
x44x45x41x4E has joined #ruby-lang
09:31
stardiviner has quit [Ping timeout: 252 seconds]
09:33
yfeldblum has quit [Ping timeout: 256 seconds]
09:34
Guest24 is now known as lele
09:38
franckverrot has joined #ruby-lang
09:40
lytol has joined #ruby-lang
09:41
fusillicode1 has quit [Ping timeout: 256 seconds]
09:41
marr has joined #ruby-lang
09:42
LMity has joined #ruby-lang
09:43
arBmind has joined #ruby-lang
09:43
postmodern has quit [Quit: Leaving]
09:43
fujimura has quit [Read error: Connection reset by peer]
09:44
fujimura has joined #ruby-lang
09:44
stardiviner has joined #ruby-lang
09:44
lytol has quit [Ping timeout: 246 seconds]
09:46
Bertg has joined #ruby-lang
09:49
arBmind has quit [Read error: Connection reset by peer]
09:49
stardiviner has quit [Ping timeout: 264 seconds]
09:50
arBmind has joined #ruby-lang
09:51
ta has joined #ruby-lang
09:53
stef204 has joined #ruby-lang
09:55
LMity has quit [Ping timeout: 250 seconds]
09:57
bruno- has joined #ruby-lang
09:57
codenihal has joined #ruby-lang
09:58
arBmind1 has joined #ruby-lang
10:01
arBmind has quit [Ping timeout: 252 seconds]
10:01
ghostpl_ has joined #ruby-lang
10:02
bruno- has quit [Ping timeout: 255 seconds]
10:02
stardiviner has joined #ruby-lang
10:07
codenihal has quit []
10:08
stardiviner has quit [Ping timeout: 256 seconds]
10:11
hendranata_ has quit [Ping timeout: 256 seconds]
10:12
stef204 has joined #ruby-lang
10:16
tsujp has quit [Ping timeout: 252 seconds]
10:16
tsujp_ has joined #ruby-lang
10:18
Integralist has quit [Ping timeout: 272 seconds]
10:19
Musashi007_ has joined #ruby-lang
10:20
<
tbuehlmann >
yorickpeterse, when having a NodeSet in Oga, how do I get all direct element children?
10:22
stardiviner has joined #ruby-lang
10:23
<
yorickpeterse >
tbuehlmann: a NodeSet itself doesn't have any children
10:25
<
yorickpeterse >
tbuehlmann: getting the children of a Node however is just a matter of calling "children" on it
10:26
<
tbuehlmann >
bare with me, new to this xml terminology. so in order to get an element's
_element_ children, I would use .children(.to_a) and select all Oga::XML::Elements?
10:28
Integralist has joined #ruby-lang
10:28
<
yorickpeterse >
No, you do something like this:
10:28
<
yorickpeterse >
your_element.children # => NodeSet(....)
10:28
<
yorickpeterse >
Unless you want the children of the children of an element
10:29
<
yorickpeterse >
in which case you can do something like
10:29
<
yorickpeterse >
children = NodeSet.new; your_element.children.each { |child| children.concat(child.children) }
10:29
crazysim has quit [Excess Flood]
10:29
<
tbuehlmann >
let's be specific, I have this: Element(name: "pricing_information" children: NodeSet(Text("\n "), Element(name: "cents" children: NodeSet(Text("10"))), Text("\n "), Element(name: "currency" children: NodeSet(Text("EUR"))), Text("\n ")))
10:29
crazysim has joined #ruby-lang
10:30
<
tbuehlmann >
eventually I want a hash with {cents: 10, currency: 'EUR'}
10:31
stardiviner has quit [Ping timeout: 256 seconds]
10:32
<
yorickpeterse >
Ah, I'd just use XPath for that
10:32
<
yorickpeterse >
sec
10:33
<
yorickpeterse >
That gives {"cents"=>"10", "currency"=>"EUR"}
10:33
<
yorickpeterse >
(you can cast values where needed)
10:33
haraoka_ has quit [Ping timeout: 245 seconds]
10:38
stardiviner has joined #ruby-lang
10:39
stardiviner has quit [Client Quit]
10:42
fujimura has quit [Remote host closed the connection]
10:44
brushbox has quit [Quit: Leaving.]
10:44
elia has quit [Read error: Connection reset by peer]
10:44
elia has joined #ruby-lang
10:45
fujimura has joined #ruby-lang
10:51
<
tbuehlmann >
ah, /*, perfect!
10:51
<
tbuehlmann >
thanks
10:53
brushbox has joined #ruby-lang
10:56
stardiviner has joined #ruby-lang
10:56
stardiviner has quit [Client Quit]
10:57
bruno- has joined #ruby-lang
10:59
intinig has joined #ruby-lang
11:00
Musashi007_ has quit [Quit: Musashi007_]
11:02
bruno- has quit [Ping timeout: 246 seconds]
11:02
stardiviner has joined #ruby-lang
11:04
j4cknewt has joined #ruby-lang
11:05
dagda1 has joined #ruby-lang
11:06
dhjondoh has joined #ruby-lang
11:06
fusillicode has joined #ruby-lang
11:08
j4cknewt has quit [Ping timeout: 246 seconds]
11:09
dhjondoh has quit [Client Quit]
11:09
bruno- has joined #ruby-lang
11:10
tkuchiki has quit [Ping timeout: 272 seconds]
11:13
bruno- has quit [Ping timeout: 250 seconds]
11:16
matled- has joined #ruby-lang
11:16
TheMoonMaster has quit [Ping timeout: 256 seconds]
11:16
djinni` has quit [Ping timeout: 256 seconds]
11:17
yeltzooo9 has joined #ruby-lang
11:17
perryh has joined #ruby-lang
11:17
elia_ has joined #ruby-lang
11:18
yeltzooo has quit [Ping timeout: 256 seconds]
11:18
freedrul1 has joined #ruby-lang
11:19
rflot_ has joined #ruby-lang
11:19
funnel_ has joined #ruby-lang
11:20
nux443_ has joined #ruby-lang
11:21
eam_ has joined #ruby-lang
11:22
knu0 has joined #ruby-lang
11:22
toertore has joined #ruby-lang
11:23
crazysim_ has joined #ruby-lang
11:23
jtoy_ has joined #ruby-lang
11:24
relix_ has joined #ruby-lang
11:24
djinni` has joined #ruby-lang
11:24
arBmind has joined #ruby-lang
11:24
pipecloud has joined #ruby-lang
11:24
bougytoo has joined #ruby-lang
11:25
elia has quit [*.net *.split]
11:25
relix has quit [*.net *.split]
11:25
matled has quit [*.net *.split]
11:25
banisterfiend has quit [*.net *.split]
11:25
knu has quit [*.net *.split]
11:25
zenspider has quit [*.net *.split]
11:25
nux443 has quit [*.net *.split]
11:25
deg_ has quit [*.net *.split]
11:25
perry has quit [*.net *.split]
11:25
pipework has quit [*.net *.split]
11:25
jtoy has quit [*.net *.split]
11:25
Caius has quit [*.net *.split]
11:25
bryanl has quit [*.net *.split]
11:25
verto has quit [*.net *.split]
11:25
ericwood has quit [*.net *.split]
11:25
kalleth has quit [*.net *.split]
11:25
pjaspers has quit [*.net *.split]
11:25
DefV has quit [*.net *.split]
11:25
yorickpeterse has quit [*.net *.split]
11:25
deg has joined #ruby-lang
11:25
Lewix has joined #ruby-lang
11:25
pipecloud is now known as pipework
11:25
perryh is now known as perry
11:25
matled- is now known as matled
11:25
brushbox has quit [Quit: Leaving.]
11:25
lytol has joined #ruby-lang
11:26
ItSANgo has joined #ruby-lang
11:26
matp_ has joined #ruby-lang
11:27
nosymptote has joined #ruby-lang
11:28
TheMoonMaster has joined #ruby-lang
11:29
Caius has joined #ruby-lang
11:29
pjaspers has joined #ruby-lang
11:29
bryanl has joined #ruby-lang
11:29
verto has joined #ruby-lang
11:29
ericwood has joined #ruby-lang
11:29
yorickpeterse has joined #ruby-lang
11:29
kalleth has joined #ruby-lang
11:29
DefV has joined #ruby-lang
11:30
bruno- has joined #ruby-lang
11:30
lytol has quit [Ping timeout: 264 seconds]
11:30
crazysim has quit [*.net *.split]
11:30
arBmind1 has quit [*.net *.split]
11:30
toretore has quit [*.net *.split]
11:30
solars has quit [*.net *.split]
11:30
matp has quit [*.net *.split]
11:30
webhat has quit [*.net *.split]
11:30
eam has quit [*.net *.split]
11:30
justinweiss has quit [*.net *.split]
11:30
freedrull has quit [*.net *.split]
11:30
funnel has quit [*.net *.split]
11:30
tdy has quit [*.net *.split]
11:30
bougyman has quit [*.net *.split]
11:30
tmi_ has quit [*.net *.split]
11:30
rflot has quit [*.net *.split]
11:30
riotjones has quit [*.net *.split]
11:30
ascarter has quit [*.net *.split]
11:30
kith has quit [*.net *.split]
11:30
justinmcp has quit [*.net *.split]
11:30
ljarvis has quit [*.net *.split]
11:30
Xney has quit [*.net *.split]
11:30
segy has quit [*.net *.split]
11:30
anekos has quit [*.net *.split]
11:30
jamo_ has quit [*.net *.split]
11:30
chadrien has quit [*.net *.split]
11:30
hackeron has quit [*.net *.split]
11:30
apoc has quit [*.net *.split]
11:30
Keltia has quit [*.net *.split]
11:30
zz_sMecKs has quit [*.net *.split]
11:30
bkutil has quit [*.net *.split]
11:30
Muz has quit [*.net *.split]
11:30
funnel_ is now known as funnel
11:30
crazysim_ is now known as crazysim
11:31
revath has quit [Ping timeout: 248 seconds]
11:31
rflot_ is now known as rflot
11:31
solars has joined #ruby-lang
11:32
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
11:32
haraoka has joined #ruby-lang
11:33
zenspider has joined #ruby-lang
11:33
webhat_ has joined #ruby-lang
11:33
riotjones has joined #ruby-lang
11:33
ascarter has joined #ruby-lang
11:33
hackeron has joined #ruby-lang
11:33
bkutil has joined #ruby-lang
11:33
segy has joined #ruby-lang
11:33
anekos has joined #ruby-lang
11:33
jamo_ has joined #ruby-lang
11:33
kith has joined #ruby-lang
11:33
justinmcp has joined #ruby-lang
11:33
apoc has joined #ruby-lang
11:33
zz_sMecKs has joined #ruby-lang
11:33
chadrien has joined #ruby-lang
11:33
Muz has joined #ruby-lang
11:33
Keltia has joined #ruby-lang
11:33
ljarvis has joined #ruby-lang
11:33
Xney has joined #ruby-lang
11:36
ldnunes has joined #ruby-lang
11:39
fclausen has joined #ruby-lang
11:40
Bertg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
11:40
chinmay_dd has joined #ruby-lang
11:41
fujimura has quit [Remote host closed the connection]
11:41
Olipro has joined #ruby-lang
11:42
Olipro is now known as Guest81498
11:44
Guest37462 has quit [Ping timeout: 252 seconds]
11:45
fujimura has joined #ruby-lang
11:47
revath has joined #ruby-lang
11:47
Guest81498 has quit [Ping timeout: 252 seconds]
11:48
fujimura has quit [Remote host closed the connection]
11:48
6A4ABYMS5 has joined #ruby-lang
11:49
fujimura has joined #ruby-lang
11:51
fclausen has quit [Ping timeout: 272 seconds]
11:52
Olipro_ has joined #ruby-lang
11:53
Olipro_ is now known as Guest72521
11:57
fujimura has quit [Remote host closed the connection]
12:09
intinig has quit [Remote host closed the connection]
12:10
intinig has joined #ruby-lang
12:12
ruby-lang026 has joined #ruby-lang
12:12
intinig has quit [Remote host closed the connection]
12:12
<
ruby-lang026 >
test
12:12
intinig has joined #ruby-lang
12:13
a7d7p has joined #ruby-lang
12:13
Mon_Ouie has joined #ruby-lang
12:14
ledestin has joined #ruby-lang
12:14
<
apeiros >
ruby-lang026: test failed. please reboot your computer.
12:16
the_real_intinig has joined #ruby-lang
12:16
ruby-lang026 has quit [Ping timeout: 246 seconds]
12:18
tcopeland has joined #ruby-lang
12:18
intinig has quit [Ping timeout: 246 seconds]
12:19
nathanstitt has joined #ruby-lang
12:20
<
yorickpeterse >
.......F...
12:21
x44x45x41x4E has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
12:22
banister has joined #ruby-lang
12:23
x44x45x41x4E has joined #ruby-lang
12:24
nathanstitt has quit [Quit: Laters]
12:24
charliesome has joined #ruby-lang
12:30
Bertg has joined #ruby-lang
12:34
the_real_intinig has quit [Remote host closed the connection]
12:34
<
Eising >
*sigh* here we go again
12:35
<
Eising >
I'm parsing cisco config files in ruby
12:35
<
Eising >
I've done this a billion times now, but I can't find my old code
12:35
<
Eising >
so I'm reinventing the wheel :)
12:35
<
Eising >
besides, there's no way I can do it in any elegant way
12:35
<
a7d7p >
I was going to say… do you mean “It’s Thursday”?
12:35
<
Eising >
it's just a long list of regexp
12:35
<
jhass >
gemify it this time!
12:42
<
yorickpeterse >
Eising: if it requires keeping track of any form of state I'd recommend Ragel
12:42
x44x45x41x4E is now known as [Away]x44x45x41x
12:43
[Away]x44x45x41x is now known as x44x45x41x4E
12:43
x44x45x41x4E has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
12:46
<
rob_ >
it's nasty but simple, uses regexps
12:46
<
Eising >
rob_: that's more like it :)
12:46
<
Eising >
yorickpeterse: I think that would be over the top in terms of complexity
12:46
<
Eising >
rob_: It's interesting to see your way of solving it
12:46
<
Eising >
rob_: you certainly solve it more elegantly than I do
12:47
<
rob_ >
think i tried writing parslet and treetop grammars, too
12:47
<
rob_ >
at least they appear to exist in that repository, but look incomplete
12:47
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:47
<
yorickpeterse >
Eising: not sure what config format you're dealing with, but it's useful if the config format is context specific
12:48
<
Eising >
yorickpeterse: certainly.
12:48
<
yorickpeterse >
e.g. XML
12:51
<
Eising >
rob_: Consider your code forked :D
12:54
<
Eising >
rob_: do Dell switches end interface blocks with exit? I've never seen a dell switch config...
12:54
shazaum has joined #ruby-lang
12:55
dhjondoh has joined #ruby-lang
12:56
Mon_Ouie has quit [Ping timeout: 264 seconds]
12:56
b_hoffman has joined #ruby-lang
12:56
banister has joined #ruby-lang
12:56
<
rob_ >
Eising: i can't remember, sorry :)
12:56
banister has quit [Max SendQ exceeded]
12:56
sgambino has joined #ruby-lang
12:56
<
rob_ >
havent looked at a switch in the last year
12:58
fujimura has joined #ruby-lang
12:58
benlovell has joined #ruby-lang
12:58
hahuang65 has joined #ruby-lang
13:01
banister has joined #ruby-lang
13:02
fujimura has quit [Ping timeout: 252 seconds]
13:03
ArchRogem has joined #ruby-lang
13:04
hahuang65 has quit [Ping timeout: 265 seconds]
13:06
j4cknewt has joined #ruby-lang
13:07
SylarRuby has quit [Remote host closed the connection]
13:07
Integralist has quit [Ping timeout: 252 seconds]
13:07
benlovell has quit [Ping timeout: 244 seconds]
13:09
kerunaru has quit [Read error: Connection reset by peer]
13:09
Forgetful_Lion has quit [Quit: laters]
13:10
sankaber has joined #ruby-lang
13:10
j4cknewt has quit [Ping timeout: 264 seconds]
13:11
b_hoffman has quit [Quit: b_hoffman]
13:14
vozcelik has joined #ruby-lang
13:14
tomaz_b has joined #ruby-lang
13:14
enebo has joined #ruby-lang
13:14
<
Eising >
rob_: okay. Thanks anyway. I'll try to convert your code to match a cisco config instead. They are very similar
13:14
lytol has joined #ruby-lang
13:15
rsl has joined #ruby-lang
13:17
davispuh has joined #ruby-lang
13:19
arBmind has quit [Ping timeout: 252 seconds]
13:19
lytol has quit [Ping timeout: 255 seconds]
13:19
arBmind has joined #ruby-lang
13:20
justinweiss has joined #ruby-lang
13:22
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:23
jgpawletko has joined #ruby-lang
13:24
shazaum has quit [Quit: Leaving]
13:25
shazaum has joined #ruby-lang
13:29
malconis has joined #ruby-lang
13:29
malconis has quit [Remote host closed the connection]
13:30
malconis has joined #ruby-lang
13:30
AugustoCesar has quit [Quit: Leaving.]
13:33
bougytoo has quit [Changing host]
13:33
bougytoo has joined #ruby-lang
13:33
kfpratt has quit [Ping timeout: 256 seconds]
13:34
AugustoCesar has joined #ruby-lang
13:34
tomaz_b has quit [Quit: Leaving]
13:35
intinig has joined #ruby-lang
13:36
<
yorickpeterse >
Argh, TIL about Object#test
13:36
<
yorickpeterse >
why the fuck is that defined on Object
13:37
Guest17 has joined #ruby-lang
13:37
<
yorickpeterse >
combination of method_missing and "test" as a method call, thinking that would delegate nicely to method_missing
13:37
<
yorickpeterse >
nope, Object#test in your face
13:38
<
yorickpeterse >
oh, Kernel actually
13:38
<
yorickpeterse >
even worse
13:38
<
yorickpeterse >
so it's everywhere
13:38
<
jhass >
BasicObject ?
13:38
<
apeiros >
it should be private and delegate nicely
13:38
<
apeiros >
@ yorickpeterse
13:38
<
yorickpeterse >
apeiros: I'm using instance_exec
13:38
<
yorickpeterse >
also BasicObject doesn't work, my tests rely on == :/
13:38
<
apeiros >
should IMO still work
13:38
<
yorickpeterse >
apeiros: neg
13:39
b_hoffman has joined #ruby-lang
13:39
<
yorickpeterse >
I basically have this: some_object_with_custom_method_missing.test 10
13:39
<
jhass >
eh, might be easier to readd == to a BasicObject subclass
13:39
<
yorickpeterse >
which gives
13:39
<
apeiros >
yorickpeterse: instance_exec with string or with block?
13:39
<
yorickpeterse >
ArgumentError:
13:39
<
yorickpeterse >
unknown command "\x0A"
13:39
<
yorickpeterse >
apeiros: block
13:39
<
yorickpeterse >
jhass: Hm, that might work
13:39
<
apeiros >
ah, actually, yeah
13:39
<
apeiros >
yorickpeterse: undef it
13:40
<
yorickpeterse >
Hm, that goes into recursion somewhere
13:40
<
yorickpeterse >
apeiros: I'd have to undef a lot of possible methods
13:41
<
yorickpeterse >
argh, BasicObject also doesn't seem to have block_given?
13:41
<
apeiros >
::Kernel.block_given? iirc
13:42
<
apeiros >
::Kernel.block_given? works
13:42
DivineEntity has quit [Read error: Connection reset by peer]
13:43
<
apeiros >
the things I miss more are *_set, *_get
13:43
shazaum has quit [Quit: Leaving]
13:43
<
apeiros >
ivars, ivar_get, ivar_set
13:43
intinig has quit [Ping timeout: 264 seconds]
13:43
<
yorickpeterse >
lol, is_a? doesn't exist either on BasicObject
13:43
<
yorickpeterse >
and neither does `class`
13:44
<
yorickpeterse >
fantastic
13:44
<
jhass >
it's Basic ;)
13:44
shazaum has joined #ruby-lang
13:44
AugustoCesar has quit [Remote host closed the connection]
13:45
<
yorickpeterse >
Hm well I guess I could transplant Object#is_a? into this class
13:45
sarkyniin has joined #ruby-lang
13:47
sarkyniin has quit [Remote host closed the connection]
13:47
<
yorickpeterse >
hmpf, UnboundMethod#bind only works on instances
13:49
<
jhass >
def method_missing(name, *args, &block); Object.instance_method(name).bind(self).call(*args, &block); end
13:49
<
yorickpeterse >
heh
13:50
<
apeiros >
define_method accepts UnboundMethod
13:50
<
apeiros >
but iirc it fails due to class missmatch
13:50
<
apeiros >
yeah, right: TypeError: bind argument must be a subclass of Object
13:51
fusillicode has quit [Ping timeout: 250 seconds]
13:51
<
apeiros >
so sad. there was a short period in ruby versions where that worked.
13:52
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
13:55
a7d7p has quit [Quit: a7d7p]
13:55
<
apeiros >
the BasicObject concept is still broken IMO
13:55
<
yorickpeterse >
lets not go there
13:55
<
apeiros >
for it to work, most methods from Object would have to be available through other means.
13:56
<
yorickpeterse >
zomg functions
13:56
DivineEntity has joined #ruby-lang
13:57
<
yorickpeterse >
Come to think of it, in JS you can use this disgusting code:
13:57
<
apeiros >
and even if it was as class methods on BasicObject. e.g. BasicObject.is_a?(obj, other_obj)
13:57
<
yorickpeterse >
[].forEach.apply(some_other_object, function() { ... });
13:57
<
yorickpeterse >
or w/e the pattern was
13:57
<
yorickpeterse >
I guess in Rbx I could take the bytecode of Object#is_a? and inject it into BasicObject
13:57
<
apeiros >
yeah, apply & call
13:58
<
yorickpeterse >
but then I'd buy myself a one way ticket to hell
13:58
<
apeiros >
work on all objects with all functions
13:58
Musashi007 has joined #ruby-lang
13:58
<
yorickpeterse >
now I'm curious, lets see if I can do that
13:58
Xzyx987X_ has joined #ruby-lang
13:59
airdisa has joined #ruby-lang
13:59
Bertg has quit [Remote host closed the connection]
13:59
Guest17 has quit [Ping timeout: 246 seconds]
13:59
Bertg has joined #ruby-lang
13:59
intinig has joined #ruby-lang
14:01
Xzyx987X has quit [Ping timeout: 245 seconds]
14:02
<
yorickpeterse >
oh, this is actually super easy on Rbx
14:02
<
yorickpeterse >
method = Object.instance_method(:is_a?); method.call_on_instance(BasicObject.new, BasicObject) # => true
14:02
Integralist has joined #ruby-lang
14:02
<
yorickpeterse >
meh, that was boring
14:04
yfeldblu_ has quit [Ping timeout: 256 seconds]
14:08
solars has quit [Ping timeout: 256 seconds]
14:08
tsujp_ has quit [Quit: tsujp is snoozing]
14:08
ruby-lang has joined #ruby-lang
14:08
centrx has joined #ruby-lang
14:10
dhjondoh has quit [Quit: dhjondoh]
14:11
intinig has quit [Remote host closed the connection]
14:11
benlovell has joined #ruby-lang
14:12
intinig has joined #ruby-lang
14:13
SylarRuby has joined #ruby-lang
14:13
shinnya has joined #ruby-lang
14:13
bougytoo is now known as bougyman
14:14
<
yorickpeterse >
lol, this file has 57 LOC
14:14
<
yorickpeterse >
and 126 lines of comments
14:16
agarie has joined #ruby-lang
14:17
shazaum has quit [Quit: Leaving]
14:18
benlovell has quit [Ping timeout: 264 seconds]
14:19
havenwood has joined #ruby-lang
14:19
shazaum has joined #ruby-lang
14:20
banister has joined #ruby-lang
14:20
intinig has quit [Ping timeout: 256 seconds]
14:22
shazaum has quit [Client Quit]
14:24
Musashi007 has quit [Quit: Musashi007]
14:25
AugustoCesar has joined #ruby-lang
14:27
iamninja has quit [Quit: WeeChat 1.1.1]
14:31
fusillicode has joined #ruby-lang
14:34
j4cknewt has joined #ruby-lang
14:37
MXfive has joined #ruby-lang
14:38
chinmay_dd has quit [Quit: Leaving]
14:39
AugustoCesar has quit [Remote host closed the connection]
14:39
AugustoCesar has joined #ruby-lang
14:41
iamninja has joined #ruby-lang
14:42
wprice has joined #ruby-lang
14:43
mdarby has joined #ruby-lang
14:44
blarghlarghl has quit [Quit: Changing server]
14:44
benlovell has joined #ruby-lang
14:44
j4cknewt has quit [Remote host closed the connection]
14:46
fujimura has joined #ruby-lang
14:47
revath has quit [Ping timeout: 255 seconds]
14:48
j4cknewt has joined #ruby-lang
14:49
airdisa has quit [Remote host closed the connection]
14:50
chouhoulis has joined #ruby-lang
14:50
airdisa has joined #ruby-lang
14:51
fujimura has quit [Ping timeout: 252 seconds]
14:51
airdisa_ has joined #ruby-lang
14:51
AugustoCesar has quit [Remote host closed the connection]
14:51
AugustoCesar has joined #ruby-lang
14:51
kfpratt has joined #ruby-lang
14:52
wprice has left #ruby-lang [#ruby-lang]
14:52
zucker has joined #ruby-lang
14:52
zucker has quit [Remote host closed the connection]
14:54
airdisa has quit [Ping timeout: 256 seconds]
14:55
tsujp has joined #ruby-lang
14:56
iamninja has quit [Ping timeout: 272 seconds]
14:58
stardiviner has quit [Ping timeout: 245 seconds]
14:59
<
apeiros >
anybody remember who run the FAQ page for this channel a couple of years ago?
14:59
sepp2k has joined #ruby-lang
15:01
Xzanron has quit [Quit: Leaving]
15:01
ta has quit [Remote host closed the connection]
15:02
benlovell has quit [Ping timeout: 256 seconds]
15:02
tacit7 has joined #ruby-lang
15:03
cored has joined #ruby-lang
15:03
cored has quit [Changing host]
15:03
cored has joined #ruby-lang
15:05
charliesome has quit [Quit: zzz]
15:07
arBmind1 has joined #ruby-lang
15:08
whippythellama has joined #ruby-lang
15:08
arBmind has quit [Ping timeout: 245 seconds]
15:10
jefus__ has joined #ruby-lang
15:11
Integralist has quit [Quit: leaving]
15:11
Integralist has joined #ruby-lang
15:11
Integralist has left #ruby-lang [#ruby-lang]
15:11
stardiviner has joined #ruby-lang
15:11
intinig has joined #ruby-lang
15:12
momomomomo has joined #ruby-lang
15:13
x44x45x41x4E has joined #ruby-lang
15:13
jefus_ has quit [Ping timeout: 252 seconds]
15:14
benlovell has joined #ruby-lang
15:15
jefus__ is now known as jefus
15:15
airdisa_ has quit [Remote host closed the connection]
15:15
airdisa has joined #ruby-lang
15:18
michael_mbp has quit [Excess Flood]
15:18
airdisa_ has joined #ruby-lang
15:20
michael_mbp has joined #ruby-lang
15:20
airdisa has quit [Ping timeout: 256 seconds]
15:20
stamina has joined #ruby-lang
15:21
eam_ is now known as eam
15:21
x44x45x41x4E has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
15:22
x44x45x41x4E has joined #ruby-lang
15:22
x44x45x41x4E is now known as [Away]x44x45x41x
15:22
ffmegaman has quit [Ping timeout: 255 seconds]
15:23
benlovell has quit [Ping timeout: 264 seconds]
15:24
[Away]x44x45x41x is now known as x44x45x41x4E
15:24
x44x45x41x4E is now known as [Away]x44x45x41x
15:24
[Away]x44x45x41x is now known as x44x45x41x4E
15:25
x44x45x41x4E is now known as [Away]x44x45x41x
15:25
iamninja has joined #ruby-lang
15:26
x44x45x41x4E has joined #ruby-lang
15:29
[Away]x44x45x41x has quit [Ping timeout: 252 seconds]
15:30
iamninja has quit [Ping timeout: 250 seconds]
15:31
riotjones has quit [Remote host closed the connection]
15:31
lele has quit [Ping timeout: 272 seconds]
15:34
elia_ has quit [Read error: Connection reset by peer]
15:34
elia has joined #ruby-lang
15:35
lele has joined #ruby-lang
15:37
intinig has quit [Remote host closed the connection]
15:39
lytol has joined #ruby-lang
15:39
ruby-lang146 has joined #ruby-lang
15:40
ruby-lang146 has quit [Client Quit]
15:40
lytol_ has joined #ruby-lang
15:44
lytol has quit [Ping timeout: 256 seconds]
15:45
ascarter_ has joined #ruby-lang
15:46
symm- has joined #ruby-lang
15:46
ascarter_ has quit [Max SendQ exceeded]
15:47
bantic has joined #ruby-lang
15:48
ascarter has quit [Ping timeout: 246 seconds]
15:48
iamninja has joined #ruby-lang
15:49
JEG2 has joined #ruby-lang
15:50
bb010g has quit [Quit: Connection closed for inactivity]
15:52
hhatch has joined #ruby-lang
15:52
LMity has joined #ruby-lang
15:52
rippa has joined #ruby-lang
15:54
momomomomo has quit [Ping timeout: 255 seconds]
15:54
intinig has joined #ruby-lang
15:55
Lewix has quit [Remote host closed the connection]
15:57
setanta has joined #ruby-lang
16:00
Lewix has joined #ruby-lang
16:00
momomomomo has joined #ruby-lang
16:03
shinnya has quit [Ping timeout: 244 seconds]
16:06
bantic has quit [Quit: bantic]
16:08
agarie has quit [Remote host closed the connection]
16:08
shazaum has joined #ruby-lang
16:09
agarie has joined #ruby-lang
16:09
|jemc| has joined #ruby-lang
16:10
shazaum has quit [Client Quit]
16:12
gwendall has quit []
16:12
x44x45x41x4E has quit [Ping timeout: 264 seconds]
16:13
shazaum has joined #ruby-lang
16:14
agarie has quit [Remote host closed the connection]
16:15
agarie has joined #ruby-lang
16:20
agarie has quit [Remote host closed the connection]
16:21
stamina has quit [Ping timeout: 246 seconds]
16:21
LMity has quit [Ping timeout: 245 seconds]
16:22
malconis has quit [Ping timeout: 264 seconds]
16:25
AugustoCesar has quit [Remote host closed the connection]
16:25
AugustoCesar has joined #ruby-lang
16:26
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:26
momomomomo_ has joined #ruby-lang
16:27
momomomomo has quit [Ping timeout: 245 seconds]
16:27
momomomomo_ is now known as momomomomo
16:28
deol has joined #ruby-lang
16:30
AugustoCesar has quit [Remote host closed the connection]
16:32
riotjones has joined #ruby-lang
16:32
banister has joined #ruby-lang
16:32
banister has quit [Max SendQ exceeded]
16:34
agarie has joined #ruby-lang
16:35
fujimura_ has joined #ruby-lang
16:35
Guest17 has joined #ruby-lang
16:36
vondruch has quit [Quit: Ex-Chat]
16:36
riotjones has quit [Ping timeout: 252 seconds]
16:37
AugustoCesar has joined #ruby-lang
16:39
[H]unt3r has joined #ruby-lang
16:39
bb010g has joined #ruby-lang
16:39
lytol_ has quit [Remote host closed the connection]
16:39
fujimura_ has quit [Ping timeout: 252 seconds]
16:41
lytol has joined #ruby-lang
16:42
mikecmpbll has quit [Quit: ciao.]
16:42
mikecmpbll has joined #ruby-lang
16:43
lytol has quit [Remote host closed the connection]
16:44
workmad3 has joined #ruby-lang
16:45
b_hoffman has quit [Quit: b_hoffman]
16:46
ruby-lang has quit [Quit: Leaving.]
16:46
AugustoCesar1 has joined #ruby-lang
16:46
AugustoCesar1 has quit [Client Quit]
16:46
benlovell has joined #ruby-lang
16:47
arBmind1 has quit [Ping timeout: 250 seconds]
16:48
AugustoCesar has quit [Ping timeout: 252 seconds]
16:50
arBmind has joined #ruby-lang
16:52
benlovel1 has joined #ruby-lang
16:53
benlovell has quit [Ping timeout: 255 seconds]
16:54
momomomomo has quit [Ping timeout: 246 seconds]
16:55
centrx has quit [Quit: Shutting down, Please wait...]
16:58
Miphix has quit [Quit: Leaving]
16:59
chinmay_dd has joined #ruby-lang
17:00
agarie has quit [Remote host closed the connection]
17:00
iliketurtles has joined #ruby-lang
17:01
ghostpl_ has quit [Remote host closed the connection]
17:02
SylarRuby has quit [Remote host closed the connection]
17:04
havenwood has quit [Remote host closed the connection]
17:04
SylarRuby has joined #ruby-lang
17:08
Vivex has quit [Read error: Connection reset by peer]
17:08
iliketurtles has quit [Quit: zzzzz…..]
17:09
iliketurtles has joined #ruby-lang
17:12
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
17:13
b_hoffman has joined #ruby-lang
17:13
benlovel1 has quit [Ping timeout: 252 seconds]
17:13
kfpratt has quit [Remote host closed the connection]
17:13
malconis has joined #ruby-lang
17:18
leat has quit [Ping timeout: 246 seconds]
17:20
leat has joined #ruby-lang
17:21
RobertBirnie has joined #ruby-lang
17:21
benlovell has joined #ruby-lang
17:24
revath has joined #ruby-lang
17:26
benlovell has quit [Ping timeout: 255 seconds]
17:27
bantic has joined #ruby-lang
17:27
<
[H]unt3r >
Does anyone know where I can find a list of deprecated ruby from ruby-1.8.7 to 2.1.0+ ?
17:29
sarkyniin has joined #ruby-lang
17:32
ghostpl_ has joined #ruby-lang
17:34
Asher has quit [Quit: Leaving.]
17:35
elia has quit [Quit: Computer has gone to sleep.]
17:35
revath has quit [Read error: Connection reset by peer]
17:35
revath has joined #ruby-lang
17:35
mikecmpbll has quit [Ping timeout: 256 seconds]
17:36
intinig has quit [Remote host closed the connection]
17:37
intinig has joined #ruby-lang
17:37
<
darix >
[H]unt3r: i dont think there is a complete list
17:38
<
darix >
you would need to go for each release by itself
17:38
<
[H]unt3r >
alright, thank you
17:42
intinig has quit [Ping timeout: 272 seconds]
17:42
chinmay_dd has quit [Remote host closed the connection]
17:43
iamninja has quit [Ping timeout: 256 seconds]
17:45
sarkyniin has quit [Ping timeout: 252 seconds]
17:48
wprice has joined #ruby-lang
17:53
agarie has joined #ruby-lang
17:55
ruby-lang has joined #ruby-lang
17:55
momomomomo has joined #ruby-lang
17:56
fenicks has joined #ruby-lang
17:56
mcclurmc has quit [Ping timeout: 244 seconds]
17:57
hahuang65 has joined #ruby-lang
17:58
Bertg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
18:00
b_hoffman has joined #ruby-lang
18:00
momomomomo has quit [Ping timeout: 248 seconds]
18:02
ta has joined #ruby-lang
18:03
Mon_Ouie has joined #ruby-lang
18:03
Mon_Ouie has quit [Changing host]
18:03
Mon_Ouie has joined #ruby-lang
18:03
tenderlove has quit [Quit: Leaving...]
18:06
ta has quit [Ping timeout: 256 seconds]
18:06
tenderlove has joined #ruby-lang
18:06
intinig has joined #ruby-lang
18:08
momomomomo has joined #ruby-lang
18:08
workmad3 has quit [Ping timeout: 264 seconds]
18:08
intinig has quit [Remote host closed the connection]
18:09
intinig has joined #ruby-lang
18:10
clamstar has joined #ruby-lang
18:12
aeze has joined #ruby-lang
18:13
intinig has quit [Ping timeout: 264 seconds]
18:14
skade has joined #ruby-lang
18:14
sarkyniin has joined #ruby-lang
18:14
ta has joined #ruby-lang
18:15
baweaver has joined #ruby-lang
18:16
deol has quit [Ping timeout: 244 seconds]
18:17
ta has quit [Remote host closed the connection]
18:17
ta has joined #ruby-lang
18:19
deol has joined #ruby-lang
18:19
wet88 has joined #ruby-lang
18:19
fusillicode1 has joined #ruby-lang
18:21
<
jhass >
[H]unt3r: everything before 2.0 is EOL, 2.0 is in security maintenance phase until late february 2016
18:23
fusillicode has quit [Ping timeout: 252 seconds]
18:24
fujimura has joined #ruby-lang
18:24
skade has quit [Quit: Computer has gone to sleep.]
18:27
baweaver has quit [Remote host closed the connection]
18:29
fujimura has quit [Ping timeout: 265 seconds]
18:29
tacit7 has quit [Quit: Leaving.]
18:30
benlovell has joined #ruby-lang
18:32
kith has quit [Read error: Connection reset by peer]
18:32
postmodern has joined #ruby-lang
18:32
kith has joined #ruby-lang
18:35
caseydriscoll has quit [Remote host closed the connection]
18:39
mcclurmc has joined #ruby-lang
18:40
mcclurmc has quit [Remote host closed the connection]
18:40
mcclurmc has joined #ruby-lang
18:41
micmus has joined #ruby-lang
18:42
wprice has quit [Quit: wprice]
18:43
Guest17 has quit [Ping timeout: 272 seconds]
18:46
wallerdev has joined #ruby-lang
18:47
skade has joined #ruby-lang
18:49
benanne has joined #ruby-lang
18:52
robbyoconnor has quit [Ping timeout: 250 seconds]
18:52
dellavg_ has joined #ruby-lang
18:52
[H]unt3r has quit [Quit: Leaving]
18:56
djbkd has joined #ruby-lang
18:57
caseydriscoll has joined #ruby-lang
18:58
CanTonic has joined #ruby-lang
18:58
CanTonic has quit [Client Quit]
19:00
mcclurmc has quit [Remote host closed the connection]
19:01
ttilley has joined #ruby-lang
19:01
ttilley has quit [Changing host]
19:01
ttilley has joined #ruby-lang
19:02
davispuh is now known as davism
19:02
davism is now known as davispuh
19:03
mcclurmc has joined #ruby-lang
19:03
mcclurmc has quit [Remote host closed the connection]
19:04
tsujp has quit [Quit: tsujp is snoozing]
19:05
Obfuscate` has joined #ruby-lang
19:06
Obfuscate has quit [Ping timeout: 250 seconds]
19:06
Obfuscate` is now known as Obfuscate
19:09
tacit7 has joined #ruby-lang
19:09
duderonomy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
19:10
bb010g has quit [Quit: Connection closed for inactivity]
19:11
baweaver has joined #ruby-lang
19:11
caseydriscoll has quit [Ping timeout: 255 seconds]
19:15
caseydriscoll has joined #ruby-lang
19:17
agarie has quit [Remote host closed the connection]
19:19
zerocool has joined #ruby-lang
19:19
baweaver has quit [Remote host closed the connection]
19:20
<
zerocool >
Hey guys, say I a method, I want that method to return a list of values. Those values will be the parameters of a call to another method. What would be a clean way to accomplish this?
19:20
<
zerocool >
def prepare_params ..... return (:user, "...", "...") end
19:21
<
jhass >
zerocool: best don't abstract it, say what you really want to do
19:21
<
apeiros >
zerocool: return an array, pass it into the next method with a splat.
19:21
ghostpl_ has quit [Remote host closed the connection]
19:21
skade has quit [Quit: Computer has gone to sleep.]
19:22
<
zerocool >
i will read into this
19:23
skade has joined #ruby-lang
19:23
bb010g has joined #ruby-lang
19:24
<
apeiros >
>> def foo(a, b, c); p a: a, b: b, c: c; end; args = [1,2,3]; foo(*args)
19:24
<
apeiros >
that * is the splat operator
19:24
skade has quit [Read error: Connection reset by peer]
19:24
<
zerocool >
An idea I had is. on the second method cal. do: process_user(response[0], response[1]....)
19:24
agarie has joined #ruby-lang
19:24
<
apeiros >
that's what splat does for you
19:25
<
apeiros >
process_user(*response)
19:25
<
zerocool >
impressive!
19:25
caseydriscoll has quit [Ping timeout: 256 seconds]
19:25
<
zerocool >
i was about to write my own function. thank you so much
19:26
relix_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
19:28
Lewix has quit [Remote host closed the connection]
19:28
Lewix has joined #ruby-lang
19:28
Lewix has quit [Changing host]
19:28
Lewix has joined #ruby-lang
19:32
iliketurtles has quit [Quit: zzzzz…..]
19:32
chouhoul_ has joined #ruby-lang
19:33
<
cout >
seeing Jim Weirich's name on the c2.com wiki makes me sad :(
19:33
mikecmpbll has joined #ruby-lang
19:34
banister has joined #ruby-lang
19:34
baweaver has joined #ruby-lang
19:35
chouhoulis has quit [Ping timeout: 248 seconds]
19:36
wallerdev has quit [Quit: wallerdev]
19:39
duderonomy has joined #ruby-lang
19:40
kadoppe has quit [Ping timeout: 272 seconds]
19:41
relix has joined #ruby-lang
19:41
agarie has quit [Remote host closed the connection]
19:41
agarie has joined #ruby-lang
19:41
centrx has joined #ruby-lang
19:42
kadoppe has joined #ruby-lang
19:43
Musashi007 has joined #ruby-lang
19:43
Lewix has quit [Remote host closed the connection]
19:43
b_hoffman has quit [Quit: b_hoffman]
19:44
Musashi007 has quit [Client Quit]
19:44
chouhoul_ has quit [Read error: Connection reset by peer]
19:44
chouhoulis has joined #ruby-lang
19:45
Musashi007 has joined #ruby-lang
19:45
lun_ has joined #ruby-lang
19:49
benlovell has quit [Ping timeout: 272 seconds]
19:49
arBmind has quit [Quit: Leaving.]
19:49
lytol has joined #ruby-lang
19:53
djbkd has quit [Remote host closed the connection]
19:53
bantic has quit [Quit: bantic]
19:55
lytol has quit [Remote host closed the connection]
19:58
momomomomo has quit [Ping timeout: 246 seconds]
20:04
iliketurtles has joined #ruby-lang
20:04
micmus has quit [Ping timeout: 272 seconds]
20:05
yfeldblum has joined #ruby-lang
20:05
fenicks has quit [Read error: Connection reset by peer]
20:08
iliketurtles has quit [Remote host closed the connection]
20:08
djbkd has joined #ruby-lang
20:09
lun_ has quit [Remote host closed the connection]
20:09
iliketurtles has joined #ruby-lang
20:10
riotjones has joined #ruby-lang
20:10
skade has joined #ruby-lang
20:11
cornerma1 has joined #ruby-lang
20:13
fujimura has joined #ruby-lang
20:14
momomomomo has joined #ruby-lang
20:14
cornerman has quit [Ping timeout: 265 seconds]
20:14
cornerma1 is now known as cornerman
20:15
riotjones has quit [Ping timeout: 256 seconds]
20:16
b_hoffman has joined #ruby-lang
20:17
fujimura has quit [Ping timeout: 245 seconds]
20:17
iliketurtles has joined #ruby-lang
20:18
<
yorickpeterse >
hmm, euruko CFP is open
20:18
<
yorickpeterse >
that means it's that time of the year again to try and come up with a nice topic
20:19
skade has quit [Quit: Computer has gone to sleep.]
20:19
djbkd has quit [Remote host closed the connection]
20:19
bantic has joined #ruby-lang
20:20
djbkd has joined #ruby-lang
20:21
cored has quit [Ping timeout: 264 seconds]
20:21
ghostpl_ has joined #ruby-lang
20:22
djbkd has quit [Remote host closed the connection]
20:22
existensil has joined #ruby-lang
20:22
djbkd has joined #ruby-lang
20:23
existensil has quit [Client Quit]
20:24
existensil has joined #ruby-lang
20:24
GBrawl has joined #ruby-lang
20:28
ghostpl_ has quit [Ping timeout: 245 seconds]
20:28
symm- has quit [Ping timeout: 245 seconds]
20:31
solars has joined #ruby-lang
20:32
GBrawl has quit [Quit: (null)]
20:33
existensil has quit [Quit: WeeChat 0.4.2]
20:33
wallerdev has joined #ruby-lang
20:35
revath has quit [Ping timeout: 246 seconds]
20:35
existensil has joined #ruby-lang
20:40
arBmind has joined #ruby-lang
20:40
micmus has joined #ruby-lang
20:43
SylarRuby has quit []
20:45
ascarter has joined #ruby-lang
20:48
existensil has quit [Quit: WeeChat 0.4.2]
20:48
existensil has joined #ruby-lang
20:50
baweaver has quit [Remote host closed the connection]
20:50
wprice has joined #ruby-lang
20:50
leat has quit [Ping timeout: 256 seconds]
20:50
ascarter has quit [Ping timeout: 265 seconds]
20:51
baweaver has joined #ruby-lang
20:51
aeze has quit [Quit: aeze]
20:53
ascarter has joined #ruby-lang
20:53
iamninja has joined #ruby-lang
20:53
existensil has quit [Quit: WeeChat 0.4.2]
20:54
GBrawl has joined #ruby-lang
20:54
existensil has joined #ruby-lang
20:55
xmesg has joined #ruby-lang
20:55
baweaver has quit [Ping timeout: 252 seconds]
20:57
SylarRuby has joined #ruby-lang
20:57
existensil has quit [Client Quit]
20:59
xmesg has quit [Quit: Leaving]
21:00
deol has quit [Read error: Connection reset by peer]
21:00
deol has joined #ruby-lang
21:01
benanne has quit [Quit: kbai]
21:02
rbowlby has joined #ruby-lang
21:03
dellavg_ has quit [Ping timeout: 264 seconds]
21:06
mcclurmc has joined #ruby-lang
21:06
shazaum has quit [Quit: Leaving]
21:09
intinig has joined #ruby-lang
21:09
micmus has quit [Ping timeout: 265 seconds]
21:13
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
21:14
intinig has quit [Ping timeout: 272 seconds]
21:14
fclausen has joined #ruby-lang
21:15
ldnunes has quit [Quit: Leaving]
21:15
baweaver has joined #ruby-lang
21:16
relix has joined #ruby-lang
21:17
j4cknewt has quit [Remote host closed the connection]
21:20
banister is now known as banisterfiend
21:22
fclausen has quit [Ping timeout: 272 seconds]
21:23
robmiller has joined #ruby-lang
21:23
djbkd has quit [Remote host closed the connection]
21:24
charliesome has joined #ruby-lang
21:25
symm- has joined #ruby-lang
21:26
ghostpl_ has joined #ruby-lang
21:26
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
21:27
wprice has quit [Quit: wprice]
21:27
djbkd has joined #ruby-lang
21:33
ghostpl_ has quit [Ping timeout: 256 seconds]
21:34
rbowlby_ has joined #ruby-lang
21:34
j4cknewt has joined #ruby-lang
21:34
GBrawl has quit [Quit: (null)]
21:36
agarie has quit [Remote host closed the connection]
21:36
symm- has quit [Read error: Connection reset by peer]
21:36
GBrawl has joined #ruby-lang
21:37
rbowlby has quit [Ping timeout: 252 seconds]
21:37
micmus has joined #ruby-lang
21:37
symm- has joined #ruby-lang
21:38
mdarby has quit [Remote host closed the connection]
21:39
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
21:42
AlexAltea has quit [Ping timeout: 272 seconds]
21:42
baweaver has quit [Remote host closed the connection]
21:46
ruby-lang has quit [Quit: Leaving.]
21:46
baweaver has joined #ruby-lang
21:47
baweaver has quit [Remote host closed the connection]
21:50
Asher has joined #ruby-lang
21:51
baweaver has joined #ruby-lang
21:53
wet88 has quit [Quit: Quiting the chat]
21:53
agarie has joined #ruby-lang
21:53
wallerdev has quit [Quit: wallerdev]
21:54
agarie has quit [Client Quit]
21:56
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
21:58
Lewix has joined #ruby-lang
22:00
riotjones has joined #ruby-lang
22:01
fujimura has joined #ruby-lang
22:04
djbkd has quit [Remote host closed the connection]
22:04
riotjones has quit [Ping timeout: 252 seconds]
22:07
fujimura has quit [Ping timeout: 264 seconds]
22:08
djbkd has joined #ruby-lang
22:09
lytol has joined #ruby-lang
22:10
j5s7 has joined #ruby-lang
22:10
Lewix has quit [Remote host closed the connection]
22:11
symm- has quit [Ping timeout: 252 seconds]
22:12
brushbox has joined #ruby-lang
22:13
dorei has joined #ruby-lang
22:14
banisterfiend has quit [Remote host closed the connection]
22:16
lytol has quit [Ping timeout: 250 seconds]
22:16
lytol has joined #ruby-lang
22:19
LMity has joined #ruby-lang
22:19
wprice has joined #ruby-lang
22:20
zerocool has quit [Ping timeout: 246 seconds]
22:20
wprice has left #ruby-lang [#ruby-lang]
22:25
nisstyre has quit [Ping timeout: 264 seconds]
22:25
fclausen has joined #ruby-lang
22:27
banister has joined #ruby-lang
22:27
enebo has quit [Quit: enebo]
22:28
whippythellama has quit [Quit: whippythellama]
22:29
ghostpl_ has joined #ruby-lang
22:30
nisstyre has joined #ruby-lang
22:31
sobol has joined #ruby-lang
22:32
LMity has quit [Ping timeout: 256 seconds]
22:33
lytol_ has joined #ruby-lang
22:34
ghostpl_ has quit [Ping timeout: 272 seconds]
22:34
lytol has quit [Ping timeout: 265 seconds]
22:35
sarkyniin has quit [Quit: Quit]
22:37
SylarRuby has quit [Remote host closed the connection]
22:38
djbkd has quit [Remote host closed the connection]
22:39
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
22:41
djbkd has joined #ruby-lang
22:43
aeze has joined #ruby-lang
22:43
sobol has quit [Quit: Ex-Chat]
22:44
wallerdev has joined #ruby-lang
22:47
j5s7 has quit [Quit: leaving]
22:50
bb010g has quit [Quit: Connection closed for inactivity]
22:50
crdpink has quit [Ping timeout: 265 seconds]
22:52
bantic has quit [Quit: bantic]
22:53
b_hoffman has quit [Quit: b_hoffman]
22:53
workmad3 has joined #ruby-lang
22:53
charliesome has quit [Quit: zzz]
22:54
sgambino has quit [Remote host closed the connection]
22:56
sankaber has joined #ruby-lang
22:58
robmiller has quit [Quit: robmiller]
22:58
kfpratt has joined #ruby-lang
22:58
crdpink has joined #ruby-lang
22:59
ascarter_ has joined #ruby-lang
22:59
ascarter has quit [Read error: Connection reset by peer]
23:01
micmus has quit [Ping timeout: 248 seconds]
23:01
kfpratt has quit [Remote host closed the connection]
23:02
djbkd has quit [Remote host closed the connection]
23:03
ascarter_ has quit [Client Quit]
23:04
tacit7 has quit [Quit: Leaving.]
23:04
djbkd has joined #ruby-lang
23:05
elia has joined #ruby-lang
23:07
elia has quit [Read error: Connection reset by peer]
23:07
skade has joined #ruby-lang
23:07
elia has joined #ruby-lang
23:07
Lewix has joined #ruby-lang
23:08
djbkd has quit [Remote host closed the connection]
23:08
djbkd has joined #ruby-lang
23:09
skade has quit [Client Quit]
23:10
charliesome has joined #ruby-lang
23:10
elia has quit [Client Quit]
23:13
baweaver has quit [Remote host closed the connection]
23:15
elia has joined #ruby-lang
23:15
elia has quit [Client Quit]
23:17
SylarRuby has joined #ruby-lang
23:18
sepp2k has quit [Quit: Konversation terminated!]
23:18
existensil has joined #ruby-lang
23:19
djbkd has quit [Remote host closed the connection]
23:19
izietto has joined #ruby-lang
23:20
skade has joined #ruby-lang
23:22
izietto has quit [Client Quit]
23:22
charliesome has quit [Quit: zzz]
23:23
skade has quit [Client Quit]
23:24
setanta has quit [Quit: Leaving]
23:29
baweaver has joined #ruby-lang
23:30
ghostpl_ has joined #ruby-lang
23:30
fumduq has quit [Ping timeout: 252 seconds]
23:30
jefus has quit [Ping timeout: 264 seconds]
23:30
skade has joined #ruby-lang
23:31
SylarRuby has quit [Remote host closed the connection]
23:31
jefus has joined #ruby-lang
23:32
arBmind has quit [Ping timeout: 248 seconds]
23:34
fumduq has joined #ruby-lang
23:34
Lewix has quit [Remote host closed the connection]
23:36
momomomomo_ has joined #ruby-lang
23:36
momomomomo has quit [Ping timeout: 250 seconds]
23:36
momomomomo_ is now known as momomomomo
23:40
solars has quit [Ping timeout: 256 seconds]
23:40
ghostpl_ has quit [Ping timeout: 248 seconds]
23:41
arBmind has joined #ruby-lang
23:44
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
23:44
ascarter has joined #ruby-lang
23:44
rickruby has joined #ruby-lang
23:48
baweaver has quit [Remote host closed the connection]
23:49
riotjones has joined #ruby-lang
23:50
fujimura has joined #ruby-lang
23:50
djbkd has joined #ruby-lang
23:54
riotjones has quit [Ping timeout: 256 seconds]
23:54
jdecuirm has joined #ruby-lang
23:54
fujimura has quit [Ping timeout: 246 seconds]
23:56
charliesome has joined #ruby-lang