00:06
<
blackmesa >
sry did anyone write me back later ago?
00:09
Swyper has joined #ruby
00:11
<
blackmesa >
thx havenwood and leftylink
00:16
tdy has quit [Ping timeout: 250 seconds]
00:22
Swyper has quit [Remote host closed the connection]
00:27
mostlybadfly has joined #ruby
00:28
tdy has joined #ruby
00:32
TomyLobo has quit [Read error: Connection reset by peer]
00:33
tdy has quit [Quit: WeeChat 1.9.1]
00:33
tdy has joined #ruby
00:34
gix has quit [Quit: Client exiting]
00:41
Azure has quit [Quit: Oops.]
00:43
robscomputer has joined #ruby
00:53
houhoulis has quit [Remote host closed the connection]
01:08
orbyt_ has joined #ruby
01:11
laaron has quit [Remote host closed the connection]
01:14
laaron has joined #ruby
01:16
blackmesa has quit [Ping timeout: 252 seconds]
01:42
robscomputer has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:46
AJA4350 has joined #ruby
01:47
robscomputer has joined #ruby
01:50
ellcs has joined #ruby
01:55
houhoulis has joined #ruby
01:59
laaron has quit [Remote host closed the connection]
02:01
laaron has joined #ruby
02:09
krawchyk has quit [Quit: krawchyk]
02:15
jmcgnh has joined #ruby
02:24
funnel has quit [Ping timeout: 268 seconds]
02:26
funnel has joined #ruby
02:29
jottr has quit [Ping timeout: 246 seconds]
02:32
rkazak has joined #ruby
02:36
mostlybadfly has quit [Quit: Connection closed for inactivity]
02:38
ellcs has quit [Ping timeout: 268 seconds]
02:43
marz_d`ghostman has quit [Ping timeout: 256 seconds]
02:54
lxsameer has quit [Ping timeout: 245 seconds]
02:56
AJA4350 has quit [Ping timeout: 244 seconds]
03:01
rkazak has quit [Quit: Sleep.....ing....]
03:11
Swyper has joined #ruby
03:16
jottr has joined #ruby
03:24
_whitelogger has joined #ruby
03:26
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:28
jottr has quit [Ping timeout: 245 seconds]
03:28
Swyper has quit [Remote host closed the connection]
03:33
_whitelogger has joined #ruby
03:45
_whitelogger has joined #ruby
03:45
jgarcia has joined #ruby
03:57
orbyt_ has joined #ruby
04:03
mikecmpbll has quit [Quit: inabit. zz.]
04:04
laaron has quit [Remote host closed the connection]
04:05
laaron has joined #ruby
04:05
braincrash has quit [Quit: bye bye]
04:09
braincrash has joined #ruby
04:09
havenwood has joined #ruby
04:16
laaron has quit [Remote host closed the connection]
04:16
laaron has joined #ruby
04:17
laaron has quit [Remote host closed the connection]
04:17
laaron has joined #ruby
04:26
MzrE has joined #ruby
04:31
Tempesta has quit [Quit: AdiIRC is updating to v3.4 Beta Build (2019/02/01 UTC) 64 Bit]
04:31
Tempesta has joined #ruby
04:34
cnsvc has joined #ruby
04:39
Xiti has quit [Ping timeout: 246 seconds]
04:39
jgarcia has quit [Quit: jgarcia]
04:40
Xiti has joined #ruby
04:47
houhoulis has quit [Remote host closed the connection]
04:56
Azure has joined #ruby
05:06
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:07
segy has joined #ruby
05:09
akem has quit [Remote host closed the connection]
05:09
akem has joined #ruby
05:25
jottr has joined #ruby
05:30
segy has joined #ruby
05:35
jottr has quit [Ping timeout: 245 seconds]
05:40
robscomputer has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:40
orbyt_ has joined #ruby
05:45
MzrE has quit [Read error: Connection reset by peer]
05:47
akem has quit [Read error: Connection reset by peer]
05:47
akem has joined #ruby
05:51
robscomputer has joined #ruby
05:54
_whitelogger has joined #ruby
05:57
akem has quit [Read error: Connection reset by peer]
05:57
akem has joined #ruby
05:59
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:02
marmotini_ has joined #ruby
06:05
rippa has joined #ruby
06:15
cd has quit [Quit: cd]
06:33
_whitelogger has joined #ruby
06:45
marmotini_ has quit [Ping timeout: 246 seconds]
06:51
\void has quit [Quit: So long, and thanks for all the fish.]
06:54
alfiemax has joined #ruby
07:03
Nicmavr has quit [Read error: Connection reset by peer]
07:05
Nicmavr has joined #ruby
07:07
robscomputer has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:09
robscomputer has joined #ruby
07:09
marmotini_ has joined #ruby
07:11
marmotini_ has quit [Remote host closed the connection]
07:20
dellavg__ has joined #ruby
07:22
marmotini_ has joined #ruby
07:24
teej has quit [Quit: Connection closed for inactivity]
07:28
marmotini has joined #ruby
07:32
jottr has joined #ruby
07:32
marmotini_ has quit [Ping timeout: 240 seconds]
07:37
jottr has quit [Ping timeout: 268 seconds]
08:07
Swyper has joined #ruby
08:19
vonfry has joined #ruby
08:35
themsay has quit [Ping timeout: 268 seconds]
08:36
mikecmpbll has joined #ruby
08:40
renich has quit [Quit: renich]
08:49
Swyper has quit [Remote host closed the connection]
08:50
Swyper has joined #ruby
08:50
Swyper has quit [Remote host closed the connection]
08:51
reber has joined #ruby
08:54
reber has quit [Remote host closed the connection]
08:55
vonfry has quit [Quit: WeeChat 2.3]
09:03
cthulchu_ has quit [Ping timeout: 246 seconds]
09:13
alfiemax has quit [Remote host closed the connection]
09:14
dellavg__ has quit [Ping timeout: 272 seconds]
09:26
dellavg__ has joined #ruby
09:27
catbusters has joined #ruby
09:29
clemens3_ has quit [Ping timeout: 240 seconds]
09:30
jottr has joined #ruby
09:31
cthulchu has quit [Ping timeout: 250 seconds]
09:38
clemens3_ has joined #ruby
09:42
blackmesa has joined #ruby
09:42
alfiemax has joined #ruby
09:42
nfk has joined #ruby
09:45
jottr has quit [Ping timeout: 240 seconds]
09:46
blackmesa has quit [Ping timeout: 240 seconds]
09:49
blackmesa has joined #ruby
09:52
<
al2o3-cr >
&>> class NilClass def |(n) n % 2 == 0 ? ":)" : ":(" end; def coerce(n) [self, n] end end; 10.times.map { |n| n | () }
09:52
<
al2o3-cr >
morning peeps ;)
09:53
obiwahn has joined #ruby
09:53
<
obiwahn >
i am a user on a system and i would like to install something with rake
09:54
<
obiwahn >
i will not get root so how can i install something to my local directroy?
09:55
<
obiwahn >
i tried to install a single gem with `gem install -l ./path/to/file.gem`
09:55
<
obiwahn >
but it seems that that needs another gem that would be provided when calling rake
09:56
<
elomatreb >
There is the --user-install option for installing to your home directory instead of the global default
09:56
<
al2o3-cr >
obiwahn: gem i --user-install <gem>
09:56
<
elomatreb >
You may need to add something additional to your PATH though if you want to use executables installed by gem
09:56
<
obiwahn >
I have never coded in ruby so i know almost nothing about the eco-system. But I would like to try some software written in ruby
09:56
<
obiwahn >
al2o3-cr: is there some option for rake?
09:57
<
obiwahn >
i could not find it in the manpage
09:58
<
obiwahn >
shouln't it have something like --prefix
10:00
<
elomatreb >
rake usually doesn't install anything, it's a task runner system (rake = Ruby Make)
10:01
yasumi2136 has joined #ruby
10:03
robscomputer has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:14
cnsvc has quit [Ping timeout: 256 seconds]
10:15
dellavg__ has quit [Ping timeout: 240 seconds]
10:17
ravenousmoose has joined #ruby
10:21
clemens3_ has quit [Remote host closed the connection]
10:28
Fernando-Basso has joined #ruby
10:29
GodFather has quit [Read error: Connection reset by peer]
10:29
GodFather has joined #ruby
10:33
gix has joined #ruby
10:33
alfiemax has quit [Remote host closed the connection]
10:38
dellavg__ has joined #ruby
10:41
kapil____ has joined #ruby
10:47
ravenousmoose has quit [Quit: Taking a quick nap...ZZzzz]
10:49
clemens3 has joined #ruby
11:01
ellcs has joined #ruby
11:03
marmotini has quit [Ping timeout: 245 seconds]
11:22
roshanavand has joined #ruby
11:23
roshanavand has quit [Remote host closed the connection]
11:33
nfk has quit [Quit: Try memory.free_dirty_pages=true in about:config]
11:34
laaron has quit [Remote host closed the connection]
11:35
roshanavand has joined #ruby
11:41
lucasb has joined #ruby
11:42
jottr has joined #ruby
11:43
conta has joined #ruby
11:45
roshanavand has quit [Ping timeout: 250 seconds]
11:47
conta has quit [Ping timeout: 246 seconds]
11:48
petems_ has joined #ruby
12:07
tdy has quit [Ping timeout: 244 seconds]
12:07
ellcs has quit [Ping timeout: 240 seconds]
12:14
roshanavand has joined #ruby
12:14
<
phaul >
is it possible to use yard @!macro attach automatic expansion on DSL methods defined in a concern that has a nested module for class methods and the included hook extends with class methods?
12:15
<
phaul >
I create a quick gist to demonstrate what I want..
12:23
lxsameer has joined #ruby
12:24
<
phaul >
now the expectation is to have blah automatically documented in X
12:25
<
phaul >
but it's not.
12:33
Puffball has joined #ruby
12:34
jottr has quit [Ping timeout: 240 seconds]
12:40
Guest16678 has joined #ruby
12:42
AJA4350 has joined #ruby
12:47
Guest16678 has quit [Ping timeout: 268 seconds]
12:47
manakanapa has joined #ruby
12:50
blackmesa has quit [Ping timeout: 252 seconds]
12:51
jottr has joined #ruby
12:57
catbusters has quit [Quit: Connection closed for inactivity]
13:02
ravenousmoose has joined #ruby
13:04
Azure has quit [Quit: Oops.]
13:05
blackmesa has joined #ruby
13:08
<
phaul >
oh well. whatever
13:16
<
phaul >
FTR his suggestion worked on the gist.
13:30
catbusters has joined #ruby
13:30
kapil____ has quit [Quit: Connection closed for inactivity]
13:39
ravenousmoose has quit [Quit: Taking a quick nap...ZZzzz]
13:40
ravenousmoose has joined #ruby
13:42
marmotini_ has joined #ruby
13:45
AJA4351 has joined #ruby
13:47
AJA4350 has quit [Ping timeout: 268 seconds]
13:47
AJA4351 is now known as AJA4350
13:48
Azure has joined #ruby
13:52
roshanavand has quit [Ping timeout: 250 seconds]
13:52
ua has quit [Ping timeout: 250 seconds]
13:57
petems_ has quit [Quit: Connection closed for inactivity]
13:59
yasumi2136 has quit [Quit: Konversation terminated!]
14:05
ua has joined #ruby
14:15
blackmesa has quit [Ping timeout: 252 seconds]
14:27
ravenousmoose has quit [Quit: Taking a quick nap...ZZzzz]
14:28
mostlybadfly has joined #ruby
14:42
conta has joined #ruby
14:46
marmotini_ has quit [Ping timeout: 250 seconds]
14:47
conta has quit [Ping timeout: 240 seconds]
14:54
AJA4351 has joined #ruby
14:55
AJA4350 has quit [Ping timeout: 245 seconds]
14:55
AJA4351 is now known as AJA4350
15:00
dellavg__ has quit [Ping timeout: 240 seconds]
15:03
clemens3 has quit [Remote host closed the connection]
15:05
dellavg__ has joined #ruby
15:09
jottr has quit [Quit: WeeChat 2.3]
15:11
lucasb has quit [Quit: Connection closed for inactivity]
15:35
Ai9zO5AP has joined #ruby
15:49
catbusters has quit [Quit: Connection closed for inactivity]
16:01
blackmesa has joined #ruby
16:02
roshanavand has joined #ruby
16:04
AJA4350 has quit [Ping timeout: 244 seconds]
16:15
blackmesa1 has joined #ruby
16:16
Dbugger has joined #ruby
16:17
blackmesa has quit [Ping timeout: 246 seconds]
16:18
DTZUZO has joined #ruby
16:37
blackmesa1 has quit [Remote host closed the connection]
17:09
icy` has quit [Quit: .: adios :.]
17:10
blackmesa1 has joined #ruby
17:12
<
al2o3-cr >
&>> RubyVM.resolve_feature_path 'openssl'
17:12
<
al2o3-cr >
nice feature.
17:12
<
phaul >
&ri resolve_feature_path
17:12
<
rubydoc >
Found no entry that matches method resolve_feature_path
17:13
* phaul
slaps rubydoc
17:13
cthulchu has joined #ruby
17:18
<
phaul >
although to be fair I can't find documentation by hand either
17:21
alfiemax has joined #ruby
17:22
<
al2o3-cr >
phaul: it's new in 2.6 so fair.
17:29
dionysus70 has joined #ruby
17:31
tdy has joined #ruby
17:33
alfiemax has quit [Ping timeout: 272 seconds]
17:34
tdy has quit [Read error: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac]
17:38
za1b1tsu has joined #ruby
17:43
Nicmavr has quit [Read error: Connection reset by peer]
17:45
Nicmavr has joined #ruby
17:46
dionysus70 has quit [Remote host closed the connection]
17:47
cow[moo] has joined #ruby
17:50
cow[moo] has quit [Client Quit]
17:51
liya has joined #ruby
17:51
<
liya >
what are some best resources to learn ruby
17:54
tdy has joined #ruby
18:10
liya has quit [Quit: Page closed]
18:11
octos has joined #ruby
18:13
octos has quit [Remote host closed the connection]
18:20
octos has joined #ruby
18:21
mzo has joined #ruby
18:22
orbyt_ has joined #ruby
18:26
AJA4350 has joined #ruby
18:29
houhoulis has joined #ruby
18:35
za1b1tsu has quit [Ping timeout: 245 seconds]
18:40
renich has joined #ruby
18:44
\void has joined #ruby
18:45
Swyper has joined #ruby
18:46
za1b1tsu has joined #ruby
19:04
<
al2o3-cr >
&ri Enumerator#= Enumerable#chain
19:04
<
rubydoc >
did not understand that, parser error @ char position 13
19:04
<
al2o3-cr >
&ri Enumerator#+
19:04
<
al2o3-cr >
&ri Enumerable#chain
19:05
mzo has quit [Ping timeout: 240 seconds]
19:09
hahuang6- has quit [Ping timeout: 250 seconds]
19:11
conta has joined #ruby
19:14
cd has joined #ruby
19:17
conta has quit [Ping timeout: 245 seconds]
19:18
cnsvc has joined #ruby
19:21
AJA4350 has quit [Ping timeout: 246 seconds]
19:21
AJA4350 has joined #ruby
19:28
themsay has joined #ruby
19:32
themsay has quit [Ping timeout: 240 seconds]
19:40
ellcs has joined #ruby
19:45
za1b1tsu has quit [Read error: Connection reset by peer]
19:46
roshanavand has quit [Ping timeout: 268 seconds]
19:47
za1b1tsu has joined #ruby
20:01
duderonomy has joined #ruby
20:14
houhoulis has quit [Remote host closed the connection]
20:25
hahuang6- has joined #ruby
20:31
Ai9zO5AP has quit [Ping timeout: 245 seconds]
20:32
d^sh has quit [Ping timeout: 250 seconds]
20:33
za1b1tsu has quit [Remote host closed the connection]
20:34
d^sh has joined #ruby
20:35
carbone5 has joined #ruby
20:38
Pinchiukas has joined #ruby
20:39
<
Pinchiukas >
I'm a Ruby newbie and I just cannot understand how from a hash I can return the key which matches a given string.
20:39
carbone5 has quit [Client Quit]
20:41
carbone5 has joined #ruby
20:41
krawchyk has joined #ruby
20:41
<
al2o3-cr >
Enumerable#detect Pinchiukas
20:41
<
al2o3-cr >
&ri Enumerable#detect Pinchiukas
20:42
krawchyk has quit [Client Quit]
20:42
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
20:43
<
al2o3-cr >
Pinchiukas: example?
20:45
<
Pinchiukas >
This seems to only return one match.
20:45
<
Pinchiukas >
I have a hash with block devices and their properties.
20:45
<
Pinchiukas >
I want to return the key if it matches one of two strings.
20:46
<
Pinchiukas >
Though I only needed just the one so I guess this works. :)
20:47
<
al2o3-cr >
Pinchiukas: return multiple matches use #select
20:48
AJA4350 has quit [Ping timeout: 245 seconds]
20:49
<
al2o3-cr >
Pinchiukas: example input/output?
20:51
<
al2o3-cr >
Pinchiukas: ah, Hash#invert
20:51
uplime has joined #ruby
20:52
<
al2o3-cr >
&>> {[1,2,3]=>"foo"}.invert["foo"]
20:53
<
al2o3-cr >
Pinchiukas: inverts keys with values
20:54
jokester has quit [Ping timeout: 240 seconds]
20:55
uplime has quit [Client Quit]
20:58
jokester has joined #ruby
21:02
robscomputer has joined #ruby
21:05
cnsvc has quit [Ping timeout: 256 seconds]
21:05
AJA4350 has joined #ruby
21:05
uplime has joined #ruby
21:07
Yxhuvud has joined #ruby
21:21
AJA4351 has joined #ruby
21:21
AJA4350 has quit [Ping timeout: 244 seconds]
21:21
AJA4351 is now known as AJA4350
21:24
dellavg__ has quit [Ping timeout: 250 seconds]
21:24
roshanavand has joined #ruby
21:26
cnsvc has joined #ruby
21:36
armyriad has joined #ruby
21:37
renich has quit [Quit: renich]
21:50
xrexeon has joined #ruby
21:51
xrexeon has quit [Max SendQ exceeded]
21:54
Dbugger has quit [Ping timeout: 264 seconds]
21:55
AJA4351 has joined #ruby
21:56
AJA4350 has quit [Ping timeout: 246 seconds]
21:56
AJA4351 is now known as AJA4350
22:08
agent_white has quit [Quit: later]
22:15
robscomputer has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:15
wildermind has joined #ruby
22:18
GodFather has quit [Ping timeout: 246 seconds]
22:30
AJA4351 has joined #ruby
22:30
AJA4350 has quit [Ping timeout: 250 seconds]
22:30
AJA4351 is now known as AJA4350
22:33
moei has quit [Quit: Leaving...]
22:44
cd has quit [Quit: cd]
22:44
eldritch has joined #ruby
22:44
hahuang6- has quit [Ping timeout: 272 seconds]
22:46
carbone5 has quit [Quit: carbone5]
22:54
carbone5 has joined #ruby
22:57
Fernando-Basso has quit [Remote host closed the connection]
22:58
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:01
ItsAVortex has joined #ruby
23:01
carbone5 has quit [Quit: carbone5]
23:03
fuzzface has joined #ruby
23:03
AJA4351 has joined #ruby
23:03
AJA4350 has quit [Ping timeout: 240 seconds]
23:03
AJA4351 is now known as AJA4350
23:04
carbone5 has joined #ruby
23:13
ellcs has quit [Ping timeout: 240 seconds]
23:14
cnsvc has quit [Ping timeout: 256 seconds]
23:15
Swyper has quit [Remote host closed the connection]
23:15
carbone5 has quit [Quit: carbone5]
23:21
ItsAVortex has quit [Ping timeout: 268 seconds]
23:21
carbone5 has joined #ruby
23:23
Swyper has joined #ruby
23:30
carbone5 has quit [Quit: carbone5]
23:31
carbone5 has joined #ruby
23:32
carbone5 has quit [Client Quit]
23:37
AJA4351 has joined #ruby
23:39
AJA4350 has quit [Ping timeout: 246 seconds]
23:39
AJA4351 is now known as AJA4350
23:45
roshanavand has quit [Remote host closed the connection]
23:49
roshanavand has joined #ruby
23:49
nowhereman has quit [Read error: Connection reset by peer]
23:57
nowhere_man has joined #ruby
23:57
fuzzface has quit [Quit: Leaving]