00:14
ap4y has quit [Ping timeout: 276 seconds]
00:15
x86sk has joined #ruby
00:16
Freshnuts has joined #ruby
00:33
DaRock has joined #ruby
00:38
lucasb has quit [Quit: Connection closed for inactivity]
00:47
AJA4350 has quit [Quit: AJA4350]
00:49
roaet has joined #ruby
00:49
tsujp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:53
roaet has quit [Ping timeout: 276 seconds]
00:54
parity has quit [Ping timeout: 240 seconds]
01:00
grilix has joined #ruby
01:26
jenrzzz has joined #ruby
01:35
peter_ has joined #ruby
01:35
GodFather has quit [Ping timeout: 258 seconds]
01:36
jenrzzz has quit [Ping timeout: 268 seconds]
01:38
poontangmessiah has quit [Remote host closed the connection]
01:53
cesario has joined #ruby
01:56
oetjenj has joined #ruby
01:56
Swyper has joined #ruby
02:03
tsujp has joined #ruby
02:04
Swyper has quit [Remote host closed the connection]
02:07
tpanarch1st_ has quit [Ping timeout: 258 seconds]
02:11
dviola has quit [Quit: WeeChat 2.6]
02:12
Swyper has joined #ruby
02:14
brool has quit [Ping timeout: 245 seconds]
02:15
gix has quit [Ping timeout: 245 seconds]
02:16
greypack has quit [Ping timeout: 268 seconds]
02:16
wald0 has quit [Quit: Lost terminal]
02:23
greypack has joined #ruby
02:27
pawptart has joined #ruby
02:31
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:31
oetjenj has joined #ruby
02:32
cesario has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:35
Swyper has quit [Remote host closed the connection]
02:42
cnsvc has joined #ruby
02:47
cesario has joined #ruby
03:02
cesario has quit [Read error: Connection reset by peer]
03:05
Intelo has quit [Remote host closed the connection]
03:10
Intelo has joined #ruby
03:11
Intelo has quit [Max SendQ exceeded]
03:12
Intelo has joined #ruby
03:12
Intelo has quit [Max SendQ exceeded]
03:19
catphish has quit [Quit: Leaving]
03:29
Intelo has joined #ruby
03:30
borori has joined #ruby
03:30
agent_white has quit [Quit: untiltomorrow]
03:33
borori has left #ruby ["WeeChat 2.6"]
03:36
banisterfiend has joined #ruby
03:37
Pip has joined #ruby
03:41
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:42
oetjenj has joined #ruby
03:42
oetjenj has quit [Client Quit]
03:42
oetjenj has joined #ruby
03:43
oetjenj has quit [Client Quit]
03:43
oetjenj has joined #ruby
03:44
oetjenj has quit [Client Quit]
03:44
oetjenj has joined #ruby
03:44
oetjenj has quit [Client Quit]
03:45
oetjenj has joined #ruby
03:45
oetjenj has quit [Client Quit]
03:46
oetjenj has joined #ruby
03:46
oetjenj has quit [Client Quit]
03:46
oetjenj has joined #ruby
03:47
oetjenj has quit [Client Quit]
03:47
oetjenj has joined #ruby
03:47
oetjenj has quit [Client Quit]
03:48
oetjenj has joined #ruby
03:48
oetjenj has quit [Client Quit]
03:49
oetjenj has joined #ruby
03:49
oetjenj has quit [Client Quit]
03:50
oetjenj has joined #ruby
03:50
oetjenj has quit [Client Quit]
03:50
oetjenj has joined #ruby
03:51
oetjenj has quit [Client Quit]
03:51
oetjenj has joined #ruby
03:51
oetjenj has quit [Client Quit]
03:52
oetjenj has joined #ruby
03:52
oetjenj has quit [Client Quit]
03:53
oetjenj has joined #ruby
03:53
oetjenj has quit [Client Quit]
03:53
oetjenj has joined #ruby
03:54
oetjenj has quit [Client Quit]
03:54
oetjenj has joined #ruby
03:54
oetjenj has quit [Client Quit]
03:55
oetjenj has joined #ruby
03:55
oetjenj has quit [Client Quit]
03:56
oetjenj has joined #ruby
03:56
oetjenj has quit [Client Quit]
03:57
claw has quit [Ping timeout: 276 seconds]
04:05
ravenousmoose has joined #ruby
04:05
claw has joined #ruby
04:07
donofrio has quit [Remote host closed the connection]
04:10
claw has quit [Ping timeout: 246 seconds]
04:10
ravenousmoose has quit [Ping timeout: 276 seconds]
04:13
jenrzzz has joined #ruby
04:17
alfiemax has joined #ruby
04:17
claw has joined #ruby
04:26
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:36
tdy has quit [Ping timeout: 245 seconds]
04:50
roaet has joined #ruby
04:55
roaet has quit [Ping timeout: 276 seconds]
05:00
dviola has joined #ruby
05:01
dostoyevsky has quit [Quit: leaving]
05:02
ur5us has quit [Remote host closed the connection]
05:02
dostoyevsky has joined #ruby
05:06
cd has quit [Quit: cd]
05:07
grilix has quit [Ping timeout: 268 seconds]
05:08
dbugger has joined #ruby
05:12
howdoi has joined #ruby
05:17
schaerli has joined #ruby
05:24
Freshnuts has quit [Remote host closed the connection]
05:24
Freshnuts has joined #ruby
05:27
Inline has quit [Quit: Leaving]
05:28
schne1der has joined #ruby
05:28
fphilipe has joined #ruby
05:39
schaerli has quit [Ping timeout: 240 seconds]
05:39
willardg has joined #ruby
05:40
willardg has quit [Client Quit]
05:43
dviola has quit [Quit: WeeChat 2.6]
05:45
x86sk has quit [Quit: Connection closed for inactivity]
05:45
pawptart has quit [Ping timeout: 276 seconds]
05:47
suukim has joined #ruby
05:55
absolutejam1 has joined #ruby
05:58
vondruch has quit [Quit: vondruch]
05:58
vondruch has joined #ruby
06:08
alfiemax has quit [Remote host closed the connection]
06:08
alfiemax has joined #ruby
06:08
alfiemax has quit [Remote host closed the connection]
06:09
alfiemax has joined #ruby
06:11
schne1der has quit [Ping timeout: 268 seconds]
06:18
fphilipe has quit [Ping timeout: 245 seconds]
06:19
alfiemax has quit [Remote host closed the connection]
06:19
alfiemax has joined #ruby
06:21
FrankDW has quit [Read error: Connection reset by peer]
06:21
FrankDW has joined #ruby
06:23
canton7 has quit [Remote host closed the connection]
06:24
canton7 has joined #ruby
06:24
alfiemax has quit [Remote host closed the connection]
06:24
manakanapa has quit [Ping timeout: 245 seconds]
06:24
alfiemax has joined #ruby
06:26
lnx has quit [Ping timeout: 240 seconds]
06:26
b0nn has quit [Ping timeout: 240 seconds]
06:26
schaerli has joined #ruby
06:26
b0nn has joined #ruby
06:26
lnx has joined #ruby
06:28
oetjenj has joined #ruby
06:28
oetjenj has quit [Client Quit]
06:28
oetjenj has joined #ruby
06:29
fphilipe has joined #ruby
06:29
oetjenj has quit [Client Quit]
06:29
Intelo has quit [Remote host closed the connection]
06:29
oetjenj has joined #ruby
06:29
oetjenj has quit [Client Quit]
06:30
oetjenj has joined #ruby
06:30
oetjenj has quit [Client Quit]
06:31
oetjenj has joined #ruby
06:31
oetjenj has quit [Client Quit]
06:31
oetjenj has joined #ruby
06:32
oetjenj has quit [Client Quit]
06:34
fphilipe has quit [Ping timeout: 245 seconds]
06:34
absolutejam1 has quit [Ping timeout: 265 seconds]
06:44
emptyflask has quit [Ping timeout: 276 seconds]
06:52
alfiemax has quit [Remote host closed the connection]
06:52
alfiemax has joined #ruby
06:53
queip_ has joined #ruby
06:55
vondruch has quit [Quit: vondruch]
06:55
queip has quit [Ping timeout: 276 seconds]
06:55
queip_ is now known as queip
06:57
alfiemax has quit [Ping timeout: 265 seconds]
06:59
dpl has joined #ruby
07:01
ua has quit [Ping timeout: 246 seconds]
07:03
dionysus69 has joined #ruby
07:05
dpl_ has joined #ruby
07:06
absolutejam1 has joined #ruby
07:06
schne1der has joined #ruby
07:08
bitwinery has quit [Quit: Leaving]
07:09
alfiemax has joined #ruby
07:10
dpl has quit [Ping timeout: 276 seconds]
07:10
dpl_ has quit [Ping timeout: 245 seconds]
07:10
dpl has joined #ruby
07:12
mtuckerbradford has joined #ruby
07:19
SuperL4g is now known as SuperLag
07:19
rafadc has quit [Read error: Connection reset by peer]
07:20
alfiemax has quit [Remote host closed the connection]
07:21
alfiemax has joined #ruby
07:21
rafadc has joined #ruby
07:22
alfiemax has quit [Remote host closed the connection]
07:23
alfiemax has joined #ruby
07:23
vondruch has joined #ruby
07:25
haxx0r has joined #ruby
07:32
ravenousmoose has joined #ruby
07:38
lxsameer has joined #ruby
07:38
ua has joined #ruby
07:40
alfiemax has quit [Remote host closed the connection]
07:41
alfiemax has joined #ruby
07:45
alfiemax has quit [Ping timeout: 240 seconds]
07:48
blackmesa has joined #ruby
07:50
queip has quit [Ping timeout: 265 seconds]
07:53
guardian has quit [Remote host closed the connection]
07:54
queip has joined #ruby
07:58
blackmesa has quit [Quit: WeeChat 2.6]
07:59
blackmesa has joined #ruby
08:02
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:09
za1b1tsu has joined #ruby
08:12
queip has quit [Ping timeout: 268 seconds]
08:13
TomyWork has joined #ruby
08:14
absolutejam1 has quit [Ping timeout: 276 seconds]
08:15
absolutejam1 has joined #ruby
08:19
queip has joined #ruby
08:23
hightower2 has quit [Ping timeout: 265 seconds]
08:24
dpl has quit [Ping timeout: 265 seconds]
08:25
Freshnuts has quit [Quit: Leaving]
08:25
Huck777 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:25
za1b1tsu has quit [Ping timeout: 276 seconds]
08:25
dpl has joined #ruby
08:27
chalkmonster has joined #ruby
08:29
thexa4 has joined #ruby
08:30
jmcgnh has quit [Ping timeout: 240 seconds]
08:30
throsturx has joined #ruby
08:32
jmcgnh has joined #ruby
08:35
Eiam has quit [Ping timeout: 264 seconds]
08:36
deathwishdave has joined #ruby
08:38
hightower2 has joined #ruby
08:38
absolutejam1 has quit [Ping timeout: 240 seconds]
08:42
involans has joined #ruby
08:42
blackmesa has quit [Ping timeout: 276 seconds]
08:45
absolutejam1 has joined #ruby
08:48
blackmesa has joined #ruby
08:49
throsturx is now known as throstur
08:49
haxx0r has quit [Remote host closed the connection]
08:52
roaet has joined #ruby
08:56
roaet has quit [Ping timeout: 258 seconds]
08:57
_Joes_ has joined #ruby
09:00
hutch1 has quit [Ping timeout: 276 seconds]
09:03
chichou has joined #ruby
09:10
absolutejam1 has quit [Ping timeout: 245 seconds]
09:10
dpl has quit [Read error: Connection reset by peer]
09:13
NL3limin4t0r_afk is now known as NL3limin4t0r
09:14
dasher00 has joined #ruby
09:14
NL3limin4t0r has quit [Quit: WeeChat 1.9.1]
09:15
dionysus69 has quit [Ping timeout: 245 seconds]
09:15
dpl has joined #ruby
09:25
NL3limin4t0r has joined #ruby
09:29
queip has quit [Ping timeout: 246 seconds]
09:33
queip has joined #ruby
09:34
chalkmonster has quit [Quit: WeeChat 2.6]
09:34
chalkmonster has joined #ruby
09:36
_Joes_ has quit [Remote host closed the connection]
09:38
absolutejam1 has joined #ruby
09:39
Pip has quit [Quit: Leaving]
09:41
ryouba has quit [Quit: WeeChat 2.3]
09:41
BH23 has joined #ruby
09:41
_Joes_ has joined #ruby
09:43
_Joes_ has quit [Client Quit]
09:44
mtuckerbradford is now known as funburn
09:47
schaerli has quit [Ping timeout: 276 seconds]
09:50
alfiemax has joined #ruby
09:56
ryouba has joined #ruby
09:58
ellcs has joined #ruby
10:01
greypack has quit [Ping timeout: 276 seconds]
10:05
FernandoBasso has joined #ruby
10:11
absolutejam1 has quit [Ping timeout: 268 seconds]
10:11
Swyper has joined #ruby
10:11
dionysus69 has joined #ruby
10:18
absolutejam1 has joined #ruby
10:21
Swyper has quit [Remote host closed the connection]
10:21
Swyper has joined #ruby
10:25
tsujp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:25
Swyper has quit [Remote host closed the connection]
10:27
ellcs1 has joined #ruby
10:28
Swyper has joined #ruby
10:30
Azure has quit [Read error: Connection reset by peer]
10:32
ellcs1 has quit [Ping timeout: 240 seconds]
10:34
Swyper has quit [Remote host closed the connection]
10:35
alem0lars has joined #ruby
10:38
Swyper has joined #ruby
10:39
agent_white has joined #ruby
10:39
ellcs1 has joined #ruby
10:40
alem0lars has quit [Ping timeout: 240 seconds]
10:47
FernandoBasso has quit [Remote host closed the connection]
10:50
chichou has quit [Quit: WeeChat 2.6]
10:51
involans has quit [Quit: involans]
10:54
ellcs1 has quit [Ping timeout: 258 seconds]
10:54
cyclonis has joined #ruby
10:54
involans has joined #ruby
10:58
AJA4350 has joined #ruby
11:00
funburn has left #ruby [#ruby]
11:07
cyclonis has quit [Read error: Connection reset by peer]
11:08
cyclonis has joined #ruby
11:08
hightower2 has quit [Changing host]
11:08
hightower2 has joined #ruby
11:15
dpl has quit [Remote host closed the connection]
11:17
chalkmonster has quit [Quit: WeeChat 2.6]
11:21
dpl has joined #ruby
11:21
GodFather has joined #ruby
11:28
thexa4 has quit [Quit: My computer has gone to sleep. ZZZzzz…]
11:33
absolutejam1 has quit [Ping timeout: 245 seconds]
11:36
hutch1 has joined #ruby
11:39
absolutejam1 has joined #ruby
11:40
Azure has joined #ruby
11:41
hutch1 has quit [Ping timeout: 250 seconds]
11:51
nowhereman has quit [Ping timeout: 276 seconds]
11:57
blackmesa has quit [Ping timeout: 250 seconds]
11:57
guardian has joined #ruby
12:00
banisterfiend has joined #ruby
12:21
jcalla has quit [Ping timeout: 265 seconds]
12:21
<
dionysus69 >
how would I insert underscore before an integer in a string
12:21
<
dionysus69 >
using regex
12:22
<
dionysus69 >
"string1"
12:22
<
dionysus69 >
need to get "string_1"
12:22
alfiemax has quit [Remote host closed the connection]
12:23
alfiemax has joined #ruby
12:24
etagwerker has joined #ruby
12:26
<
phaul >
&>> "string1".sub(/(?=\d+)/, '_')
12:27
<
dionysus69 >
thanks phaul
12:28
alfiemax has quit [Ping timeout: 240 seconds]
12:29
BH23 has quit [Ping timeout: 268 seconds]
12:30
tsujp has joined #ruby
12:31
Huck777 has joined #ruby
12:32
arahael2 has joined #ruby
12:34
arahael1 has quit [Ping timeout: 268 seconds]
12:34
hutch1 has joined #ruby
12:34
Swyper has quit [Remote host closed the connection]
12:35
BH23 has joined #ruby
12:35
Swyper has joined #ruby
12:35
Swyper has quit [Remote host closed the connection]
12:37
suukim has quit [Quit: Konversation terminated!]
12:40
banister_ has joined #ruby
12:42
banisterfiend has quit [Ping timeout: 245 seconds]
12:42
trebuh has joined #ruby
12:44
etagwerker has quit [Remote host closed the connection]
12:45
agent_white has quit [Quit: bbl]
12:47
Jonopoly has joined #ruby
12:48
dbugger has quit [Quit: Leaving]
12:49
nibbo has joined #ruby
12:50
jrafanie has joined #ruby
12:51
fphilipe has joined #ruby
12:53
Nicmavr has quit [Read error: Connection reset by peer]
12:53
poontangmessiah has joined #ruby
12:53
etagwerker has joined #ruby
12:55
chalkmonster has joined #ruby
12:55
Nicmavr has joined #ruby
12:57
banister_ has quit [Ping timeout: 240 seconds]
13:04
banisterfiend has joined #ruby
13:04
banisterfiend has quit [Client Quit]
13:04
<
trebuh >
I currently have an issue with my Ruby installation. I removed every package (using my package manager, dnf) I reinstalled asciidoctor, using my package-manager and I still have the following error, how can I fix it?
https://bpaste.net/show/UrNR
13:07
blackmesa has joined #ruby
13:08
blackmesa has quit [Client Quit]
13:08
banisterfiend has joined #ruby
13:11
blackmesa has joined #ruby
13:14
grilix has joined #ruby
13:15
suukim has joined #ruby
13:16
alfiemax has joined #ruby
13:21
dpl_ has joined #ruby
13:24
dpl has quit [Ping timeout: 245 seconds]
13:24
jcalla has joined #ruby
13:25
dpl_ has quit [Ping timeout: 240 seconds]
13:26
dpl has joined #ruby
13:27
spiette has joined #ruby
13:31
DTZUZO has quit [Quit: WeeChat 2.0]
13:32
ravenousmoose has joined #ruby
13:32
DTZUZO has joined #ruby
13:33
baojg has quit [Remote host closed the connection]
13:34
banister_ has joined #ruby
13:36
ravenousmoose has quit [Ping timeout: 246 seconds]
13:37
banisterfiend has quit [Ping timeout: 268 seconds]
13:38
ellcs1 has joined #ruby
13:40
banister_ has quit [Ping timeout: 240 seconds]
13:42
lucasb has joined #ruby
13:46
blackmesa has quit [Quit: WeeChat 2.6]
13:48
drincruz has joined #ruby
13:54
blackmesa has joined #ruby
13:56
cyclonis has quit [Read error: Connection reset by peer]
13:57
cyclonis has joined #ruby
14:00
suukim has quit [Quit: Konversation terminated!]
14:02
roaet has joined #ruby
14:07
tdy has joined #ruby
14:19
<
robotcars >
why would .to_h not work on 2.6.3, issue happening via homebrew install, and from source on rhel.
14:21
hutch1 has quit [Ping timeout: 276 seconds]
14:24
<
phaul >
how does it not work?
14:25
<
robotcars >
undefined method `to_h'
14:25
<
havenwood >
robotcars: is it Ruby 2.6?
14:25
<
havenwood >
robotcars: double check!
14:25
<
robotcars >
2.6.1 on rhel, 2.6.3 on desktop/mac
14:25
<
havenwood >
robotcars: by where it fails with #to_h, can you?: p RUBY_VERSION
14:26
<
havenwood >
robotcars: What's the receiver of #to_h? Do you know what it being called on?
14:28
SeepingN has joined #ruby
14:31
Esa_ has joined #ruby
14:31
Azure has quit [Read error: Connection reset by peer]
14:31
xuhui has joined #ruby
14:31
xuhui has quit [Client Quit]
14:32
schne1der has quit [Ping timeout: 240 seconds]
14:33
dpl has quit [Ping timeout: 250 seconds]
14:33
<
robotcars >
nm, didn't have proper key value
14:34
bogn has joined #ruby
14:40
hutch1 has joined #ruby
14:42
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:49
emptyflask has joined #ruby
14:58
rippa has joined #ruby
15:03
vdl has quit [Quit: WeeChat 2.3]
15:04
vdl has joined #ruby
15:04
jrafanie has joined #ruby
15:04
banisterfiend has joined #ruby
15:05
deathwishdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:06
jrafanie has quit [Client Quit]
15:07
deathwishdave has joined #ruby
15:09
blackmesa has quit [Quit: WeeChat 2.6]
15:10
davor_ has joined #ruby
15:10
davor has quit [Ping timeout: 246 seconds]
15:10
davor_ is now known as davor
15:11
alfiemax has quit [Remote host closed the connection]
15:11
absolutejam1 has quit [Ping timeout: 245 seconds]
15:11
alfiemax has joined #ruby
15:14
dretnx has joined #ruby
15:16
alfiemax has quit [Ping timeout: 245 seconds]
15:19
alfiemax has joined #ruby
15:22
tdy has quit [Ping timeout: 240 seconds]
15:29
tsr has joined #ruby
15:30
Esa_ has joined #ruby
15:34
hutch1 has quit [Ping timeout: 246 seconds]
15:35
cthu| has joined #ruby
15:37
TomyWork has quit [Ping timeout: 246 seconds]
15:37
hutch1 has joined #ruby
15:39
Guest51714 has joined #ruby
15:42
Azure has joined #ruby
15:43
oetjenj has joined #ruby
15:44
oetjenj has quit [Client Quit]
15:44
oetjenj has joined #ruby
15:44
queip has quit [Ping timeout: 265 seconds]
15:44
oetjenj has quit [Client Quit]
15:45
oetjenj has joined #ruby
15:45
baojg has joined #ruby
15:45
oetjenj has quit [Client Quit]
15:46
oetjenj has joined #ruby
15:46
gix has joined #ruby
15:46
oetjenj has quit [Client Quit]
15:46
oetjenj has joined #ruby
15:47
oetjenj has quit [Client Quit]
15:47
greypack has joined #ruby
15:47
oetjenj has joined #ruby
15:47
oetjenj has quit [Client Quit]
15:48
oetjenj has joined #ruby
15:48
dpl has joined #ruby
15:48
oetjenj has quit [Client Quit]
15:49
ellcs1 has quit [Ping timeout: 250 seconds]
15:50
queip has joined #ruby
15:54
bogn has quit [Quit: Konversation terminated!]
15:57
schne1der has joined #ruby
15:57
Swyper has joined #ruby
15:58
<
Swyper >
so I am trying to implement a bubble sort
15:58
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:58
<
Swyper >
def bubble_sort!(&prc)end
15:59
<
Swyper >
any idea how I can iterate over the proc?
15:59
hutch1 has quit [Ping timeout: 246 seconds]
16:00
Jonopoly has quit [Quit: WeeChat 2.5]
16:02
<
phaul >
typically ppl would sort an array. what's the role of the proc in your method? Are you trying to sort an array or something else?
16:02
banisterfiend has joined #ruby
16:02
<
Swyper >
trying to sort an array
16:03
fphilipe has quit [Ping timeout: 264 seconds]
16:03
<
phaul >
ok. what's the role of the proc?
16:04
<
NL3limin4t0r >
Are you using it the same way Array#sort! where it accepts 2 arguments and compares them some way?
16:04
<
leftylink >
for example, does it take
*one* element (and does a Schwartzian transform) or
*two* (and tells the ordering between those two)?
16:06
<
leftylink >
sorry for jinxing
16:06
banisterfiend has quit [Ping timeout: 245 seconds]
16:09
<
phaul >
so to clarify. To implement bubble sort you don't need to take any proc. Just operate on an array. Later when that works you can extend your sort with all sorts of proc support.
16:10
thebananaking has quit [Quit: Connection closed for inactivity]
16:15
hutch1 has joined #ruby
16:20
sputnik13 has joined #ruby
16:26
tsujp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:28
etagwerker has quit [Remote host closed the connection]
16:29
roaet has quit [Ping timeout: 240 seconds]
16:30
thadtheman has quit [Remote host closed the connection]
16:38
alfiemax has quit [Remote host closed the connection]
16:39
brool has joined #ruby
16:41
alfiemax has joined #ruby
16:41
alkstal has joined #ruby
16:43
<
alkstal >
Hi! I'm learning some Ruby but I'm finding it hard to find any sources on how you work with a Ruby project? Tons of resources regarding syntax but how do you handle a project? Structuring, dependency management, I saw that there are things like Bundler and Rake, how do they fit in? Etc etc.
16:44
<
alkstal >
Basically, how do you put together a project and what tools do you need?
16:44
<
alkstal >
Would appreciate any guidance :)
16:45
ramfjord has joined #ruby
16:46
alfiemax has quit [Ping timeout: 276 seconds]
16:49
alkstal has quit [Ping timeout: 245 seconds]
16:50
alfiemax has joined #ruby
16:53
FernandoBasso has joined #ruby
16:54
alfiemax has quit [Remote host closed the connection]
16:56
Swyper has quit [Remote host closed the connection]
16:59
FernandoBasso has quit [Ping timeout: 260 seconds]
16:59
chalkmonster has quit [Quit: WeeChat 2.6]
17:02
xtolid has quit [Remote host closed the connection]
17:04
BH23 has quit [Ping timeout: 240 seconds]
17:10
hiroaki has joined #ruby
17:25
nowhereman has joined #ruby
17:26
deathwishdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:32
DTZUZO has quit [Ping timeout: 265 seconds]
17:33
etagwerker has joined #ruby
17:38
havenwood has joined #ruby
17:38
havenwood has joined #ruby
17:42
cthulchu_ has joined #ruby
17:45
cthu| has quit [Ping timeout: 245 seconds]
17:45
havenwood has joined #ruby
17:45
havenwood has joined #ruby
17:47
nickwoxs has joined #ruby
17:47
havenwood has quit [Client Quit]
17:47
elphe has joined #ruby
17:48
nickwoxs has quit [Client Quit]
17:48
nickwoxs has joined #ruby
17:48
nickwoxs has quit [Client Quit]
17:49
havenwood has joined #ruby
17:49
havenwood has joined #ruby
17:56
queip has quit [Ping timeout: 258 seconds]
17:57
dretnx has quit [Ping timeout: 245 seconds]
17:57
jemaddux has joined #ruby
17:58
cyclonis has quit [Read error: Connection reset by peer]
17:58
dbugger has joined #ruby
17:59
NL3limin4t0r is now known as NL3limin4t0r_afk
18:00
ravenousmoose has joined #ruby
18:01
queip has joined #ruby
18:02
sameerynho has joined #ruby
18:03
banisterfiend has joined #ruby
18:04
havenwood has joined #ruby
18:04
havenwood has joined #ruby
18:15
banisterfiend has quit [Ping timeout: 268 seconds]
18:15
banister_ has joined #ruby
18:23
banisterfiend has joined #ruby
18:25
havenwood has joined #ruby
18:25
havenwood has joined #ruby
18:25
cyclonis_ has joined #ruby
18:25
cyclonis_ has quit [Max SendQ exceeded]
18:27
banister_ has quit [Ping timeout: 265 seconds]
18:27
sauvin has quit [Read error: Connection reset by peer]
18:31
<
kapil_ >
what is `included {..` word in namespace means?
18:32
throstur has quit [Ping timeout: 265 seconds]
18:33
cyclonis has joined #ruby
18:33
cyclonis has quit [Max SendQ exceeded]
18:34
<
kapil_ >
and how its useful?
18:37
throstur has joined #ruby
18:38
FrankDW has quit [Changing host]
18:38
FrankDW has joined #ruby
18:39
<
jhass >
kapil_: a bit more context needed here :)
18:42
cyclonis has joined #ruby
18:42
cyclonis has quit [Max SendQ exceeded]
18:43
jemaddux has quit []
18:48
<
kapil_ >
i am using rails.
18:48
<
kapil_ >
on some models i see the included { ..} block. what it does?
18:54
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:55
absolutejam1 has joined #ruby
18:59
dbugger has quit [Quit: Leaving]
19:12
Intelo has joined #ruby
19:12
<
kapil_ >
in ruby can we declare namespace in a class? what is the meaning of it?
19:22
ellcs1 has joined #ruby
19:24
chalkmonster has joined #ruby
19:25
dionysus69 has quit [Ping timeout: 245 seconds]
19:34
dionysus69 has joined #ruby
19:37
lxsameer has quit [Ping timeout: 265 seconds]
19:44
etagwerker has quit [Remote host closed the connection]
19:44
skryking has joined #ruby
19:45
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
19:46
maartz has joined #ruby
19:50
maartz has quit [Remote host closed the connection]
19:55
dviola has joined #ruby
19:56
cow[moo] has quit [Read error: Connection reset by peer]
19:57
cow[moo] has joined #ruby
19:59
<
jhass >
I don't know what you'
19:59
<
jhass >
what you're referring to with "declare namespace
19:59
<
jhass >
btw there's #RubyOnRails
20:00
troulouliou_dev has joined #ruby
20:15
greengriminal has joined #ruby
20:16
jenrzzz has quit [Ping timeout: 265 seconds]
20:20
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:21
fphilipe has joined #ruby
20:32
schne1der has quit [Ping timeout: 245 seconds]
20:34
banisterfiend has joined #ruby
20:35
chalkmonster has quit [Quit: WeeChat 2.6]
20:38
ur5us has joined #ruby
20:44
throstur has quit [Ping timeout: 265 seconds]
20:44
impermanence has joined #ruby
20:47
howdoi has quit [Quit: Connection closed for inactivity]
20:50
dpl has quit [Read error: Connection reset by peer]
20:52
cow[moo] has quit [Read error: Connection reset by peer]
20:52
cow[moo] has joined #ruby
20:54
Ven`` has joined #ruby
20:54
throstur has joined #ruby
20:55
dpl has joined #ruby
20:57
Eiam has joined #ruby
20:57
dionysus69 has quit [Ping timeout: 245 seconds]
21:00
greengriminal has quit [Quit: Leaving]
21:04
ellcs1 has quit [Ping timeout: 250 seconds]
21:04
gb_away has quit [Ping timeout: 245 seconds]
21:07
gb_away has joined #ruby
21:08
grilix has quit [Ping timeout: 268 seconds]
21:10
Bish has quit [Disconnected by services]
21:12
yasumi2136 has joined #ruby
21:18
jenrzzz has joined #ruby
21:18
<
ytti >
#new is bit of magic
21:18
<
phaul >
there is .new and #initialize. .new is on the "class side" and #initialize is on the instance side
21:18
<
ytti >
it creates new instance of the class, then calls initialize on the newly created class
21:18
<
leftylink >
note carefully the difference between `def new`, `def initialize`, and `def self.new` (I have only ever seen anyone use `def initialize`, I'm not sure I would recommend ... okay I was beaten, I stop typing
21:19
<
brool >
oh? i thought #new was just a convention
21:19
<
leftylink >
consider this, if you add `puts "THIS WAS CALLED"` in your `def new`, you will find that it is not called.
21:19
<
leftylink >
you would have to add `c4.new` for your function to be called
21:20
<
leftylink >
but you probably want to put all that code in `def initialize` instead
21:20
<
ytti >
&>> Class.new.methods.first
21:20
<
ytti >
&>> Class.new.methods.grep /new/
21:20
thexa4 has joined #ruby
21:22
Ven`` has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:22
<
brool >
oh so i change "def new" to "def initialize" and it works
21:22
<
ytti >
&>> class Class;def new;false;end:ned
21:22
<
ytti >
&>> class Class;def new;false;end;end
21:23
<
ytti >
hmm i expected it to break :)
21:24
<
ytti >
&>> class Class;def new;"meh";end;end;k=String.new;p k
21:25
<
ytti >
that's maybe more descriptive
21:25
<
ytti >
what new should do, is call String's initialize
21:25
<
ytti >
but because i rewrote it, it returns meh
21:27
robotcars has left #ruby [#ruby]
21:28
yasumi2136 has quit [Remote host closed the connection]
21:28
tsr has quit [Quit: WeeChat 2.5]
21:31
troulouliou_dev has quit [Quit: Leaving]
21:39
hiroaki has quit [Ping timeout: 276 seconds]
21:43
fphilipe has quit [Ping timeout: 258 seconds]
21:45
havenwood has joined #ruby
21:45
havenwood has joined #ruby
21:46
<
jhass >
You can imagine .new being implemented like def self.new(*args); obj = allocate; obj.initialize(*args); obj; end
21:46
banister_ has joined #ruby
21:47
<
jhass >
a bit simplified but if you were to override the default implementation with that, most things should continue working just fine
21:49
banisterfiend has quit [Ping timeout: 245 seconds]
21:55
cthu| has joined #ruby
21:55
r29v has joined #ruby
21:55
Guest51714 has quit [Read error: Connection reset by peer]
21:56
Guest51714 has joined #ruby
21:59
cthulchu_ has quit [Ping timeout: 268 seconds]
22:00
tdy has joined #ruby
22:01
Xiti` has quit [Quit: Xiti`]
22:01
Fernando-Basso has joined #ruby
22:01
Xiti has joined #ruby
22:02
jenrzzz has quit [Ping timeout: 240 seconds]
22:02
queip has quit [Ping timeout: 246 seconds]
22:04
jenrzzz has joined #ruby
22:07
banister_ has quit [Ping timeout: 245 seconds]
22:08
queip has joined #ruby
22:09
tdy has quit [Ping timeout: 265 seconds]
22:11
Wsewolod has joined #ruby
22:12
fphilipe has joined #ruby
22:14
ramfjord has quit [Ping timeout: 240 seconds]
22:17
m3ssia has quit [Remote host closed the connection]
22:17
m3ssia has joined #ruby
22:19
m3ssia has quit [Remote host closed the connection]
22:20
pawptart has joined #ruby
22:20
m3ssia has joined #ruby
22:23
cow[moo] has quit [Ping timeout: 268 seconds]
22:23
poontangmessiah has quit [Ping timeout: 245 seconds]
22:24
poontangmessiah has joined #ruby
22:27
Intelo has quit [Remote host closed the connection]
22:28
Intelo has joined #ruby
22:28
jenrzzz has quit [Ping timeout: 258 seconds]
22:28
ramfjord has joined #ruby
22:29
jenrzzz has joined #ruby
22:32
Intelo has quit [Remote host closed the connection]
22:33
Intelo has joined #ruby
22:34
tdy has joined #ruby
22:36
cd has joined #ruby
22:36
Intelo_ has joined #ruby
22:36
jenrzzz has quit [Ping timeout: 240 seconds]
22:38
Intelo has quit [Ping timeout: 268 seconds]
22:40
Wsewolod has quit [Read error: Connection reset by peer]
22:40
Wsewolod has joined #ruby
22:42
davidw_ has joined #ruby
22:42
Guest51714 has quit [Read error: Connection reset by peer]
22:42
oetjenj has joined #ruby
22:45
etagwerker has joined #ruby
22:46
fphilipe has quit [Ping timeout: 240 seconds]
22:50
banisterfiend has joined #ruby
22:50
Wsewolod has quit [Ping timeout: 276 seconds]
22:51
jenrzzz has joined #ruby
22:51
etagwerker has quit [Ping timeout: 240 seconds]
22:53
queip has quit [Ping timeout: 245 seconds]
22:53
banisterfiend has quit [Client Quit]
22:54
davidw_ has quit [Remote host closed the connection]
22:54
davidw_ has joined #ruby
22:58
queip has joined #ruby
22:59
jenrzzz has quit [Ping timeout: 276 seconds]
23:00
davidw_ has quit [Ping timeout: 246 seconds]
23:00
jenrzzz has joined #ruby
23:02
drincruz has quit [Ping timeout: 258 seconds]
23:02
throstur has quit [Ping timeout: 240 seconds]
23:03
tdy has quit [Ping timeout: 240 seconds]
23:05
dpl has quit [Read error: Connection reset by peer]
23:06
MrCrackPot has quit [Ping timeout: 268 seconds]
23:06
absolutejam1 has quit [Ping timeout: 240 seconds]
23:07
sputnik13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:08
involans has quit [Quit: involans]
23:10
thexa4 has quit [Quit: My computer has gone to sleep. ZZZzzz…]
23:12
Intelo_ has quit [Ping timeout: 240 seconds]
23:18
davidw has joined #ruby
23:18
ramfjord has quit [Ping timeout: 240 seconds]
23:18
davidw is now known as Guest93522
23:22
ramfjord has joined #ruby
23:24
throstur has joined #ruby
23:26
ramfjord has quit [Ping timeout: 265 seconds]
23:33
Nicmavr has quit [Read error: Connection reset by peer]
23:33
banisterfiend has joined #ruby
23:34
ramfjord has joined #ruby
23:35
Nicmavr has joined #ruby
23:36
impermanence has quit [Remote host closed the connection]
23:36
thebananaking has joined #ruby
23:36
fphilipe has joined #ruby
23:38
banisterfiend has quit [Ping timeout: 258 seconds]
23:54
_whitelogger has joined #ruby
23:55
knight- has quit [Ping timeout: 245 seconds]
23:56
cow[moo] has joined #ruby