rigel_

Activity Graph

Page 1 of 1

2016-06-14

[00:23:20] rigel_: Disconnected by services
[01:12:35] rigel_: Quit: ChatZilla 0.9.92 [Firefox 47.0/20160604131506]
[04:13:45] rigel_: has joined #ruby
[04:20:08] rigel_: not where i am, but sure
[04:29:22] rigel_: Ping timeout: 252 seconds

2016-06-13

[23:23:16] rigel_: has joined #ruby

2016-03-18

[23:11:02] rigel_: has joined #ruby
[23:11:47] rigel_: Client Quit

2016-03-17

[07:18:59] rigel_: has joined #ruby
[07:19:29] rigel_: how can i use ri to look up documentation on ruby keywords?
[07:21:27] rigel_: Client Quit

2016-03-06

[07:21:49] rigel_: has joined #ruby
[07:22:55] rigel_: What's the equivalent of python's pprint.pprint(object, compact=True) ? I know objects have a pp method, but their usage doesn't make much sense to me
[07:24:30] rigel_: norc__: explain like I'm
[07:24:55] rigel_: what should i `require` for that?
[07:25:32] rigel_: 0x0dea: thanks. let me try it out.
[07:27:09] rigel_: how do i turn on that compact option though? (if it provides one)
[07:29:43] rigel_: thanks. any other useful pretty printing tricks i can find out about? google doesn't yield a lot of comprehensible results
[07:32:16] rigel_: but isn't PP built in the interpreter?
[07:42:41] rigel_: Quit: leaving

2016-03-01

[08:00:39] rigel_: has joined #ruby
[08:23:35] rigel_: Read error: Connection reset by peer
[08:27:28] rigel_: has joined #ruby
[09:07:54] rigel_: Read error: Connection reset by peer
[09:12:27] rigel_: has joined #ruby
[09:44:11] rigel_: Quit: ChatZilla 0.9.92 [Firefox 44.0.2/20160209234627]

2016-02-29

[07:04:34] rigel_: has joined #ruby
[07:35:41] rigel_: Quit: ChatZilla 0.9.92 [Firefox 44.0.2/20160209234627]
[09:26:15] rigel_: has joined #ruby
[10:02:30] rigel_: Quit: ChatZilla 0.9.92 [Firefox 44.0.2/20160209234627]

2015-12-26

[21:50:55] rigel_: has joined #ruby
[21:52:05] rigel_: in https://github.com/KamilLelonek/ruby-tuples/blob/master/lib/tuples/pair.rb is there any good reason for the private function more_than_two_arguments? It's functionality can be very easily reproduced elsewhere
[21:56:50] rigel_: over-extraction?
[21:57:39] rigel_: Ox0dea: gotcha. thanks
[21:58:53] rigel_: Quit: ChatZilla 0.9.92 [Firefox 43.0/20151210084713]

2015-12-23

[18:41:44] rigel_: has joined #ruby
[18:43:55] rigel_: in learn ruby the hard way exercise 41 a line of code reads
[18:43:57] rigel_: class_names = craft_names(rand_words, snippet, /###/, caps=true)
[18:43:58] rigel_: is it assigning a caps variable or passing a keyword argument like python does. so far ruby's support for keyword argument seems to have a : in some way
[18:47:04] rigel_: so the order is what matters then with multiple optional (non-keyword) arguments?
[18:48:37] rigel_: adaedra: thanks
[19:05:43] rigel_: Quit: ChatZilla 0.9.92 [Firefox 43.0/20151210084713]

2015-12-05

[05:17:50] rigel_: is there an equivalent to python's pprint's compact argument in pp or awesome_print?
[05:18:19] rigel_: they both do a good job printing but it takes too much screen space.
[10:34:36] rigel_: Quit: ChatZilla 0.9.92 [Firefox 42.0/20151030083516]

2015-12-04

[20:11:55] rigel_: has joined #ruby
[20:12:29] rigel_: Is there any difference between the methods Dir.getwd and Dir.pwd ?
[21:00:58] rigel_: Ping timeout: 260 seconds
[21:02:13] rigel_: has joined #ruby