« Back to channel list

#ruby - 03 November 2018

« Back 1 day Forward 1 day »
[00:01:30] Dimik: has joined #ruby
[00:03:58] elphe: has joined #ruby
[00:06:36] genpaku: has joined #ruby
[00:07:14] salasrod: has joined #ruby
[00:07:26] hurricanehrndz: has joined #ruby
[00:07:33] Spitfire: has joined #ruby
[00:21:26] eddof13: has joined #ruby
[00:23:41] elphe: has joined #ruby
[00:24:39] roshanavand: has joined #ruby
[00:25:14] orbyt_: has joined #ruby
[00:29:22] cow[moo]: has joined #ruby
[00:29:43] JJonah: apeiros: yes, i was wondering if you could make the Enumerator work without iteration. It looks like it calls next internally as `'JJonah'.each_char.cycle.lazy.drop(42_000_000).first` pauses a couple seconds before returning.
[00:30:19] apeiros: you can't. that's how the enumerator works. by enumerating. hence the name.
[00:30:27] apeiros: it's based entirely on .each.
[00:30:37] JJonah: yeah, i figured. just wanted to make sure.
[00:32:00] hurricanehrndz: has joined #ruby
[00:32:14] alicef: has joined #ruby
[00:32:49] elphe: has joined #ruby
[00:35:46] orbyt_: has joined #ruby
[00:37:55] roshanavand: has joined #ruby
[00:54:48] elphe: has joined #ruby
[00:56:53] apeiros: has joined #ruby
[01:13:44] jetchisel: has joined #ruby
[01:15:36] hahuang6-: has joined #ruby
[01:20:41] apparition: has joined #ruby
[01:24:38] scott4000: has joined #ruby
[01:28:00] darkhanb: has joined #ruby
[01:31:26] kaleido: has joined #ruby
[01:32:22] Milos_: has joined #ruby
[01:39:46] Milos: has joined #ruby
[01:40:45] Ekho: has joined #ruby
[01:50:40] dviola: has joined #ruby
[01:51:39] elphe: has joined #ruby
[01:52:54] cow[moo]: has joined #ruby
[01:56:50] jetchisel: has joined #ruby
[02:04:19] mochiyoda: has joined #ruby
[02:05:22] cagomez: has joined #ruby
[02:28:14] elphe: has joined #ruby
[02:45:10] OrangeManBad: has joined #ruby
[02:49:25] pskosinski: has joined #ruby
[02:55:34] kapil____: has joined #ruby
[03:01:10] elphe: has joined #ruby
[03:23:03] roshanavand: has joined #ruby
[03:25:50] zwliew: has joined #ruby
[03:32:39] arescorpio: has joined #ruby
[03:33:50] Nicmavr: has joined #ruby
[03:34:08] idiocrash: has joined #ruby
[03:39:12] elphe: has joined #ruby
[03:42:47] tdy: has joined #ruby
[03:46:44] cagomez: has joined #ruby
[04:04:06] astronavt: has joined #ruby
[04:10:05] braincrash: has joined #ruby
[04:12:14] orbyt_: has joined #ruby
[04:24:01] za1b1tsu: has joined #ruby
[04:39:14] nowhere_man: has joined #ruby
[05:00:14] _whitelogger: has joined #ruby
[05:24:46] za1b1tsu: has joined #ruby
[06:00:59] roshanavand: has joined #ruby
[06:01:27] havenwood: JJonah: class Enumerator; def [] i; lazy.drop(i).first end end
[06:14:59] warrshrike: has joined #ruby
[06:15:31] warrshrike: https://dpaste.de/pzf8
[06:15:34] warrshrike: guys what wrong here
[06:16:00] warrshrike: the result should be a complete traversal of the tree but only the root is printed
[06:20:47] apeiros: has joined #ruby
[06:23:20] warrshrike: apeiros: just in time!
[06:23:24] warrshrike: https://dpaste.de/pzf8
[06:23:28] warrshrike: guys what wrong here
[06:23:30] warrshrike: the result should be a complete traversal of the tree but only the root is printed
[06:27:02] jasmith: has joined #ruby
[06:27:46] baweaver: warrshrike: what have you tried in debugging it?
[06:28:35] baweaver: Well run it
[06:28:42] warrshrike: i know the issue is
[06:28:57] warrshrike: the if condition that checks if left is nil
[06:29:13] baweaver: Yeah, it's always nil
[06:29:26] warrshrike: yup. however i cant figure out why
[06:29:30] warrshrike: for the life of me...
[06:29:35] havenwood: warrshrike: you're not checking the node's #left
[06:29:36] warrshrike: i have arrived for Aid
[06:29:41] baweaver: How do instance variables work?
[06:29:46] havenwood: warrshrike: you're checking an undefined instance variable
[06:30:01] havenwood: >> @left #=> nil
[06:30:05] baweaver: you're not in the class with those methods now are you?
[06:30:07] ruby[bot]: havenwood: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
[06:30:21] warrshrike: how could i be such a dumbass
[06:30:33] baweaver: It's called programming
[06:30:38] baweaver: and it happens to all of us
[06:31:22] havenwood: warrshrike: here's a bit more Ruby style for your code: https://gist.github.com/havenwood/836ea8e9c6f40f26e41aa8a09a378322
[06:31:34] warrshrike: baweaver: btw does ruby frown on accessing instance variables this way
[06:32:00] baweaver: More of it shrugs
[06:32:03] warrshrike: isnt it a bit: Thou shalt use methods and not access variable directly
[06:32:22] baweaver: Eh, depends.
[06:32:44] havenwood: warrshrike: within an instance feel free to use instance variables
[06:33:04] warrshrike: hey your code is same as mine instead youre using three attr reads instead of one attre accible
[06:33:05] havenwood: warrshrike: use methods to expose instance variables outside the instance
[06:33:20] warrshrike: ah cool cool
[06:33:58] havenwood: warrshrike: i meant it to be the same as yours, with a few stylistic changes
[06:34:06] warrshrike: havenwood: btw i see you're working at Square. Cool! I didn't know they used ruby
[06:34:10] baweaver: havenwood: traversal should belong to a node too
[06:34:21] havenwood: warrshrike: baweaver works at Square too! lots of Ruby!!
[06:34:43] warrshrike: havenwood: i especially like :left syntax
[06:35:05] havenwood: baweaver: yeah, i stopped myself from going further for example simplicity sake - but i thought the same
[06:35:32] havenwood: warrshrike: it's easier to read when calling the method, huh? i like kwargs a lot.
[06:35:56] warrshrike: havenwood: oh wow really! I've been applying for summer internships and ive havent had much luck with ruby companies though ive looked. Do you guys have an intern program?
[06:36:04] warrshrike: havenwood: whats a kwargs
[06:36:10] havenwood: warrshrike: keyword argument
[06:36:36] havenwood: the left: and right: are optional keyword arguments
[06:37:05] havenwood: you could do just `left:` for a mandatory keyword argument
[06:37:11] havenwood: providing the default `left: nil` makes it optional
[06:37:51] baweaver: havenwood: [*left&.traverse, value, *right&.traverse].compact
[06:37:54] warrshrike: havenwood: ohh. Yeah so if i did left = nil as opposed to left: nil, it wouldnt work in that kwarg style?
[06:38:05] havenwood: warrshrike: correct
[06:38:32] warrshrike: havenwood: oh right. learn something new everyday
[06:39:13] warrshrike: the first big shock for me was when i learned that ruby doesnt have first class functions and you need to use implicit blocks with yield
[06:40:11] baweaver: lambdas and procs are first class functions
[06:40:20] baweaver: technically methods too, but that's more complicated.
[06:40:34] baweaver: havenwood: https://repl.it/@baweaver/HarmlessLinearLaboratory
[06:40:39] havenwood: warrshrike: Blocks are a way to not instantiate an object for the function. Procs and lambdas are first class.
[06:42:00] havenwood: warrshrike: They actually also follow tennent's correspondence principle, with different locality of return for procs and lambdas.
[06:42:25] warrshrike: havenwood: oh yeah i know that about procs. I was still surprised when I found out that you can't just assign a function to a variable or send it as an argument etc.
[06:42:40] havenwood: warrshrike: you can though
[06:42:42] baweaver: You can though
[06:42:47] baweaver: danged ninjas
[06:43:02] baweaver: in fact, I'm live streaming an entire segment on them tomorrow afternoon
[06:44:46] warrshrike: def print(j) puts s end; def runner(fun, x) fun x end; runner(print, "hi")
[06:45:17] warrshrike: this doesnt work
[06:45:41] baweaver: Nope, but that doesn't mean first class functions don't exist either.
[06:46:11] warrshrike: yeah but its a round about way to do things
[06:46:36] warrshrike: i respect rubys way
[06:46:49] baweaver: Easy on the enter key there
[06:47:13] warrshrike: in this particular instance, i think javascript/clojure are doing it better
[06:48:16] warrshrike: baweaver: okay okay
[06:48:21] warrshrike: baweaver: when?
[06:48:28] warrshrike: i might watch it if its a good lecture
[06:48:41] havenwood: warrshrike: there are many ways to do similar in Ruby
[06:48:45] havenwood: warrshrike: one example: https://gist.github.com/havenwood/de989d533cb8ea13daf3671a6cf057f0
[06:48:56] baweaver: https://www.twitch.tv/baweaver
[06:49:03] warrshrike: baweaver: where do i watch it? fox news?
[06:51:54] baweaver: Mind you I also find that particular bit of Ruby annoying
[06:52:06] warrshrike: baweaver: We are blood brothers then!
[06:52:15] baweaver: Though it'd be fairly involved in parser.y to rig it
[06:52:29] baweaver: and I have no C or compiler chops at the moment to do that
[06:54:04] baweaver: There's a loose possibility that Ruby gets the ability to do self.:method as an auto-proc coercion
[06:55:51] rippa: has joined #ruby
[06:59:45] baweaver: Ah, they do have events! https://www.twitch.tv/events/YdpUvTh9S4CCUERze3TM4A
[07:06:23] warrshrike: awesome awesome
[07:11:18] warrshrike: Woot https://squareup.com/careers/jobs?type=Intern Maybe I'll see you guys in the summer ^_^
[07:11:54] baweaver: Better apply quickly, they're already screening people.
[07:15:04] warrshrike: baweaver: yeah im filling it out right now. I hope they at least interview me lol
[07:18:12] _whitelogger: has joined #ruby
[07:18:12] warrshrike: its quite annoying when you never hear back from a company you really want to work at. like, its still honorable when you fail an interview
[07:29:24] apparition: has joined #ruby
[07:38:49] tAn: has joined #ruby
[07:45:47] tAn: has joined #ruby
[07:47:21] tAn: has joined #ruby
[07:53:49] zwliew: has joined #ruby
[08:03:46] cabotto: has joined #ruby
[08:27:54] tAn: has joined #ruby
[08:43:24] phaul: has joined #ruby
[08:46:32] dachi: has joined #ruby
[08:47:49] TheBloke: has joined #ruby
[08:55:27] reber: has joined #ruby
[08:58:14] JamieD: has joined #ruby
[09:07:48] xfbs: has joined #ruby
[09:10:47] moei: has joined #ruby
[09:23:51] wojnar: has joined #ruby
[09:42:15] DoubleMalt: has joined #ruby
[09:56:33] apeiros: has joined #ruby
[10:00:39] c0ncealed4: has joined #ruby
[10:02:20] bkxd: has joined #ruby
[10:02:41] jetchisel: has joined #ruby
[10:18:09] MyMind: has joined #ruby
[10:18:20] dellavg_: has joined #ruby
[10:22:37] petemoore: has joined #ruby
[10:30:14] Yungfil: has joined #ruby
[10:30:39] xfbs: has joined #ruby
[10:36:44] lxsameer: has joined #ruby
[10:42:43] roshanavand: has joined #ruby
[10:57:02] ShekharReddy: has joined #ruby
[10:58:46] tAn: has joined #ruby
[11:00:02] venmx: has joined #ruby
[11:05:07] roshanavand: has joined #ruby
[11:14:29] apparition: has joined #ruby
[11:20:54] roshanavand: has joined #ruby
[11:28:44] DD_Trump: has joined #ruby
[11:28:56] DD_Trump: I love ruby and want to help!
[11:33:50] conta: has joined #ruby
[11:38:14] roshanavand: has joined #ruby
[11:39:23] MoritaShinobu: has joined #ruby
[11:40:58] RougeR: has joined #ruby
[11:49:49] elphe: has joined #ruby
[12:04:51] despai: has joined #ruby
[12:06:33] tAn: has joined #ruby
[12:08:52] despai: has joined #ruby
[12:12:35] AJA4350: has joined #ruby
[12:35:21] desperek: has joined #ruby
[12:37:33] EXCHGR: has joined #ruby
[12:41:27] Shorty6: has joined #ruby
[12:44:44] despai: has joined #ruby
[12:46:57] k0mpa: has joined #ruby
[12:50:09] elphe: has joined #ruby
[12:51:13] despai: has joined #ruby
[12:58:55] kapil____: has joined #ruby
[13:04:24] rippa: has joined #ruby
[13:05:07] elphe: has joined #ruby
[13:10:06] InfinityFye: has joined #ruby
[13:13:22] clemens3: has joined #ruby
[13:14:50] za1b1tsu: has joined #ruby
[13:47:59] elphe: has joined #ruby
[13:55:31] roshanavand: has joined #ruby
[14:01:30] fluxAeon: has joined #ruby
[14:13:28] Nicmavr: has joined #ruby
[14:25:43] Shorty6: has left #ruby: ("WeeChat 1.6")
[14:26:59] tjbp: has joined #ruby
[14:30:04] mhb: has left #ruby: ()
[14:33:40] jetchisel: has joined #ruby
[14:37:20] tAn: has joined #ruby
[14:40:25] snickers: has joined #ruby
[14:42:04] Shorty6: has joined #ruby
[14:49:17] cow[moo]: has joined #ruby
[14:54:10] reber__: has joined #ruby
[14:54:25] daemonwrangler: has joined #ruby
[15:04:27] despai: has joined #ruby
[15:05:29] venmx: has joined #ruby
[15:07:10] johnny56: has joined #ruby
[15:08:25] kaleido: has joined #ruby
[15:19:32] ua: has joined #ruby
[15:19:47] bak1an: has joined #ruby
[15:33:10] baweaver: !badnick DD_Trump
[15:33:10] ruby[bot]: +bbb $a:DeplorablyDelici$#ruby-banned DD_Trump!*@*$#ruby-banned *!*@gateway/web/irccloud.com/x-dxqcaajjqqammqmh$#ruby-banned
[15:33:10] ruby[bot]: ruby[bot] kicked DD_Trump: is not suitable for this channel, see http://ruby-community.com/pages/user_rules
[15:37:52] phaul: baweaver: I couldn't watch your twitch vid, it was barely audible, did others report back the same or the problem is on my side?
[15:38:16] baweaver: Ah, so sound was bad too?
[15:38:25] baweaver: That I can amp
[15:39:36] baweaver: Just need to adjust a few options and that'll be good to go. Na, no one's mentioned it yet, still fairly new to this bit.
[15:43:37] baweaver: Guessing around -20dB would be ideal.
[15:43:49] baweaver: Need to measure things
[15:52:14] samort7: has joined #ruby
[15:53:59] TheBloke: has joined #ruby
[16:05:42] bak1an: has joined #ruby
[16:09:11] snickers: has joined #ruby
[16:17:00] inky: has joined #ruby
[16:17:00] nicesignal: has joined #ruby
[16:17:05] inky: hey people of ruby
[16:17:23] inky: i am updating my mastodon instance, and when running
[16:17:24] inky: bundle install --deployment --without development test
[16:17:32] inky: rbenv: version `2.5.3' is not installed (set by /home/mastodon/live/.ruby-version)
[16:17:43] inky: rbenv install -l
[16:17:52] inky: does not indeed list 2.5.3
[16:25:48] Inline: has joined #ruby
[16:30:11] dinfuehr: has joined #ruby
[16:30:50] Puffball: has joined #ruby
[16:31:12] nchambers: has joined #ruby
[16:32:14] Milos: has joined #ruby
[16:35:47] orbyt_: has joined #ruby
[16:52:20] Inline: has joined #ruby
[16:53:49] Inline: has joined #ruby
[16:59:56] lxsameer: has joined #ruby
[17:06:26] tAn: has joined #ruby
[17:09:33] Iambchop: inky: is 2.5.3 listed in rbenv versions? "install -l" lists what can be installed, "versions" lists what is installed
[17:14:10] johnny56: has joined #ruby
[17:25:00] OrangeManBad: has joined #ruby
[17:30:18] kapil____: has joined #ruby
[17:33:35] za1b1tsu: has joined #ruby
[17:36:51] Inline: has joined #ruby
[17:55:33] nchambers: has joined #ruby
[18:00:36] gix: has joined #ruby
[18:04:07] akaiiro: has joined #ruby
[18:08:52] GodFather: has joined #ruby
[18:18:40] whysthatso: has joined #ruby
[18:19:59] MoritaShinobu: has joined #ruby
[18:20:59] MoritaShinobu: has joined #ruby
[18:28:39] kaleido: has joined #ruby
[18:38:38] venmx: has joined #ruby
[18:39:41] elcontrastador: has joined #ruby
[18:47:15] Dbugger: has joined #ruby
[18:50:59] kaleido: given a random string "niLF2" how can i separate every character and change lower to upper and upper to lower and combine back to a string?
[18:52:26] phaul: 'niLF2'.swapcase
[18:53:18] phaul: if you really want to ho by characters 'niLF2'.chars.map { |c| transform(c) }.join
[18:53:19] kaleido: wow, that's too easy. :( thanks!
[19:07:22] m27frogy: has joined #ruby
[19:20:13] baweaver: Stream is starting in a minute: https://www.twitch.tv/baweaver
[19:20:16] baweaver: Dropping off IRC in the mean time.
[19:26:43] idiocrash: has joined #ruby
[19:29:22] ellcs: has joined #ruby
[19:29:36] za1b1tsu: has joined #ruby
[19:29:50] Puffball: has joined #ruby
[19:42:55] Shorty6: has joined #ruby
[19:49:01] patr0clus: has joined #ruby
[19:53:52] elphe: has joined #ruby
[19:54:11] Shorty6: has joined #ruby
[19:56:27] ellcs: has joined #ruby
[20:08:36] ellcs: has joined #ruby
[20:24:05] bak1an: has joined #ruby
[20:47:47] thinkpad: has joined #ruby
[20:57:59] elphe: has joined #ruby
[21:06:40] habnabit: has joined #ruby
[21:10:32] ricer2: has joined #ruby
[21:11:40] kspencer: I'm subclassing TCPSocket to add irc commands and such, since the IRC frameworks I usually use have bugs I want to avoid, and so I was wondering what the best way to encapsulate the while True ... data = @sock.sysread(...) # run code on data ... end
[21:13:50] al2o3-cr: kspencer: which irc frameworks have you been using?
[21:14:23] kspencer: cinch mostly, which when the bot gets opered it hangs
[21:14:59] phaul: kspencer: never inherit from classes you don't own. never inherit if the child class is not a "TCPSocket" for every property of TCPSocket
[21:15:15] phaul: btw Im using cinch...
[21:15:21] phaul: in rubydoc
[21:17:38] al2o3-cr: phaul: how you going with the eval plugin?
[21:17:42] za1b1tsu: has joined #ruby
[21:17:56] phaul: I did it that night
[21:17:56] elphe: has joined #ruby
[21:17:59] kspencer: should I extend TCPSocket then
[21:18:09] phaul: it's sitting in a github pull request
[21:18:29] al2o3-cr: oh, maybe apeiros hasn't seen it yet
[21:18:58] al2o3-cr: kspencer: cinch does this just perfectly fine.
[21:19:22] kspencer: like i said, when cinch gets opered and modes are added to it, it hangs
[21:21:05] kspencer: If it didn't hang on oper I'd be using it
[21:22:13] al2o3-cr: it never did when i used cinch. double check your code just to be on the safe side.
[21:22:43] kspencer: did it get server notice masks added to it?
[21:22:57] al2o3-cr: kspencer: from what i remember yes.
[21:23:08] dionysus69_: has joined #ruby
[21:25:30] al2o3-cr: kspencer: you'd be better of asking in #cinch you'll probably get an answer your looking for.
[21:26:26] al2o3-cr: yeah, he's still there.
[21:29:04] kspencer: <dominikh> nobody is fixing anything, for Cinch has no maintainer
[21:30:14] al2o3-cr: ljarvis isn't either :(
[21:30:32] phaul: going back to extending classes. delegation. have an instance var pointing to the instance and define the methods relevant to you forwarding them to the instance variable...
[21:30:52] phaul: &ri Forwardable
[21:30:52] rubydoc: https://ruby-doc.org//stdlib-2.5.3/libdoc/forwardable/rdoc/Forwardable.html
[21:32:10] phaul: hm. I should fix the double //
[21:32:55] al2o3-cr: phaul: might be a good idea to also prefix/postfix a nick
[21:33:11] phaul: you can do that
[21:33:23] phaul: with , nick
[21:33:31] al2o3-cr: &ri Hash#update phaul #> phaul: ...
[21:33:32] rubydoc: did not understand that, parser error @ char position 0
[21:33:43] al2o3-cr: it will highlight them then.
[21:33:48] d^sh: has joined #ruby
[21:34:12] al2o3-cr: haha funny error.
[21:34:26] phaul: &ri Hash#update, phaul
[21:34:26] rubydoc: https://ruby-doc.org//core-2.5.3/Hash.html#method-i-update , phaul
[21:35:07] al2o3-cr: use cinch User#nick though.
[21:35:26] phaul: ah, ok. I will look into that
[21:35:43] al2o3-cr: i've not use cinch for a while.
[21:36:29] elphe: has joined #ruby
[21:38:02] kspencer: so 'class IRCSocket; extend Forwardable; def initialize; @sock = TCPSocket; end; def_delegators @sock, :connect; end'
[21:38:26] al2o3-cr: phaul: take that with a pinch of salt. must be at least two years ago i messed with that.
[21:38:42] phaul: al2o3-cr: sure. np
[21:38:51] phaul: kspencer: that's a better design
[21:41:27] rubydoc: Found no entry that matches class UN
[21:41:29] kspencer: and then what would the best way of encapsulating the socket loop be
[21:41:51] rubydoc: Found no entry that matches class UN
[21:42:09] al2o3-cr: phaul: whats going on?
[21:42:41] phaul: what's UN?
[21:42:43] al2o3-cr: are you using yard or parsing html?
[21:43:19] phaul: parsing the downloaded html from ruby-doc.org
[21:43:39] al2o3-cr: ah, thought so.
[21:43:47] phaul: parsing the index from it only
[21:44:04] phaul: bot only talks to prebaked DB
[21:44:27] phaul: what's UN though? :)
[21:46:06] phaul: kspencer: you are not writing a Socket library. change your mindset to IRC. now that your class is not neceseraly a socket, you are free to design IRC-ish interface
[21:46:08] al2o3-cr: phaul: http://ruby-doc.org/stdlib-2.5.3/libdoc/un/rdoc/un_rb.html
[21:46:58] phaul: you can keep some methods from TCPSocket, but only the ones you like for your interface
[21:48:10] kspencer: you mean like setting user and nick in initialize and channel joining by method etc kind of stuff
[21:48:19] rubydoc: https://ruby-doc.org//stdlib-2.5.3/libdoc/nkf/rdoc/NKF.html
[21:50:10] phaul: kspencer: it's up to you, just don't feel the need that you *have to* write matching functions. that's the freedome you gain by not inheriting
[21:50:12] wojnar: has joined #ruby
[21:52:28] raulp: has joined #ruby
[21:54:31] cagomez: has joined #ruby
[21:56:22] elphe: has joined #ruby
[21:59:08] jetchisel: has joined #ruby
[22:07:08] kspencer: hmm actually i might grab leejarvis/ircsocket and go from there, just saw that
[22:08:58] kspencer: irc-socket rather
[22:09:46] al2o3-cr: kspencer: i think he originally wrote cinch.
[22:30:52] d^sh: has joined #ruby
[22:33:32] nfk: has joined #ruby
[22:39:06] duckpupp-: has joined #ruby
[22:42:29] elphe: has joined #ruby
[22:48:16] nchambers: is it possible to store an Enumerator in a variable and call it later?
[22:48:42] nchambers: how do I call it?
[22:49:16] phaul: Enumerators are Enumerable, so you have the full Enumerable interface to them
[22:49:25] phaul: each, and the rest
[22:49:34] phaul: &ri Enumerator
[22:49:34] rubydoc: https://ruby-doc.org//core-2.5.3/Enumerator.html
[22:49:53] nchambers: I mean doing something like `foo = "abcd".each`
[22:50:46] nchambers: and then calling foo, getting the next value from the Enumerator
[22:50:59] al2o3-cr: nchambers: call next on it
[22:52:49] phaul: foo = 'abcd'.chars.each ; foo.map(&:upcase)
[22:53:10] al2o3-cr: foo.next; foo.rewind; foo.next; foo.peek etc
[22:53:35] al2o3-cr: now i'm hungry
[22:53:39] phaul: feed.foo :)
[22:55:10] bak1an: has joined #ruby
[22:58:08] teardown: has joined #ruby
[23:02:41] elphe: has joined #ruby
[23:05:58] za1b1tsu: has joined #ruby
[23:06:58] cow[moo]: has joined #ruby
[23:43:29] EXCHGR: has joined #ruby
[23:44:13] Miron: has joined #ruby
[23:48:55] elphe: has joined #ruby
[23:51:06] jcalla: has joined #ruby
[23:54:41] orbyt_: has joined #ruby