« Back to channel list

#ruby - 11 August 2017

« Back 1 day Forward 1 day »
[00:05:38] Joufflu: has joined #ruby
[00:08:29] troys: has joined #ruby
[00:09:31] digitalnomad: has joined #ruby
[00:10:44] cdg: has joined #ruby
[00:13:14] ramfjord: has joined #ruby
[00:16:01] hutch34: has joined #ruby
[00:17:04] flargenstow: has joined #ruby
[00:19:14] ramfjord: has joined #ruby
[00:19:17] ecuanaso: has joined #ruby
[00:21:22] hutch34: has joined #ruby
[00:24:03] ocpysh: has joined #ruby
[00:24:33] brian_penguin: has joined #ruby
[00:25:07] ramfjord: has joined #ruby
[00:25:59] alfiemax: has joined #ruby
[00:30:30] ur5us: has joined #ruby
[00:31:10] __Yiota: has joined #ruby
[00:31:30] K3rber0s: has left #ruby: ()
[00:32:02] hahuang65: has joined #ruby
[00:33:40] funkycrunchy: has joined #ruby
[00:38:21] mwlang: has joined #ruby
[00:38:22] hutch34: has joined #ruby
[00:39:41] brent__: has joined #ruby
[00:41:29] AndBobsYourUncle: has joined #ruby
[00:43:33] hahuang65: has joined #ruby
[00:45:48] mim1k: has joined #ruby
[00:47:22] hutch34: has joined #ruby
[00:48:59] Bhootrk_: has joined #ruby
[00:50:03] jackjackdripper: has joined #ruby
[00:50:12] sunrunner202: has joined #ruby
[00:50:58] cadillac_: has joined #ruby
[00:51:10] jackjackdripper: has joined #ruby
[00:54:39] brianpenguin: has joined #ruby
[00:55:11] digitalnomad: has joined #ruby
[00:57:54] cdg: has joined #ruby
[00:59:16] hutch34: has joined #ruby
[01:00:33] Rodya_: has joined #ruby
[01:01:15] jphase: has joined #ruby
[01:05:14] ecuanaso: has joined #ruby
[01:06:20] jphase: has joined #ruby
[01:06:54] tedL: has joined #ruby
[01:07:49] MichaelBurge: has joined #ruby
[01:09:10] hutch34: has joined #ruby
[01:14:17] juggler: has joined #ruby
[01:19:05] hutch34: has joined #ruby
[01:20:00] kkiero: has joined #ruby
[01:22:13] RahulT: has joined #ruby
[01:24:23] gizmore: has joined #ruby
[01:24:25] hahuang65: has joined #ruby
[01:26:53] ecuanaso: has joined #ruby
[01:28:58] hutch34: has joined #ruby
[01:29:27] brent__: has joined #ruby
[01:30:08] mooser: has joined #ruby
[01:37:02] govg: has joined #ruby
[01:37:22] ramfjord: has joined #ruby
[01:38:12] ecuanaso: has joined #ruby
[01:40:21] elcontrastador: has joined #ruby
[01:41:45] digitalnomad: has joined #ruby
[02:01:20] Rodya_: has joined #ruby
[02:01:38] daivyk: has joined #ruby
[02:02:29] ecuanaso: has joined #ruby
[02:03:38] jackjackdripper: has joined #ruby
[02:04:19] jackjackdripper: has joined #ruby
[02:06:40] hightower2: has joined #ruby
[02:10:34] CamonZ_: has joined #ruby
[02:10:39] ForeignBiscuit: has joined #ruby
[02:10:55] olivier__: has joined #ruby
[02:11:06] ForeignBiscuit: has joined #ruby
[02:11:31] ForeignBiscuit: has joined #ruby
[02:11:55] Rodya_: has joined #ruby
[02:11:56] ForeignBiscuit: has joined #ruby
[02:12:21] ForeignBiscuit: has joined #ruby
[02:12:49] ForeignBiscuit: has joined #ruby
[02:13:14] ForeignBiscuit: has joined #ruby
[02:14:04] kenichi_: has joined #ruby
[02:14:08] iMadper`: has joined #ruby
[02:14:46] kke: has joined #ruby
[02:16:03] genpaku_: has joined #ruby
[02:17:23] olivier__: has joined #ruby
[02:17:34] cibs_: has joined #ruby
[02:18:35] hutch34: has joined #ruby
[02:18:53] Xeago_: has joined #ruby
[02:18:54] saltsa_: has joined #ruby
[02:19:00] yosafbridge: has joined #ruby
[02:19:03] ltp: has joined #ruby
[02:19:11] Tralin: has joined #ruby
[02:19:12] quiller: has joined #ruby
[02:19:22] jespada: has joined #ruby
[02:19:35] Papierkorb: has joined #ruby
[02:20:48] freeze: has joined #ruby
[02:21:09] cgfbee: has joined #ruby
[02:21:27] brainslug: has joined #ruby
[02:22:35] nopoliti1: has joined #ruby
[02:22:40] Caius: has joined #ruby
[02:22:40] Caius: has joined #ruby
[02:23:24] x0F: has joined #ruby
[02:23:35] Morrolan: has joined #ruby
[02:23:39] mwlang: has joined #ruby
[02:23:45] j0bk: has joined #ruby
[02:23:47] jinie_: has joined #ruby
[02:23:57] konsolebox: has joined #ruby
[02:23:59] benjen: has joined #ruby
[02:24:06] kt2: has joined #ruby
[02:24:07] m27frogy: has joined #ruby
[02:24:10] ikopico: has joined #ruby
[02:24:30] ltp_: has joined #ruby
[02:24:38] yosafbridge`: has joined #ruby
[02:24:51] hurricanehrndz: has joined #ruby
[02:25:24] hinbody_: has joined #ruby
[02:25:47] devyn: has joined #ruby
[02:26:03] xuanrui: has joined #ruby
[02:26:05] [spoiler]: has joined #ruby
[02:27:33] naprimer3: has joined #ruby
[02:27:42] atmosx: has joined #ruby
[02:28:17] Emmanuel_Chanel: has joined #ruby
[02:28:17] eldebrim1: has joined #ruby
[02:28:23] Tralin: has joined #ruby
[02:28:24] thuryn: has joined #ruby
[02:28:27] eightlimbed: has joined #ruby
[02:28:31] hutch34: has joined #ruby
[02:29:02] leah2: has joined #ruby
[02:29:09] alfiemax: has joined #ruby
[02:29:47] sleepee: has joined #ruby
[02:31:18] hinbody: has joined #ruby
[02:33:06] Morrolan: has joined #ruby
[02:33:11] bokayio: has joined #ruby
[02:33:22] cydrobolt: has joined #ruby
[02:33:23] cydrobolt: has joined #ruby
[02:33:30] ryotarai: has joined #ruby
[02:33:40] mtkd: has joined #ruby
[02:33:41] ikopico: has joined #ruby
[02:34:14] edwardly: has joined #ruby
[02:34:19] edwardly: has joined #ruby
[02:38:25] hutch34: has joined #ruby
[02:39:13] mikeiniowa: has joined #ruby
[02:41:32] clamstar: has joined #ruby
[02:42:54] laphoraig77: has joined #ruby
[02:46:17] mim1k: has joined #ruby
[02:46:51] olivier__: has joined #ruby
[02:48:18] hutch34: has joined #ruby
[02:58:13] hutch34: has joined #ruby
[03:00:09] cadillac_: has joined #ruby
[03:03:02] z3uS: has joined #ruby
[03:05:59] gusrub: has joined #ruby
[03:08:10] hutch34: has joined #ruby
[03:11:07] jackjackdripper: has joined #ruby
[03:11:29] govg: has joined #ruby
[03:11:39] kies: has joined #ruby
[03:13:20] jackjackdripper1: has joined #ruby
[03:13:44] dionysus69: has joined #ruby
[03:16:52] sneakerhax: has joined #ruby
[03:18:40] ascarter: has joined #ruby
[03:25:14] hahuang65: has joined #ruby
[03:29:22] olivier__: has joined #ruby
[03:30:44] mooser: has joined #ruby
[03:30:52] laphoraig49: has joined #ruby
[03:30:58] laphoraig49: /msg NickServ VERIFY REGISTER laphoraig49 vrqgwxgfnhkr
[03:31:04] Stanl3yStan3rson: has joined #ruby
[03:32:38] laphoraig49: has joined #ruby
[03:34:43] nofxx: has joined #ruby
[03:34:53] Stanl3yStan3rson: I'm trying to parse some data where each item has multiple attributes. Something like [X = 1,2,3,4; Y = 5,6,7,8; Z = 9,10,11,12] what's the best attack for this in ruby? Any suggestions?
[03:35:27] laphoraig49: /msg nickserv identify M3L0v3R8ilsP3@
[03:38:04] guardianx: has joined #ruby
[03:40:20] alfiemax: has joined #ruby
[03:42:02] laphoraig92: has joined #ruby
[03:42:29] high_fiver: has joined #ruby
[03:45:18] mim1k: has joined #ruby
[03:46:32] laphoraig92: /msg NickServ VERIFY REGISTER laphoraig92 duclyyrhfwmy
[03:47:30] phinxy: has joined #ruby
[03:48:24] howdoi: has joined #ruby
[03:51:40] laphoraig92: has joined #ruby
[03:56:54] jenrzzz: has joined #ruby
[04:00:42] gix: has joined #ruby
[04:07:04] guardianxx: has joined #ruby
[04:11:35] stlis: has joined #ruby
[04:15:33] K3rber0s_: has joined #ruby
[04:19:43] K3rber0s: has joined #ruby
[04:22:04] eam: good evening
[04:23:40] z3uS: has joined #ruby
[04:24:11] K3rber0s_: has joined #ruby
[04:27:29] hutch34: has joined #ruby
[04:27:31] Emmanuel_Chanel: has joined #ruby
[04:28:30] havenwood: eam: g'evenin'
[04:28:44] eam: how are your rubies on this fine night
[04:29:12] AndBobsYourUncle: has joined #ruby
[04:30:16] havenwood: bright, lacking visible inclusions with a soft, glowing, red fluorescence
[04:32:48] elomatreb: I'm no geologist but if your Ruby is flourescent you should probably keep it away from you
[04:37:17] eam: I reminded myself how to use pack/unpack this evening
[04:37:28] eam: I've never used the / operator, I think I should start
[04:37:34] hutch34: has joined #ruby
[04:41:00] K3rber0s: has joined #ruby
[04:43:10] K3rber0s_: has joined #ruby
[04:44:25] llua: has joined #ruby
[04:47:29] hutch34: has joined #ruby
[04:47:39] guardianx: has joined #ruby
[04:47:44] apparition47: has joined #ruby
[04:50:21] CrazyEddy: has joined #ruby
[04:51:03] patrontechnosoft: has joined #ruby
[04:53:08] alfiemax: has joined #ruby
[04:55:24] jamesaxl: has joined #ruby
[04:57:26] hutch34: has joined #ruby
[04:59:27] sp4rrow: has joined #ruby
[05:06:49] Stickwalker: has joined #ruby
[05:07:06] uZiel: has joined #ruby
[05:08:05] jamesaxl: has joined #ruby
[05:11:26] jamesaxl: has joined #ruby
[05:12:17] Stickwalker: has joined #ruby
[05:16:12] K3rber0s: has joined #ruby
[05:20:17] nofxx: eam, heh, did some unpack thing this week too, after like 5 years
[05:20:28] nofxx: binary hell
[05:23:01] mim1k: has joined #ruby
[05:24:11] jamesaxl: has joined #ruby
[05:26:10] hahuang65: has joined #ruby
[05:28:25] harfangk: has joined #ruby
[05:31:32] dminuoso: Ruby. y u no have >>=
[05:35:23] mooser: has joined #ruby
[05:40:46] xall: has joined #ruby
[05:41:27] djbkd: has joined #ruby
[05:48:34] hutch34: has joined #ruby
[05:50:09] jenrzzz: has joined #ruby
[05:50:09] jenrzzz: has joined #ruby
[05:50:15] conta: has joined #ruby
[05:55:37] nofxxx: has joined #ruby
[05:55:51] _sfiguser: has joined #ruby
[05:56:08] Pisuke: has joined #ruby
[05:58:30] hutch34: has joined #ruby
[06:08:23] hutch34: has joined #ruby
[06:09:02] Moosashi: has joined #ruby
[06:11:04] K3rber0s_: has joined #ruby
[06:18:20] hutch34: has joined #ruby
[06:19:52] Dump_not: has joined #ruby
[06:25:48] cjk101010: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[06:28:14] hutch34: has joined #ruby
[06:32:13] ramfjord: has joined #ruby
[06:32:59] tAn: has joined #ruby
[06:37:37] RahulT: has joined #ruby
[06:38:07] hutch34: has joined #ruby
[06:38:53] mim1k: has joined #ruby
[06:41:13] x|h: has joined #ruby
[06:43:01] tAn: has joined #ruby
[06:43:18] alex``: has joined #ruby
[06:48:04] hutch34: has joined #ruby
[06:48:37] nOwz: has joined #ruby
[06:57:58] hutch34: has joined #ruby
[07:02:16] vondruch: has joined #ruby
[07:02:59] conta: has joined #ruby
[07:06:08] ltem: has joined #ruby
[07:07:52] hutch34: has joined #ruby
[07:08:59] ecuanaso: has joined #ruby
[07:10:46] MACscr: has joined #ruby
[07:11:32] rabajaj: has joined #ruby
[07:12:40] sysvalve: has joined #ruby
[07:14:53] MACscr: i dont know anything about ruby or rails. Can i ask rails questions here or is there a better channel? im trying to resolve "Your Gemfile lists the gem nokogiri (~> 1.6.0) more than once." that i get when i run foreman-rake and I am not sure where to start looking.
[07:15:45] lexruee: has joined #ruby
[07:16:40] dminuoso: ?rubyonrails
[07:16:40] ruby[bot]: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
[07:16:49] MACscr: np, thanks!
[07:16:53] dminuoso: MACscr: Though that sounds more like a Ruby question
[07:17:11] dminuoso: MACscr: Have you tried looking at... I dont know...
[07:17:13] dminuoso: Your Gemfile?!
[07:17:40] MACscr: dminuoso i dont even know what a gemfile is
[07:18:06] eroux: has joined #ruby
[07:18:14] dminuoso: MACscr: A "Gemfile" is a file describing of all the external libraries, we call them "gems", a project uses.
[07:18:48] matthewd: dminuoso: You were complaining about the non-existence of a perfectly cromulent operator a couple of hours ago, so.. ;)
[07:18:49] dminuoso: MACscr: It's the mechanism for the program called `bundler`. `bundler` takes your `Gemfile` and ensures all those packages listed with the versions listed inside are made available to your project. And very often `bundler` is used transparently behind the scenes
[07:20:50] hutch34: has joined #ruby
[07:21:18] dminuoso: MACscr: So some part is looking at your `Gemfile` and seeing the package `nokogiri` listed twice.
[07:21:24] matthewd: MACscr: There is a file literally named `Gemfile` in the root directory of the project. Per the error, it apparently has the nokogiri gem listed twice. But that seems like an odd thing to be already wrong on a project you're trying to pick up. :/
[07:22:00] dminuoso: matthewd: You just made me look up cromulent. :x
[07:22:46] jenrzzz: has joined #ruby
[07:22:46] jenrzzz: has joined #ruby
[07:23:30] matthewd: Oh, but this might be a user support issue with Foreman, if you're just trying to use user-facing features of that application. While it's written in Ruby, we're going to be of limited help in tracking down a root cause for any problems.
[07:23:49] Antiarc: has joined #ruby
[07:23:55] MACscr: matthewd oh, i completely understand that. just looking to see if i can make any headway on my own
[07:24:00] matthewd: dminuoso: You're welcome :)
[07:27:10] hahuang65: has joined #ruby
[07:27:23] jespada: has joined #ruby
[07:28:20] KeyJoo: has joined #ruby
[07:29:19] mark_66: has joined #ruby
[07:30:45] hutch34: has joined #ruby
[07:33:07] charliesome: has joined #ruby
[07:33:08] MACscr: dminuoso hmm, im only seeingthe gem nokogiri listed once in the gemfile. Could that Dir loop at the bottom be dynamically loading additional ones? http://paste.debian.net/980874/
[07:35:43] milardovich: has joined #ruby
[07:35:56] bigkevmcd: has joined #ruby
[07:36:52] MACscr: or does it load both nokogiri files from the gems directory because they both are '~> 1.6.0'
[07:38:14] dminuoso: MACscr: That code at the bottom stinks of fish.
[07:38:28] dminuoso: MACscr: And no, that gems directory is basically just a collection of "available gems", think of it like a cache
[07:39:19] dminuoso: MACscr: Can you look into that directory File.dirname(FOREMAN_GEMFILE)}/bundler.d/*.rb ?
[07:40:18] mim1k: has joined #ruby
[07:40:21] MACscr: i did, i dont think that is actually relevant to the issue http://paste.debian.net/980877/
[07:40:39] hutch34: has joined #ruby
[07:40:57] dminuoso: MACscr: the content of thoses files would be interesting.
[07:42:49] futilegames: has joined #ruby
[07:43:07] Silthias: has joined #ruby
[07:43:20] harfangk: has joined #ruby
[07:45:22] bigkevmcd: has joined #ruby
[07:47:03] Silthias1: has joined #ruby
[07:48:30] jinie_: has joined #ruby
[07:48:48] lxsameer: has joined #ruby
[07:50:27] hutch34: has joined #ruby
[07:51:32] jenrzzz: has joined #ruby
[07:51:32] jenrzzz: has joined #ruby
[07:59:42] mikecmpbll: has joined #ruby
[08:00:22] hutch34: has joined #ruby
[08:00:40] DrCode: has joined #ruby
[08:05:53] leandrobighetti: has joined #ruby
[08:05:55] workmad3: has joined #ruby
[08:07:18] MACscr: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[08:07:45] alfiemax: has joined #ruby
[08:08:32] biberu: has joined #ruby
[08:08:37] Oct2pus: has joined #ruby
[08:08:55] alfiemax: has joined #ruby
[08:09:18] ur5us: has joined #ruby
[08:10:20] hutch34: has joined #ruby
[08:11:02] X-tonic: has joined #ruby
[08:17:15] armyriad: has joined #ruby
[08:19:13] jespada: has joined #ruby
[08:20:10] coxy: has joined #ruby
[08:20:13] hutch34: has joined #ruby
[08:24:24] rgtk: has joined #ruby
[08:27:14] jenrzzz: has joined #ruby
[08:30:08] hutch34: has joined #ruby
[08:32:23] ramfjord: has joined #ruby
[08:33:46] aupadhye: has joined #ruby
[08:35:35] X-tonic: has joined #ruby
[08:37:41] Dump_not: Hello, some body used ruby 2.1.2 via rvm on ubuntu 17.04, is it normal installed on it?
[08:40:02] hutch34: has joined #ruby
[08:41:23] sp4rrow: has joined #ruby
[08:41:25] mim1k: has joined #ruby
[08:49:59] hutch34: has joined #ruby
[08:52:01] Beams: has joined #ruby
[08:52:37] jphase: has joined #ruby
[08:56:54] rahul_bajaj: has joined #ruby
[08:58:02] rabajaj: has joined #ruby
[08:58:03] marr: has joined #ruby
[08:59:54] hutch34: has joined #ruby
[09:00:38] j0bk: has joined #ruby
[09:04:02] Sylario: has joined #ruby
[09:05:10] rabajaj: has joined #ruby
[09:06:29] rgtk: has joined #ruby
[09:07:35] quobo: has joined #ruby
[09:09:30] ramfjord: has joined #ruby
[09:09:45] hutch34: has joined #ruby
[09:13:20] jaruga: has joined #ruby
[09:14:06] milardovich: has joined #ruby
[09:15:24] someuser: has joined #ruby
[09:19:15] ams__: has joined #ruby
[09:19:45] hutch34: has joined #ruby
[09:20:47] tomphp: has joined #ruby
[09:22:09] mbreit: has joined #ruby
[09:22:53] tomphp: has joined #ruby
[09:26:47] mark_66: has joined #ruby
[09:27:29] careta: has joined #ruby
[09:28:01] hahuang65: has joined #ruby
[09:29:03] InfinityFye: has joined #ruby
[09:29:39] hutch34: has joined #ruby
[09:33:54] ketan: has joined #ruby
[09:36:45] Mia: has joined #ruby
[09:39:31] hutch34: has joined #ruby
[09:42:30] mim1k: has joined #ruby
[09:43:08] Pisuke: has joined #ruby
[09:45:40] Serpent7776: has joined #ruby
[09:48:42] uZiel: has joined #ruby
[09:49:30] hightower2: has joined #ruby
[09:52:13] n0wz: has joined #ruby
[09:52:29] ur5us: has joined #ruby
[09:52:46] ur5us: has joined #ruby
[09:59:59] gloscombe: has joined #ruby
[10:00:39] ahrs: has joined #ruby
[10:00:42] infernix: has joined #ruby
[10:03:26] n0wz: has joined #ruby
[10:04:39] aupadhye: has joined #ruby
[10:05:35] danguita: has joined #ruby
[10:06:29] noob_on_rails: has joined #ruby
[10:07:51] ecuanaso: has joined #ruby
[10:08:11] Pumukel: has joined #ruby
[10:15:26] ramfjord: has joined #ruby
[10:17:15] alfiemax: has joined #ruby
[10:20:16] FastJack: has joined #ruby
[10:20:38] nOwz: has joined #ruby
[10:21:31] mjolnird: has joined #ruby
[10:30:09] aglorei1: has joined #ruby
[10:31:05] ramfjord: has joined #ruby
[10:31:20] RahulT: has joined #ruby
[10:35:22] kex: has joined #ruby
[10:35:58] hkdsun: has joined #ruby
[10:36:18] nOwz: has joined #ruby
[10:39:09] jamesaxl: has joined #ruby
[10:40:01] noob_on_rails: hey, im trying to replicate a nested json response for multihey! im trying to replicate an API with sinatra and ruby , can this be done better? https://gist.github.com/frcake/2cedcd1f2ea1b61b632d2f885d329334
[10:40:12] noob_on_rails: actually im sure it can , but i don't know how :D
[10:42:11] noob_on_rails: i also want to be able to query in the constructor array afterwards
[10:43:15] mim1k: has joined #ruby
[10:46:37] FastJack: has joined #ruby
[10:50:38] jenrzzz: has joined #ruby
[10:50:38] jenrzzz: has joined #ruby
[10:51:30] ramfjord: has joined #ruby
[10:53:19] tvw: has joined #ruby
[10:54:57] anisha: has joined #ruby
[11:02:40] sepp2k: has joined #ruby
[11:06:51] uZiel: has joined #ruby
[11:07:05] ramfjord: has joined #ruby
[11:08:32] tomphp: has joined #ruby
[11:14:23] rgr: has joined #ruby
[11:24:37] brian_penguin: has joined #ruby
[11:25:42] tomphp: has joined #ruby
[11:26:56] Beams: has joined #ruby
[11:27:33] ramfjord: has joined #ruby
[11:27:41] bokayio: has joined #ruby
[11:28:53] hahuang65: has joined #ruby
[11:28:59] x0F: has joined #ruby
[11:30:18] cydrobolt: has joined #ruby
[11:30:18] cydrobolt: has joined #ruby
[11:30:22] kex: has joined #ruby
[11:30:54] ikopico: has joined #ruby
[11:32:42] ltem: has joined #ruby
[11:34:06] Tralin: has joined #ruby
[11:35:32] aglorei1: has joined #ruby
[11:35:41] __Yiota: has joined #ruby
[11:37:27] apparition47: has joined #ruby
[11:41:54] K3rber0s: has joined #ruby
[11:43:09] ramfjord: has joined #ruby
[11:44:00] mim1k: has joined #ruby
[11:47:29] bruno-: has joined #ruby
[11:49:40] tirej: has joined #ruby
[11:49:40] tirej: has joined #ruby
[11:51:06] nikivi: has joined #ruby
[11:51:13] hinbody: has joined #ruby
[11:52:33] ldnunes: has joined #ruby
[11:54:47] ctp: has joined #ruby
[11:55:19] InfinityFye: has joined #ruby
[11:55:45] DTZUZO: has joined #ruby
[11:57:12] eldebrim1: has joined #ruby
[12:01:24] aupadhye: has joined #ruby
[12:02:43] VladGh: has joined #ruby
[12:02:49] aupadhye: has joined #ruby
[12:03:27] ych: has joined #ruby
[12:03:27] laphoraig92: has joined #ruby
[12:03:37] ramfjord: has joined #ruby
[12:04:27] rgtk: has joined #ruby
[12:05:56] apparition47: has joined #ruby
[12:07:55] modin: has joined #ruby
[12:08:20] olivier__: has joined #ruby
[12:12:21] milardovich: has joined #ruby
[12:13:21] ahrs: has joined #ruby
[12:15:28] frozengeek: has joined #ruby
[12:15:58] bmurt: has joined #ruby
[12:16:14] AlienElite_: has joined #ruby
[12:17:12] AlienElite_: has left #ruby: ()
[12:18:28] AlienElite_: has joined #ruby
[12:19:17] ruby[bot]: has joined #ruby
[12:19:18] ChanServ: +o ruby[bot]
[12:19:24] rgtk: has joined #ruby
[12:19:29] frozengeek: hey all, I have 2 hashes I am comparing, one is internal data, the other one is loaded from json, this works fine as long as there are no newlines in strings, since the internal representation of that string will already have newlines escaped, and the one loaded from json gets them unescaped, hence they don't match. Any way I can tell the json parser to not un-escape newlines? or maybe another way somebody sees around this issue?
[12:19:30] Koshian: has joined #ruby
[12:19:45] knowtheory: has joined #ruby
[12:19:46] johnkpaul: has joined #ruby
[12:19:46] afisher: has joined #ruby
[12:19:49] jtperreault: has joined #ruby
[12:19:54] lipoqil: has joined #ruby
[12:19:57] JoL1hAHN: has joined #ruby
[12:20:01] err_ok: has joined #ruby
[12:20:16] daxroc: has joined #ruby
[12:20:33] aagdbl[m]: has joined #ruby
[12:20:47] Cork: has joined #ruby
[12:21:12] torarne: has joined #ruby
[12:22:25] matthewd: frozengeek: Sounds like your hashes have very different strings in them.. my recommendation would be to unify the actual formats
[12:23:58] joes: has joined #ruby
[12:24:00] universa1: has joined #ruby
[12:24:10] bokayio: has joined #ruby
[12:24:31] frozengeek: matthewd: well, they aren't really different and I don't have control over the internal representation, the only thing I have is that I generate that json file from that hash (in another program run) and when I load it again from json it doesn't match the internal hash anymore.
[12:25:00] AlienElite_: has left #ruby: ()
[12:26:07] aupadhye: has joined #ruby
[12:26:09] matthewd: If the process of getting from hash to JSON involves more than a simple h.to_json, then presumably parsing the JSON back to a hash needs to do something that corresponds
[12:28:27] konsolebox: has joined #ruby
[12:30:01] bmurt: has joined #ruby
[12:33:12] t-recx: has joined #ruby
[12:33:33] aupadhye: has joined #ruby
[12:33:37] Silthias: has joined #ruby
[12:35:25] ocpysh: has joined #ruby
[12:42:45] rgtk: has joined #ruby
[12:44:40] mim1k: has joined #ruby
[12:46:20] __Yiota: has joined #ruby
[12:47:10] aupadhye: has joined #ruby
[12:48:20] jamesaxl: has joined #ruby
[12:50:14] bmurt: has joined #ruby
[12:50:23] KeyJoo: has joined #ruby
[12:55:21] cadillac_: has joined #ruby
[12:57:00] vondruch: has joined #ruby
[12:58:35] jphase: has joined #ruby
[13:01:48] MarkBilk: has joined #ruby
[13:07:18] funkytwig: has joined #ruby
[13:08:54] funkytwig: Hi everybody. Is the list server slow today. I am trying to join ruby-talk but not getting the email, I have checked in my spam folder.
[13:11:16] yehowyada: has joined #ruby
[13:13:30] kalidor: has joined #ruby
[13:13:30] psychicist__: has joined #ruby
[13:15:54] cdg: has joined #ruby
[13:17:15] creaked: has joined #ruby
[13:18:13] uZiel: has joined #ruby
[13:27:27] __Yiota: has joined #ruby
[13:28:23] DLSteve: has joined #ruby
[13:29:34] alex``: has joined #ruby
[13:29:56] hahuang65: has joined #ruby
[13:30:50] dennisvennink: has joined #ruby
[13:32:22] ramfjord: has joined #ruby
[13:38:24] frozengeek: has joined #ruby
[13:44:44] rgtk: has joined #ruby
[13:45:11] mostlybadfly: has joined #ruby
[13:45:46] mim1k: has joined #ruby
[13:47:45] X-tonic: has left #ruby: ()
[13:49:45] charliesome: has joined #ruby
[13:51:19] bmurt: has joined #ruby
[13:55:29] banisterfiend: has joined #ruby
[13:56:29] funkytwig: has joined #ruby
[13:57:25] oleo: has joined #ruby
[13:57:43] cdg: has joined #ruby
[13:58:53] sleepee: has joined #ruby
[14:00:15] ldnunes: has joined #ruby
[14:02:49] Rapture: has joined #ruby
[14:05:37] bmurt: has joined #ruby
[14:08:34] hutch34: has joined #ruby
[14:09:13] chouhoulis: has joined #ruby
[14:09:29] KeyJoo: has joined #ruby
[14:11:29] theunraveler: has joined #ruby
[14:13:56] bmurt: has joined #ruby
[14:15:25] kculpis: has joined #ruby
[14:20:12] kculpis: has joined #ruby
[14:20:25] ResidentBiscuit: has joined #ruby
[14:22:02] bmurt: has joined #ruby
[14:24:05] [Butch]: has joined #ruby
[14:27:42] bruno-: has joined #ruby
[14:29:16] ocpysh: has joined #ruby
[14:31:02] __Yiota: has joined #ruby
[14:32:45] chouhoulis: has joined #ruby
[14:34:03] pior: has joined #ruby
[14:34:10] afromankenobi: has joined #ruby
[14:35:15] snowcrshd: has joined #ruby
[14:36:48] tomphp: has joined #ruby
[14:40:24] chouhoul_: has joined #ruby
[14:44:20] alfiemax: has joined #ruby
[14:46:31] mim1k: has joined #ruby
[14:46:58] jamesaxl: has joined #ruby
[14:53:43] aphelion: has joined #ruby
[14:54:25] govg: has joined #ruby
[14:55:18] polishdub: has joined #ruby
[14:58:01] hutch34: has joined #ruby
[14:58:28] bendyboo: has joined #ruby
[15:00:15] guacamole: has joined #ruby
[15:01:09] stlis: has joined #ruby
[15:02:41] tomphp: has joined #ruby
[15:03:23] afromankenobi: has joined #ruby
[15:04:20] shiranuidong: has joined #ruby
[15:06:09] cschneid_: has joined #ruby
[15:07:01] dota: has joined #ruby
[15:07:55] hutch34: has joined #ruby
[15:10:47] theunrav_: has joined #ruby
[15:11:27] jschoolcraft: has joined #ruby
[15:12:15] __Yiota: has joined #ruby
[15:14:34] afromankenobi: has joined #ruby
[15:15:02] snowcrshd: has joined #ruby
[15:17:31] GodFather: has joined #ruby
[15:22:09] chouhoulis: has joined #ruby
[15:26:13] snowcrshd: has joined #ruby
[15:28:07] username1: has joined #ruby
[15:30:46] hahuang65: has joined #ruby
[15:31:04] eightlimbed: has joined #ruby
[15:31:12] oasjefij: has joined #ruby
[15:32:05] oasjefij: im new to coding, and i want to create my own website. i heard i need to come here and ask people what i need to learn.
[15:34:54] brent__: has joined #ruby
[15:35:19] mim1k: has joined #ruby
[15:39:06] goyox86: has joined #ruby
[15:40:32] goyox86: has left #ruby: ()
[15:41:06] goyox86_: has joined #ruby
[15:45:02] ocpysh: has joined #ruby
[15:49:09] frozengeek: has joined #ruby
[15:51:13] TomyLobo: has joined #ruby
[15:52:59] npgm: has joined #ruby
[16:01:22] GodFather: has joined #ruby
[16:02:38] GodFather: has joined #ruby
[16:09:41] gusrub: has joined #ruby
[16:11:13] chouhoulis: has joined #ruby
[16:13:36] cdg_: has joined #ruby
[16:14:11] ostera: has joined #ruby
[16:20:54] ascarter: has joined #ruby
[16:21:46] frozengeek_: has joined #ruby
[16:26:33] stlis2: has joined #ruby
[16:34:17] charliesome: has joined #ruby
[16:34:25] dviola: has joined #ruby
[16:36:48] charliesome_: has joined #ruby
[16:36:55] boombox_: has joined #ruby
[16:37:24] majoh_: has joined #ruby
[16:38:30] yitsushi: has joined #ruby
[16:39:07] skarlso: has joined #ruby
[16:39:20] johnny56: has joined #ruby
[16:39:37] guacamole: has joined #ruby
[16:41:27] harmaahylje: has joined #ruby
[16:43:19] eckhardt: has joined #ruby
[16:45:33] snowcrshd: has joined #ruby
[16:51:33] kies: has joined #ruby
[16:52:22] italoguilherme: has joined #ruby
[16:53:27] italoguilherme: has joined #ruby
[16:54:35] italoguilherme: Does anyone know why this error: "Could not find activesupport-4.2.7.1 in any of the sources"
[16:55:35] dminuoso: Not without you telling us more.
[16:58:03] italoguilherme: The activesupport gem is not installed. I've tried it several times and it always has an error
[17:00:06] havenwood: italoguilherme: Is this a Rails app? Do you have a Gemfile?
[17:01:47] italoguilherme: the problem is on installation
[17:02:20] havenwood: This is a Rails app?
[17:02:56] havenwood: italoguilherme: Did you run `bundle` are you prefixing your `rails` command with `bundle exec` or using the `bin/rails` shim?
[17:03:11] havenwood: italoguilherme: There's a #rubyonrails channel for Rails questions.
[17:03:22] havenwood: ?rails italoguilherme
[17:03:22] ruby[bot]: italoguilherme: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
[17:03:41] amosbird: has joined #ruby
[17:03:47] havenwood: There are many types of app. It helps us to know what's going on. It's broken isn't enough.
[17:04:17] havenwood: Assuming "yes a app" means Rails app.
[17:05:27] italoguilherme: I'll see the channel here, okay?
[17:05:29] havenwood: italoguilherme: Something like: "I have a Rails app. I'm running `bin/rails c` and get the following error:"
[17:06:05] havenwood: italoguilherme: You'll need to be in the right channel. You can ask Ruby questions here.
[17:06:06] havenwood: If you have a Ruby-related question, ask away!
[17:07:30] italoguilherme: has left #ruby: ("Leaving")
[17:07:59] MichaelBurge: has joined #ruby
[17:08:34] hahuang65: has joined #ruby
[17:09:13] SeepingN: has joined #ruby
[17:09:44] havenwood: Another happy customer! ¯\_(ツ)_/¯
[17:09:53] laphoraig49: has joined #ruby
[17:10:22] havenwood: 4.2.7.1? Time for an update...
[17:10:40] xzhao: has joined #ruby
[17:12:17] ledestin: has joined #ruby
[17:15:59] gusrub: has joined #ruby
[17:24:30] ocpysh: has joined #ruby
[17:25:03] mercerist: has joined #ruby
[17:25:25] eckhardt: has joined #ruby
[17:25:29] gusrub: has joined #ruby
[17:26:22] username1: has joined #ruby
[17:26:50] troulouliou_div2: has joined #ruby
[17:28:31] chouhoulis: has joined #ruby
[17:29:16] conta: has joined #ruby
[17:29:17] jamesaxl: has joined #ruby
[17:35:37] stlis2: has joined #ruby
[17:37:43] ltem: has joined #ruby
[17:40:37] AnoHito: has joined #ruby
[17:41:34] isquitedifferent: has joined #ruby
[17:41:46] gusrub: has joined #ruby
[17:44:35] tirej: has joined #ruby
[17:45:31] ule: that's not ruby, that's Rails
[17:45:57] kobain: has joined #ruby
[17:49:24] hahuang65: has joined #ruby
[17:53:47] banisterfiend: has joined #ruby
[17:56:39] drbrain: has joined #ruby
[17:56:39] drbrain: has joined #ruby
[18:00:39] MichaelBurge: has joined #ruby
[18:04:09] _sfiguser: has joined #ruby
[18:07:32] mikecmpbll: has joined #ruby
[18:10:20] __Yiota: has joined #ruby
[18:11:41] SuperL4g: has joined #ruby
[18:15:24] ocpysh: has joined #ruby
[18:16:01] oleo: has joined #ruby
[18:16:09] ramfjord: has joined #ruby
[18:16:42] SuperLag: has joined #ruby
[18:25:34] preyalone: has joined #ruby
[18:28:28] bokayio: has joined #ruby
[18:29:12] dlitvak: has joined #ruby
[18:31:28] Tagami[m]: has joined #ruby
[18:31:56] yosafbridge: has joined #ruby
[18:32:59] S1kx: has joined #ruby
[18:34:46] Uranio: has joined #ruby
[18:38:10] stlis2: has joined #ruby
[18:39:39] Guest69369: has joined #ruby
[18:42:06] __Yiota: has joined #ruby
[18:46:56] aidalgol: has joined #ruby
[18:46:57] joenas[m]: has joined #ruby
[18:46:57] yana[m]: has joined #ruby
[18:46:57] jonjits[m]: has joined #ruby
[18:46:57] aviraldg: has joined #ruby
[18:46:57] M107262[m]: has joined #ruby
[18:46:58] Giphy[m]: has joined #ruby
[18:46:58] torarne: has joined #ruby
[18:46:58] gokul_mr[m]: has joined #ruby
[18:46:58] lasenna[m]: has joined #ruby
[18:46:58] KevinMGranger: has joined #ruby
[18:46:58] turt2live: has joined #ruby
[18:46:58] heftig: has joined #ruby
[18:46:58] dman[m]: has joined #ruby
[18:47:04] mbreit: has joined #ruby
[18:47:04] aagdbl[m]: has joined #ruby
[18:47:04] Matt[m]1: has joined #ruby
[18:47:05] velu_aon[m]: has joined #ruby
[18:50:32] jinie_: has joined #ruby
[18:51:30] minimalism: has joined #ruby
[18:55:07] milardovich: has joined #ruby
[19:00:07] banisterfiend: has joined #ruby
[19:00:55] Murda: has joined #ruby
[19:03:36] Murda: has joined #ruby
[19:08:23] banisterfiend: has joined #ruby
[19:13:32] Moosashi: has joined #ruby
[19:16:35] rabajaj: has joined #ruby
[19:16:40] jackjackdripper: has joined #ruby
[19:16:55] eightlimbed: has joined #ruby
[19:17:51] weaksauce: has joined #ruby
[19:21:54] frozengeek_: has joined #ruby
[19:25:59] kies: has joined #ruby
[19:28:24] jenrzzz: has joined #ruby
[19:29:34] ozcanesen: has joined #ruby
[19:31:53] alex`: has joined #ruby
[19:34:40] jenrzzz_: has joined #ruby
[19:40:13] stlis2: has joined #ruby
[19:40:23] nadir: has joined #ruby
[19:45:24] raul782: has joined #ruby
[19:47:31] banisterfiend: has joined #ruby
[19:50:24] alfiemax: has joined #ruby
[19:53:50] nofxxx: has joined #ruby
[19:54:27] Rapture: has joined #ruby
[19:57:14] hightower3: has joined #ruby
[19:58:50] zacts: has joined #ruby
[20:00:12] cadillac__: has joined #ruby
[20:02:36] samosa: has joined #ruby
[20:02:42] samosa: has left #ruby: ()
[20:02:47] uZiel: has joined #ruby
[20:03:38] cdg: has joined #ruby
[20:04:57] cdg_: has joined #ruby
[20:06:24] Tagami[m]: has joined #ruby
[20:06:34] bokayio: has joined #ruby
[20:06:41] joes: has joined #ruby
[20:09:39] ocpysh: has joined #ruby
[20:17:31] DrCode: has joined #ruby
[20:17:52] tomphp: has joined #ruby
[20:19:48] ocpysh: is it ok to ask rails related questions here? #rubyonrails is not very active nowadays.
[20:22:18] aidalgol: has joined #ruby
[20:22:22] gokul_mr[m]: has joined #ruby
[20:22:22] turt2live: has joined #ruby
[20:22:23] dman[m]: has joined #ruby
[20:22:23] torarne: has joined #ruby
[20:22:23] lasenna[m]: has joined #ruby
[20:22:23] jonjits[m]: has joined #ruby
[20:22:23] M107262[m]: has joined #ruby
[20:22:23] KevinMGranger: has joined #ruby
[20:22:23] yana[m]: has joined #ruby
[20:22:23] aviraldg: has joined #ruby
[20:22:23] heftig: has joined #ruby
[20:22:23] joenas[m]: has joined #ruby
[20:22:23] Giphy[m]: has joined #ruby
[20:22:29] velu_aon[m]: has joined #ruby
[20:22:29] aagdbl[m]: has joined #ruby
[20:22:30] mbreit: has joined #ruby
[20:22:30] Matt[m]1: has joined #ruby
[20:24:39] Frem: has joined #ruby
[20:25:57] ur5us: has joined #ruby
[20:26:33] SCHAPiE: has joined #ruby
[20:27:22] Mia: has joined #ruby
[20:30:26] eckhardt: has joined #ruby
[20:32:39] digitalnomad: has joined #ruby
[20:35:57] dmtd: has joined #ruby
[20:37:19] uZiel: has joined #ruby
[20:38:35] beilabs: has joined #ruby
[20:38:43] __Yiota: has joined #ruby
[20:40:28] snowcrshd: has joined #ruby
[20:41:36] Zarthus: ocpysh: there are 300 people in there, surely someone in there can help you far better than we can
[20:42:03] Zarthus: we typically redirect people to the rails channel, although if you could ask your question as a generic ruby question it might be worth a shot
[20:47:18] konsolebox: anyone knows how to configure a .gemspec file so Gem::RDoc would also generate ri documents from directories with lower level than ext? e.g. ext/sub/module. because it doesn't seem to.
[20:48:02] konsolebox: i'm currently studying rubygems but perhaps someone here already knows how to do it.
[20:48:23] dcunit3d: has joined #ruby
[20:49:25] tomphp: has joined #ruby
[20:54:57] KeyJoo: has joined #ruby
[21:04:59] mim1k: has joined #ruby
[21:08:17] ramfjord: has joined #ruby
[21:11:09] postmodern: has joined #ruby
[21:11:13] bmurt: has joined #ruby
[21:12:10] raul782: has joined #ruby
[21:15:12] ramfjord: has joined #ruby
[21:15:42] digitalnomad: has joined #ruby
[21:21:07] ocpysh: has joined #ruby
[21:23:43] alfiemax: has joined #ruby
[21:27:22] funburn: has joined #ruby
[21:29:58] funburn: has joined #ruby
[21:31:29] jenrzzz: has joined #ruby
[21:31:29] jenrzzz: has joined #ruby
[21:31:30] mtkd: has joined #ruby
[21:32:47] funburn: has joined #ruby
[21:34:52] raul782: has joined #ruby
[21:34:59] funburn: has joined #ruby
[21:35:56] bigkevmcd: has joined #ruby
[21:36:06] ramfjord: has joined #ruby
[21:38:37] InfinityFye: has joined #ruby
[21:39:13] careta: has joined #ruby
[21:39:56] funburn: has joined #ruby
[21:44:23] funburn: has joined #ruby
[21:44:42] stlis2: has joined #ruby
[21:48:15] funburn_: has joined #ruby
[21:51:49] funburn: has joined #ruby
[21:56:42] brw: has joined #ruby
[22:00:31] ruby[bot]: has joined #ruby
[22:00:31] ChanServ: +o ruby[bot]
[22:04:06] raul782: has joined #ruby
[22:05:17] stlis: has joined #ruby
[22:09:15] stlis: has joined #ruby
[22:13:43] korvak: has joined #ruby
[22:16:07] gil_: has joined #ruby
[22:16:07] gil_: has joined #ruby
[22:17:04] balazs__: has joined #ruby
[22:19:01] Moosashi: has joined #ruby
[22:19:02] brw: has joined #ruby
[22:19:09] stlis: has joined #ruby
[22:19:45] conta1: has joined #ruby
[22:24:05] korvak: has joined #ruby
[22:30:09] ramfjord: has joined #ruby
[22:32:42] troulouliou_div2: has joined #ruby
[22:33:09] jenrzzz_: has joined #ruby
[22:37:53] milardovich: has joined #ruby
[22:42:52] stlis: has joined #ruby
[22:42:59] tomdickharry: has joined #ruby
[22:43:44] hkdsun: has joined #ruby
[22:47:11] kn-928: has joined #ruby
[22:48:18] tomphp: has joined #ruby
[22:51:30] ramfjord: has joined #ruby
[22:54:40] raul782: has joined #ruby
[22:57:25] ramfjord: has joined #ruby
[22:59:37] RahulT: has joined #ruby
[23:00:58] Paraxial: has joined #ruby
[23:05:27] mim1k: has joined #ruby
[23:06:22] ramfjord: has joined #ruby
[23:08:04] brent__: has joined #ruby
[23:08:18] kn-928: has joined #ruby
[23:10:57] kn-928: has joined #ruby
[23:11:00] beilabs: has joined #ruby
[23:14:25] Moosashi: has joined #ruby
[23:15:02] weems|laptop: has joined #ruby
[23:15:29] weems|laptop: Having a error using irb: bash: /usr/local/bin/irb: /usr/local/bin/ruby: bad interpreter: No such file or directory
[23:16:07] llua: sed -n l foo.rb
[23:16:08] RahulT: has joined #ruby
[23:16:43] llua: well, sed -n 1l foo.rb
[23:18:27] linduxed: so there's this language called moonscript which is something like a coffeescript for lua. there's one language feature of it that i've been wondering if one could port over to ruby:
[23:18:34] cdg: has joined #ruby
[23:18:59] jrabe: has joined #ruby
[23:19:10] linduxed: if one writes `:foo, :bar` this gets compiled to `{ foo: foo, bar: bar }`
[23:20:19] linduxed: a very quick way to construct hashes (tables in moonscript/lua) with keys named the same as the variables used as values
[23:20:36] linduxed: i'm thinking one could maybe achieve this with some meta-programming, maybe
[23:21:01] linduxed: of course one would need to choose something else than :foo, considering we've already got that used by symbols
[23:23:42] konsolebox: weems|laptop: /usr/local/bin/irb is perhaps hard-coded to use /usr/local/bin/ruby, but /usr/local/bin/ruby no longer exists. also try pry: gem install pry
[23:23:56] cdg: has joined #ruby
[23:26:53] konsolebox: linduxed: what's the use case for that?
[23:29:06] linduxed: konsolebox: i'd say it's no more than a convenience, but it shortens up certain long hash-literal declarations
[23:32:34] konsolebox: linduxed: it's easy to create a function for that
[23:34:10] rahult_: has joined #ruby
[23:34:28] konsolebox: >> def h(*keys); h = {}; keys.each{ |e| h[e.to_sym] = e.to_s; }; h; end; h :a, :b, :c
[23:34:30] ruby[bot]: konsolebox: # => {:a=>"a", :b=>"b", :c=>"c"} (https://eval.in/844559)
[23:36:43] Moosashi: has joined #ruby
[23:37:04] milardovich: has joined #ruby
[23:40:20] NickZA: has joined #ruby
[23:42:18] linduxed: konsolebox: not quite the same: the `e.to_s` would need to be replaced with something that does `instance_eval(e)`, i believe
[23:42:31] quiller: has joined #ruby
[23:42:34] linduxed: my meta-programming knowledge is a bit rusty...
[23:43:24] linduxed: the result should, if i was to use your example, # => {:a=>a, :b=>b, :c=>c}
[23:44:50] nofxxx: linduxed, yup, use just #send instead of the eval
[23:46:56] konsolebox: or method(e).call
[23:46:57] linduxed: nofxxx: hmmm, but would send work for local variables?
[23:47:16] linduxed: i know it works for methods, but i'm not sure one would be able to have it work for local variables
[23:47:27] linduxed: that's why i reached for eval
[23:47:35] ur5us: has joined #ruby
[23:47:36] Radar: relevant: https://xkcd.com/1205/
[23:47:39] linduxed: by no means do i think it's a pretty thing
[23:47:52] Radar: Do you really want 10-15 lines of obfuscated Ruby to save you 5 seconds of typing?
[23:47:57] linduxed: Radar: this is just a curiosity :-P
[23:48:07] nofxxx: linduxed, by local you mean instance? @foo ?
[23:48:09] linduxed: Radar: it's a feature i find nice in moonscript
[23:48:54] jackjackdripper1: has joined #ruby
[23:49:00] nofxxx: use instance_variable_get for that, you need to pass the '@' still
[23:49:25] rikai: has joined #ruby
[23:49:36] linduxed: basically, the seventh code example under the "Table literals" section here: http://moonscript.org/reference/#the-language/table-literals
[23:49:59] linduxed: that's waht i was thinking about
[23:52:14] linduxed: hmm, considering the difference in how instance variables are referenced as compared to local variables this wouldn't really be working the same way in ruby
[23:52:56] linduxed: once more, this is just a curiosity that i started thinking about, not something i'm trying to introduce to some codebase
[23:53:00] Radar: >> foo = 1; bar = 2; Hash[[:foo, :bar].map { |e| [e, eval(e.to_s)] }]
[23:53:01] ruby[bot]: Radar: # => {:foo=>1, :bar=>2} (https://eval.in/844560)
[23:53:14] Radar: Will fail if either foo or bar is undefined beforehand.
[23:53:31] Radar: My "10-15 lines" estimate was to put in place error checking + reporting.
[23:57:01] Moosashi: has joined #ruby
[23:58:14] jackjackdripper: has joined #ruby
[23:59:53] mostlybadfly: has joined #ruby