« Back to channel list

#ruby - 18 January 2018

« Back 1 day Forward 1 day »
[00:01:09] ivanskie: has joined #ruby
[00:02:28] alfiemax_: has joined #ruby
[00:03:20] d5sx43: has joined #ruby
[00:04:11] marr: has joined #ruby
[00:05:45] elphe: has joined #ruby
[00:07:37] al2o3-cr1: has joined #ruby
[00:09:55] truenito: has joined #ruby
[00:10:21] jenrzzz_: has joined #ruby
[00:10:46] ur5us: has joined #ruby
[00:10:52] _aeris_: has joined #ruby
[00:11:25] dinfuehr: has joined #ruby
[00:15:03] meesles: has joined #ruby
[00:17:12] _aeris_: has joined #ruby
[00:21:46] meadmoon: has joined #ruby
[00:27:38] _aeris_: has joined #ruby
[00:28:45] chocoelho1: has joined #ruby
[00:29:45] guacamole: has joined #ruby
[00:29:46] guacamole: has joined #ruby
[00:29:57] d5sx43: has joined #ruby
[00:30:05] elphe: has joined #ruby
[00:30:50] lele: has joined #ruby
[00:32:40] rigby: has joined #ruby
[00:35:22] bronson: has joined #ruby
[00:43:26] electrostat: has joined #ruby
[00:48:57] jenrzzz: has joined #ruby
[00:49:41] Toggi3: has joined #ruby
[00:50:03] kossae: has joined #ruby
[00:53:26] marius: has joined #ruby
[00:53:41] marius: has joined #ruby
[01:02:59] dinfuehr: has joined #ruby
[01:12:53] ivanskie: has joined #ruby
[01:13:18] workmad3: has joined #ruby
[01:14:27] banisterfiend: has joined #ruby
[01:22:49] d5sx43: has joined #ruby
[01:35:26] electrostat: has joined #ruby
[01:36:10] bronson: has joined #ruby
[01:37:25] kapil___: has joined #ruby
[01:39:31] vichib: has joined #ruby
[01:40:35] vichib: has joined #ruby
[01:41:42] vichib: has joined #ruby
[01:42:43] vichib: has joined #ruby
[01:43:01] Toggi3: has joined #ruby
[01:43:46] vichib: has joined #ruby
[01:55:26] connor_goodwolf: has joined #ruby
[01:55:26] veloutin: has joined #ruby
[01:55:27] Jicemo: has joined #ruby
[01:55:27] g3funk: has joined #ruby
[01:55:27] voker57: has joined #ruby
[01:55:27] voker57: has joined #ruby
[01:55:29] tuelz: has joined #ruby
[01:55:30] bougyman: has joined #ruby
[01:55:31] camilasan: has joined #ruby
[01:55:34] ahuman: has joined #ruby
[01:55:36] mitchellvanw: has joined #ruby
[01:55:39] Jello_Raptor: has joined #ruby
[01:55:44] Miron: has joined #ruby
[01:55:46] jtperreault: has joined #ruby
[01:55:53] pmarreck: has joined #ruby
[01:55:55] gbailey: has joined #ruby
[01:55:56] Flabbergazta: has joined #ruby
[01:56:02] oblak: has joined #ruby
[01:56:05] schaary: has joined #ruby
[01:56:06] `derpy: has joined #ruby
[01:56:06] moogumbo: has joined #ruby
[01:56:15] ewilliam: has joined #ruby
[01:56:15] nOgAnOo: has joined #ruby
[01:56:18] Takumo: has joined #ruby
[01:56:23] jwheare: has joined #ruby
[01:56:29] BuildTheRobots: has joined #ruby
[01:56:30] Travis-42: has joined #ruby
[01:56:34] bosma: has joined #ruby
[01:56:38] SuperTux88: has joined #ruby
[01:56:41] Trel: has joined #ruby
[01:57:26] cpallares: has joined #ruby
[01:57:44] Nahra: has joined #ruby
[01:57:46] jonjits[m]1: has joined #ruby
[01:58:44] krasnus: has joined #ruby
[02:00:08] bokayio: has joined #ruby
[02:00:26] ltd: has joined #ruby
[02:01:53] bauruine: has joined #ruby
[02:02:25] listenmore: has joined #ruby
[02:02:50] DaFiN: has joined #ruby
[02:06:04] guacamole: has joined #ruby
[02:06:36] Zamyatin: has joined #ruby
[02:11:37] _aeris_: has joined #ruby
[02:11:54] jnollette: has joined #ruby
[02:15:45] yeticry: has joined #ruby
[02:15:59] voker57: has joined #ruby
[02:15:59] voker57: has joined #ruby
[02:22:56] dtzuzu: has joined #ruby
[02:23:53] guacamole: has joined #ruby
[02:23:53] guacamole: has joined #ruby
[02:24:14] DaFiN: has joined #ruby
[02:24:46] zigzig: has joined #ruby
[02:28:49] dtzuzu: has joined #ruby
[02:28:54] cdg: has joined #ruby
[02:29:38] mtkd: has joined #ruby
[02:30:30] DaFiN_: has joined #ruby
[02:31:48] _aeris_: has joined #ruby
[02:32:12] Kugz: has joined #ruby
[02:33:36] Kugz: Hi guys! I was wondering if someone could link me to a tutorial or explanation of how to parse JSON data from a web API into my application. An example URL would be https://oc1.api.riotgames.com/lol/static-data/v3/champions?locale=en_US&tags=info&dataById=false&api_key=RGAPI-MY_API_KEY. I figured out how to do it with locally stored JSON data, but when accessing a URL it doesn't seem to work
[02:33:56] cdg: has joined #ruby
[02:34:26] meesles: https://stackoverflow.com/questions/18581792/ruby-on-rails-and-json-parser-from-url
[02:35:03] meesles: Gotta read the URL into an IO
[02:35:06] Zamyatin: has joined #ruby
[02:35:27] Kugz: Ah no wonder, so rather than getting the JSON data from the url it was just getting the URL as a String?
[02:36:22] LastWhisper____: has joined #ruby
[02:37:10] meesles: Yep, it didn't know it was a URL
[02:37:14] bronson: has joined #ruby
[02:38:12] JusticeFries: has joined #ruby
[02:38:40] Kugz: Thanks so much, that works perfectly! I looked on SO but couldn't find anything
[02:40:33] meesles: Haha, part of becoming a better programmer is knowing what to search :P
[02:42:29] Vircung: has joined #ruby
[02:43:45] LightStalker: has joined #ruby
[02:43:49] Kugz: Yeah it took me a little while to figure out how to parse local JSON and access the elements inside it but I finally got it
[02:45:03] Kugz: My google-fu is week with programming as it's my first time learning and it's hard to describe what I need to do. Sometimes you need to search the perfect term which I might not have learned yet. So glad I found out about this IRC channel :)
[02:45:08] _aeris_: has joined #ruby
[02:46:59] _aeris_: has joined #ruby
[02:47:42] meesles: Yeah, seriously
[02:48:00] meesles: If I had thought about IRC in college I could have saved myself some long nights :P
[02:48:40] chocoelho1: has joined #ruby
[02:51:25] jnollette: has joined #ruby
[02:54:18] Dykam: has joined #ruby
[02:54:41] ivanskie: has joined #ruby
[02:54:43] pastorinni: has joined #ruby
[02:58:14] cschneid_: has joined #ruby
[02:58:45] nso95: has joined #ruby
[03:02:15] _aeris_: has joined #ruby
[03:04:31] sspreitz: has joined #ruby
[03:09:01] zigzig: has joined #ruby
[03:09:17] ivanskie: has joined #ruby
[03:09:59] justicef_: has joined #ruby
[03:14:08] workmad3: has joined #ruby
[03:19:37] guacamole: has joined #ruby
[03:19:37] guacamole: has joined #ruby
[03:20:26] orbyt_: has joined #ruby
[03:22:34] Toggi3: has joined #ruby
[03:26:34] darkhanb: has joined #ruby
[03:27:26] jidar: has joined #ruby
[03:27:55] bmurt: has joined #ruby
[03:28:31] guacamole: has joined #ruby
[03:28:32] guacamole: has joined #ruby
[03:30:23] Radar: has joined #ruby
[03:30:24] sjums: has joined #ruby
[03:30:35] planigan: has joined #ruby
[03:30:35] sunrunner20: has joined #ruby
[03:30:40] surrounder: has joined #ruby
[03:30:41] jokester: has joined #ruby
[03:30:49] bogdanteleaga: has joined #ruby
[03:30:49] aarongodin: has joined #ruby
[03:30:56] baweaver: has joined #ruby
[03:31:04] amitchellbullard: has joined #ruby
[03:31:05] mistym: has joined #ruby
[03:31:05] mistym: has joined #ruby
[03:31:07] jhass: has joined #ruby
[03:31:10] jnix: has joined #ruby
[03:31:14] greenbagels: has joined #ruby
[03:31:23] creeg: has joined #ruby
[03:31:26] Cu5tosLimen: has joined #ruby
[03:31:31] mattwc: has joined #ruby
[03:31:34] foamz: has joined #ruby
[03:31:35] tw1sted: has joined #ruby
[03:31:37] ephemera_: has joined #ruby
[03:31:38] r3my: has joined #ruby
[03:31:38] duracrisis: has joined #ruby
[03:31:41] rjungemann: has joined #ruby
[03:31:47] edwardly: has joined #ruby
[03:31:47] edwardly: has joined #ruby
[03:31:49] Yonk: has joined #ruby
[03:31:56] andywojo: has joined #ruby
[03:31:57] solidsnack: has joined #ruby
[03:31:57] mroth: has joined #ruby
[03:32:10] jxf: has joined #ruby
[03:32:27] kireevco: has joined #ruby
[03:32:29] jhill_: has joined #ruby
[03:32:29] graingert: has joined #ruby
[03:32:30] JoshL: has joined #ruby
[03:32:31] gokul_mr[m]: has joined #ruby
[03:32:41] lcarlson: has joined #ruby
[03:33:31] erciccione_[m]: has joined #ruby
[03:33:31] aviraldg: has joined #ruby
[03:33:32] KevinMGranger: has joined #ruby
[03:38:09] thejamespinto: has joined #ruby
[03:38:14] bronson: has joined #ruby
[03:38:31] guacamole: has joined #ruby
[03:38:31] guacamole: has joined #ruby
[03:42:19] DaFiN: has joined #ruby
[03:42:40] nicesignal: has joined #ruby
[03:49:14] elphe: has joined #ruby
[03:50:08] guacamole: has joined #ruby
[03:50:08] guacamole: has joined #ruby
[03:50:12] cschneid: has joined #ruby
[03:53:34] hahuang65: has joined #ruby
[03:55:37] Toggi3: has joined #ruby
[04:08:58] hahuang61: has joined #ruby
[04:09:27] andydna_ruby: has joined #ruby
[04:12:14] andydna_ruby: hi. how does BigDecimal new itself up like this BigDecimal('1') NOT BigDecimal.new('1') ? i'm trying to make it happen in pry by def'ing ClassName under Kernel but it ain't workin'
[04:13:54] ur5us: has joined #ruby
[04:19:17] mozzarella: andydna_ruby: I'm pretty sure it's just a normal function
[04:20:45] al2o3-cr1: andydna_ruby: you can get the functionality like this
[04:20:52] al2o3-cr1: >> class X end; def X; X.new end; X()
[04:20:53] ruby[bot]: al2o3-cr1: # => #<X:0x421e9a28> (https://eval.in/936994)
[04:21:38] zululee: has joined #ruby
[04:25:41] jenrzzz: has joined #ruby
[04:27:00] Nicmavr: has joined #ruby
[04:28:45] elphe_: has joined #ruby
[04:29:14] cschneid: has joined #ruby
[04:33:02] havenwood: >> require 'bigdecimal'; defined? BigDecimal()
[04:33:03] ruby[bot]: havenwood: # => "method" (https://eval.in/936995)
[04:33:23] havenwood: >> require 'bigdecimal'; method(:BigDecimal).owner
[04:33:24] ruby[bot]: havenwood: # => Kernel (https://eval.in/936996)
[04:35:25] havenwood: >> require 'bigdecimal'; require 'bigdecimal/util'; '3.14'.to_d
[04:35:26] ruby[bot]: havenwood: # => #<BigDecimal:4160f9a0,'0.314E1',18(18)> (https://eval.in/936997)
[04:38:07] pinkfloyd1911: has joined #ruby
[04:38:48] bronson: has joined #ruby
[04:38:54] govg: has joined #ruby
[04:41:11] gix: has joined #ruby
[04:42:27] Dark_Arc: has joined #ruby
[04:42:50] al2o3-cr: the're just module_functionz
[04:43:12] al2o3-cr: a lot of them.
[04:43:32] havenwood: >> module Kernel; def Whee; 42 end end; Whee()
[04:43:33] ruby[bot]: havenwood: # => 42 (https://eval.in/937000)
[04:44:13] al2o3-cr: >> module MyBigDec def self.lol() 'lol' end end; module Kernel def MyBigDec() MyBigDec.lol end; module_function :MyBigDec; end; MyBigDec()
[04:44:14] ruby[bot]: al2o3-cr: # => "lol" (https://eval.in/937003)
[04:44:15] vichib: has joined #ruby
[04:45:19] havenwood: al2o3-cr: You don't need to module_funtion, since: Kernel > Object
[04:46:35] havenwood: err, I mean Object mixes in Kernel
[04:46:38] al2o3-cr: havenwood: haha yeah you're right, it is 4:45 AM here =)
[04:46:42] havenwood: Object < Kernel
[04:46:47] havenwood: al2o3-cr: Long day for me too.
[04:47:05] guacamole: has joined #ruby
[04:47:06] guacamole: has joined #ruby
[04:47:07] havenwood: >> Object.ancestors
[04:47:08] ruby[bot]: havenwood: # => [Object, Kernel, BasicObject] (https://eval.in/937006)
[04:47:13] Toggi3: has joined #ruby
[04:47:54] al2o3-cr: >> Object < Kernel
[04:47:55] ruby[bot]: al2o3-cr: # => true (https://eval.in/937011)
[04:50:30] al2o3-cr: does charliesome still hang out here and there?
[04:51:54] varesa|: has joined #ruby
[04:53:52] al2o3-cr: i was gonna as him kindly to update ruby -> 2.5 and lua -> 5.3
[04:55:17] Dykam: has joined #ruby
[04:55:25] cschneid: has joined #ruby
[05:00:14] jenrzzz: has joined #ruby
[05:00:15] jenrzzz: has joined #ruby
[05:02:21] raynold: has joined #ruby
[05:05:32] alfiemax: has joined #ruby
[05:06:42] banisterfiend: has joined #ruby
[05:07:31] bmn: has joined #ruby
[05:07:52] elphe: has joined #ruby
[05:15:04] workmad3: has joined #ruby
[05:16:04] thejamespinto: has joined #ruby
[05:17:23] kies: has joined #ruby
[05:18:23] iamarun: has joined #ruby
[05:18:48] cschneid: has joined #ruby
[05:20:14] Kugz: has joined #ruby
[05:20:36] jtdoncas: has joined #ruby
[05:20:59] Dykam: has joined #ruby
[05:23:20] alfiemax: has joined #ruby
[05:24:42] ramfjord: has joined #ruby
[05:27:25] cdg: has joined #ruby
[05:29:31] raynold: ahh it's a wonderful day
[05:32:21] randomstrangerb: has joined #ruby
[05:34:10] thejames_: has joined #ruby
[05:37:48] DTZUZO: has joined #ruby
[05:39:45] bronson: has joined #ruby
[05:41:31] aupadhye: has joined #ruby
[05:46:39] eckhardt: has joined #ruby
[05:51:08] cschneid: has joined #ruby
[05:52:45] anisha: has joined #ruby
[05:53:21] nso95: has left #ruby: ()
[05:59:19] aupadhye: has joined #ruby
[06:01:05] thejamespinto: has joined #ruby
[06:03:25] meinside: has joined #ruby
[06:10:15] banisterfiend: has joined #ruby
[06:14:06] baweaver: has joined #ruby
[06:16:00] LocaMocha: has joined #ruby
[06:21:26] thejames_: has joined #ruby
[06:23:00] ledestin: has joined #ruby
[06:24:03] naprimer3: has joined #ruby
[06:24:35] banisterfiend: has joined #ruby
[06:24:46] iamarun: has joined #ruby
[06:25:52] Dykam: has joined #ruby
[06:38:21] pwnd_nsfw: has joined #ruby
[06:40:32] bronson: has joined #ruby
[06:47:14] darkhanb: has joined #ruby
[06:47:32] xfbs: has joined #ruby
[06:49:06] hinbody: has joined #ruby
[06:50:33] KeyJoo: has joined #ruby
[06:52:24] conta: has joined #ruby
[06:53:45] thejamespinto: has joined #ruby
[06:55:55] dminuoso: >> require 'bigdecimal'; Object.const_get(:BigDecimal).new(1)
[06:55:56] ruby[bot]: dminuoso: # => #<BigDecimal:421b1d08,'0.1E1',9(27)> (https://eval.in/937087)
[06:55:56] dminuoso: ACTION kicks ruby[bot]
[06:56:56] conta1: has joined #ruby
[06:57:09] electrostat: has joined #ruby
[07:01:19] alfiemax: has joined #ruby
[07:01:35] alfiemax: has joined #ruby
[07:05:48] dminuoso: morfin60: Ruby has no real notion of "top level scope".
[07:06:06] dminuoso: morfin60: Any "top level constant" is actually a constant of Object.
[07:06:17] morfin60: yes i know)
[07:06:19] dminuoso: >> Object::Object::Object::Object::Object::Object
[07:06:20] ruby[bot]: dminuoso: # => Object (https://eval.in/937092)
[07:06:28] morfin60: i mean that message kicked bod
[07:06:29] dminuoso: This is a really object.
[07:06:44] dminuoso: Its like my old PC.
[07:06:44] dminuoso: Kicking helps.
[07:07:45] morfin60: >> Object.ancestors
[07:07:46] ruby[bot]: morfin60: # => [Object, Kernel, BasicObject] (https://eval.in/937093)
[07:08:03] dminuoso: morfin60: Dont expect Kernel and BasicObject to be considered in top level scope lookup.
[07:08:11] dminuoso: 2.5 has stopped that.
[07:08:17] morfin60: what do you mean?
[07:08:32] morfin60: >> Kernel.methods
[07:08:33] ruby[bot]: morfin60: # => [:`, :gets, :proc, :lambda, :sprintf, :format, :Integer, :Float, :String, :Array, :Hash, :select, :l ...check link for more (https://eval.in/937094)
[07:09:04] dminuoso: >> module M; end; Kernel.include M; M
[07:09:05] ruby[bot]: dminuoso: # => M (https://eval.in/937095)
[07:09:11] dminuoso: morfin60: ^- this will no longer work in 2.5
[07:09:24] dminuoso: As its supposed to be.
[07:10:01] morfin60: but you can do same with Object?
[07:10:08] kapil___: has joined #ruby
[07:10:10] morfin60: >> module M; end; Object.include M; M
[07:10:12] electrostat: has joined #ruby
[07:10:15] morfin60: >> module M; end; Object.include M; M
[07:10:16] ruby[bot]: morfin60: # => M (https://eval.in/937096)
[07:10:24] morfin60: this is valid?
[07:10:35] dminuoso: morfin60: Yes. `module ::M; end` is just a shorthand for that.
[07:10:47] Dykam: has joined #ruby
[07:10:48] dminuoso: morfin60: or any "module M; end" at top level nesting
[07:10:59] morfin60: well, that one too )
[07:11:00] dminuoso: not exactly a shorthand
[07:11:04] dminuoso: morfin60: though incidentally
[07:11:12] darkhanb: has joined #ruby
[07:11:12] dminuoso: morfin60: if you do: module M; end; Object.include M
[07:11:20] dminuoso: you have M twice in Object
[07:11:23] ramfjord: has joined #ruby
[07:11:39] dminuoso: Once in its constants, and once in its ancestors.
[07:11:46] dminuoso: >> module M; end; Object.include M; puts Object.ancestors
[07:11:47] ruby[bot]: dminuoso: # => Object ...check link for more (https://eval.in/937097)
[07:11:53] dminuoso: >> module M; end; Object.include M; puts Object.constants.include?(:M)
[07:11:54] ruby[bot]: dminuoso: # => true ...check link for more (https://eval.in/937098)
[07:11:59] dminuoso: >> module M; end; Object.include M; p Object.ancestors
[07:12:09] ruby[bot]: dminuoso: # => [Object, M, Kernel, BasicObject] ...check link for more (https://eval.in/937099)
[07:12:28] morfin60: i don't understand how BasicObject can have itself in ancestors list
[07:12:53] dminuoso: morfin60: .ancestors is basically "classes/modules to consider for method lookup"
[07:13:00] dminuoso: morfin60: so each class has itself first. ;-)
[07:13:15] morfin60: ah of course)
[07:13:29] dminuoso: that is, classes/modules to consider for method lookup modulo the receivers singleton class
[07:13:59] dminuoso: morfin60: actually the more I think of it, it was a bit hasty to call `module ::M ...` equivalent.
[07:14:06] d_kam_: has joined #ruby
[07:14:25] mark_66: has joined #ruby
[07:14:45] bronson: has joined #ruby
[07:14:48] morfin60: at least we don't need proto/metatables/something else)
[07:15:23] dminuoso: morfin60: http://i.imgur.com/04Mlrwp.png
[07:15:28] dminuoso: morfin60: Its complicated enough.
[07:15:45] workmad3: has joined #ruby
[07:16:09] ur5us: has joined #ruby
[07:16:22] Jello_Raptor: has joined #ruby
[07:17:15] morfin60: >> BasicObject.super
[07:17:16] ruby[bot]: morfin60: # => undefined method `super' for BasicObject:Class (NoMethodError) ...check link for more (https://eval.in/937103)
[07:17:22] morfin60: >> BasicObject.superclass
[07:17:23] ruby[bot]: morfin60: # => nil (https://eval.in/937104)
[07:18:00] dminuoso: morfin60: THat's why ancestors always stop at BasicObject. :-)
[07:18:00] dminuoso: There's simply nothing there.
[07:21:13] nadir: has joined #ruby
[07:21:24] alfiemax: has joined #ruby
[07:21:25] morfin60: first method found in that chain is being executed right?
[07:24:06] SeepingN: has joined #ruby
[07:26:11] stanc: has joined #ruby
[07:28:01] jtdoncas: has joined #ruby
[07:29:04] dminuoso: morfin60: Ignoring method missing, yes.
[07:33:59] morfin60: but what if i want explicitly call some instead of automatically looking up?
[07:36:03] morfin60: i mean instance method
[07:44:32] conta1: has joined #ruby
[07:44:44] morfin60: dminuoso, can i somehow call method of parents parent explicitly?
[07:47:42] alfiemax: has joined #ruby
[07:49:45] roshanavand: has joined #ruby
[07:50:23] dionysus69: has joined #ruby
[07:51:08] morfin60: nvm, this worked: https://eval.in/937122
[07:51:20] andikr: has joined #ruby
[07:56:49] alfiemax_: has joined #ruby
[07:59:34] conta1: has joined #ruby
[08:03:19] mtkd: has joined #ruby
[08:04:24] thejamespinto: has joined #ruby
[08:08:08] mahlon: has joined #ruby
[08:11:48] Dimik: has joined #ruby
[08:15:54] aupadhye: has joined #ruby
[08:16:42] jtdoncas: has joined #ruby
[08:18:13] Psybur: has joined #ruby
[08:18:45] apeiros: has joined #ruby
[08:19:30] bronson: has joined #ruby
[08:20:47] aupadhye: has joined #ruby
[08:24:08] bkxd: has joined #ruby
[08:24:21] aufi: has joined #ruby
[08:25:39] zigzig: has joined #ruby
[08:27:34] apeiros: dminuoso: ???
[08:33:30] akkad: has joined #ruby
[08:35:56] fyrril2: has joined #ruby
[08:36:29] MaksimPinigin: has joined #ruby
[08:39:40] claudiuinberlin: has joined #ruby
[08:41:13] minimalism: has joined #ruby
[08:48:13] bkxd: has joined #ruby
[08:57:23] Xiti`: has joined #ruby
[09:01:19] n0m4d1c: has joined #ruby
[09:02:50] belmoussaoui: has joined #ruby
[09:06:28] amatas: has joined #ruby
[09:13:57] marr: has joined #ruby
[09:16:37] workmad3: has joined #ruby
[09:18:05] Mortomes|Work: has joined #ruby
[09:18:19] trautwein: has joined #ruby
[09:20:41] cdg: has joined #ruby
[09:24:29] cdg_: has joined #ruby
[09:25:30] jtdoncas: has joined #ruby
[09:25:33] bkxd_: has joined #ruby
[09:26:20] TomyWork: has joined #ruby
[09:28:15] cschneid: has joined #ruby
[09:29:10] bkxd: has joined #ruby
[09:35:18] randomstrangerb: has joined #ruby
[09:39:00] ur5us: has joined #ruby
[09:44:22] dminuoso: >> def f(*a) p a; end; f *%i`a b`
[09:44:23] ruby[bot]: dminuoso: # => [:a, :b] ...check link for more (https://eval.in/937272)
[09:45:13] dminuoso: This looks kind of nicely confusing.
[09:45:25] dminuoso: Or %i%a% even
[09:45:37] ruby[bot]: dminuoso: # => [:i] (https://eval.in/937280)
[09:48:13] phaul: has joined #ruby
[09:49:47] Serpent7776: has joined #ruby
[09:55:32] guille-moe: has joined #ruby
[10:01:43] Puffball: has joined #ruby
[10:06:55] AJA4350: has joined #ruby
[10:07:46] Beams: has joined #ruby
[10:07:52] Cavallari: has joined #ruby
[10:10:57] bkxd_: has joined #ruby
[10:14:29] bkxd__: has joined #ruby
[10:15:59] zwliew: has joined #ruby
[10:17:43] jtdoncas: has joined #ruby
[10:17:52] ledestin: has joined #ruby
[10:18:10] ur5us: has joined #ruby
[10:20:41] bronson: has joined #ruby
[10:22:22] alfiemax: has joined #ruby
[10:22:51] KeyJoo: has joined #ruby
[10:25:39] jnollette: has joined #ruby
[10:26:01] workmad3: has joined #ruby
[10:28:23] quobo: has joined #ruby
[10:32:38] kke: has joined #ruby
[10:32:47] drbrain: has joined #ruby
[10:32:47] drbrain: has joined #ruby
[10:32:51] alfiemax_: has joined #ruby
[10:36:22] ldnunes: has joined #ruby
[10:37:32] alfiemax: has joined #ruby
[10:38:49] bronson: has joined #ruby
[10:40:30] jnollette: has joined #ruby
[10:40:42] dostoyevsky: I have a command pipleine like this, dealing with AWS instances: scp data server && ssh server "unpack data; run commands" && ssh server "setup configuration" && ssh server "run test cases" && ssh server "obtain results"
[10:40:52] jaruga: has joined #ruby
[10:41:34] dostoyevsky: But ssh/scp can fail in many ways, e.g. "lost connection" in ssh might not set the exit code to error... So I was wondering if there was some library for Ruby that would help me there
[10:42:17] dostoyevsky: essentially, the library should try to repeat steps when they fail
[10:44:32] randomstrangerb: has joined #ruby
[10:55:56] bkxd: has joined #ruby
[10:59:40] bkxd_: has joined #ruby
[11:00:45] milardovich: has joined #ruby
[11:01:35] bkxd_: has joined #ruby
[11:04:30] amatas_: has joined #ruby
[11:10:04] cdg: has joined #ruby
[11:11:20] milardovich: has joined #ruby
[11:13:14] Papierkorb: has joined #ruby
[11:13:49] Papierkorb: has left #ruby: ("Konversation terminated!")
[11:15:52] jtdoncas: has joined #ruby
[11:16:09] troulouliou_div2: has joined #ruby
[11:20:20] qba73: has joined #ruby
[11:20:52] goatish: has joined #ruby
[11:24:11] hfp_work: has joined #ruby
[11:29:05] kossae: has joined #ruby
[11:32:52] dviola: has joined #ruby
[11:34:26] tvw: has joined #ruby
[11:38:30] qba73: has joined #ruby
[11:40:31] plexigras: has joined #ruby
[11:40:47] apparition: has joined #ruby
[11:41:09] bkxd: has joined #ruby
[11:45:04] conta: has joined #ruby
[11:47:57] Mia: has joined #ruby
[11:47:58] Mia: has joined #ruby
[11:48:09] TvL: has joined #ruby
[11:48:43] bkxd: has joined #ruby
[11:50:42] cschneid: has joined #ruby
[11:52:41] linuxdaemon: has joined #ruby
[12:00:12] jdawgaz: has joined #ruby
[12:02:40] guardianx: has joined #ruby
[12:07:43] Guest73369: has joined #ruby
[12:09:25] qba73: has joined #ruby
[12:11:53] apeiros: dostoyevsky: sshkit, or lower level, net/ssh
[12:17:36] jtdoncas: has joined #ruby
[12:26:22] bkxd_: has joined #ruby
[12:29:53] sepp2k: has joined #ruby
[12:30:06] bkxd__: has joined #ruby
[12:32:44] alfiemax_: has joined #ruby
[12:39:13] alfiemax: has joined #ruby
[12:39:35] bronson: has joined #ruby
[12:40:57] mtkd: has joined #ruby
[12:42:33] dstrunk: has joined #ruby
[12:50:15] milardovich: has joined #ruby
[12:53:36] shinnya: has joined #ruby
[12:55:29] jnollette: has joined #ruby
[12:58:01] mfaeh: has joined #ruby
[12:58:10] banisterfiend: has joined #ruby
[12:58:52] mfaeh: join vs-code
[13:03:44] mfaeh: has joined #ruby
[13:04:24] danguita: has joined #ruby
[13:07:08] danguita: has joined #ruby
[13:07:58] jnollette: has joined #ruby
[13:11:38] bkxd: has joined #ruby
[13:16:03] aufi: has joined #ruby
[13:16:56] k0mpa: has joined #ruby
[13:17:55] jtdoncas: has joined #ruby
[13:21:39] dostoyevsky: ah, sshkit is part of capistrano... I thought that capistrano might be what I want
[13:21:56] bmurt: has joined #ruby
[13:29:40] guardianx: has joined #ruby
[13:31:08] miskatonic: has joined #ruby
[13:31:31] chocoelho1: has joined #ruby
[13:32:28] bkxd: has joined #ruby
[13:37:55] alfiemax_: has joined #ruby
[13:40:27] Emmanuel_Chanel: has joined #ruby
[13:41:07] k0mpa: has joined #ruby
[13:41:35] ldnunes: has joined #ruby
[13:42:45] banisterfiend: has joined #ruby
[13:43:57] fmcgeough: has joined #ruby
[13:47:15] d_kam_: has joined #ruby
[13:50:03] dtzuzu: has joined #ruby
[13:53:01] kapil___: has joined #ruby
[13:55:20] cschneid: has joined #ruby
[13:55:56] cdg: has joined #ruby
[13:58:09] selim: has joined #ruby
[13:58:38] mfaeh: has joined #ruby
[13:58:54] jeffreylevesque: has joined #ruby
[13:59:13] qba73: has joined #ruby
[13:59:49] gnufied: has joined #ruby
[14:00:45] FrostCandy: has joined #ruby
[14:01:18] alfiemax: has joined #ruby
[14:02:59] jdawgaz: has joined #ruby
[14:03:50] jdawgaz: has joined #ruby
[14:04:34] jdawgaz: has joined #ruby
[14:05:27] jdawgaz: has joined #ruby
[14:06:12] jdawgaz: has joined #ruby
[14:07:06] jdawgaz: has joined #ruby
[14:07:48] jdawgaz: has joined #ruby
[14:08:22] bkxd_: has joined #ruby
[14:08:38] jdawgaz: has joined #ruby
[14:09:23] jdawgaz: has joined #ruby
[14:09:37] zigzig: has joined #ruby
[14:10:08] wnd: has joined #ruby
[14:10:15] jdawgaz: has joined #ruby
[14:12:57] mfaeh: has joined #ruby
[14:12:58] bkxd: has joined #ruby
[14:17:26] jtdoncas: has joined #ruby
[14:19:18] dviola: has joined #ruby
[14:20:10] aufi: has joined #ruby
[14:21:54] _aeris_: has joined #ruby
[14:22:18] jtperreault: has joined #ruby
[14:23:17] govg: has joined #ruby
[14:23:22] banisterfiend: has joined #ruby
[14:26:07] qba73: has joined #ruby
[14:36:18] fmcgeough: has joined #ruby
[14:36:30] ponzii: has joined #ruby
[14:37:35] theunraveler: has joined #ruby
[14:38:07] tAn: has joined #ruby
[14:39:09] bijan_: has joined #ruby
[14:39:51] bijan_: Hey guys. Is it okay to use grep on a file? Example: matches << File.open(filename, "r:UTF-8").grep(/\bI18n.translations\[I18n.locale\][^;]/)
[14:40:31] bronson: has joined #ruby
[14:42:59] ponzii: In my test1.rb minitest, accessing a LogParser class via require, *** parser = LogParser.new ARGV[0] *** works with `ruby test1.rb webserver.log` but *** parser = LogParser.new('webserver.log') *** doesn't work with `ruby test1.rb`. Error is: "no implicit conversion of nil into String (TypeError)" so it seems the webserver.log param hasn't been passed. Any ideas?
[14:43:14] camilasan: has joined #ruby
[14:44:58] bijan_: ponzii: require 'pry' and use binding.pry where you want to debug your code
[14:45:13] ponzii: The LogParser class init is simply: def initialize(log_file)
[14:45:46] banisterfiend: has joined #ruby
[14:45:48] bijan_: ponzii: https://github.com/pry/pry <= use it to check you variables etc.
[14:46:04] mtkd: has joined #ruby
[14:53:45] bkxd_: has joined #ruby
[14:56:21] pastorinni: has joined #ruby
[14:57:09] bkxd: has joined #ruby
[15:01:24] thejamespinto: has joined #ruby
[15:08:02] qba73: has joined #ruby
[15:09:15] Psybur: has joined #ruby
[15:09:16] Psybur: has joined #ruby
[15:11:21] Zamyatin: has joined #ruby
[15:12:03] chussenot: has joined #ruby
[15:14:43] orbyt_: has joined #ruby
[15:15:25] Rapture: has joined #ruby
[15:17:22] DLSteve: has joined #ruby
[15:18:36] Toggi3: has joined #ruby
[15:19:15] chussenot: has joined #ruby
[15:20:35] lcarlson: has joined #ruby
[15:22:58] oleo: has joined #ruby
[15:23:17] rippa: has joined #ruby
[15:25:04] jtdoncas: has joined #ruby
[15:25:46] chussenot: has joined #ruby
[15:26:21] listenmore: has left #ruby: ("Konversation terminated!")
[15:26:49] banisterfiend: has joined #ruby
[15:30:30] mfaeh: has joined #ruby
[15:30:46] alfiemax_: has joined #ruby
[15:31:08] mfaeh: has joined #ruby
[15:33:57] bmurt: has joined #ruby
[15:35:33] nadir: has joined #ruby
[15:38:46] bkxd_: has joined #ruby
[15:39:04] belmoussaoui_: has joined #ruby
[15:41:15] camilasan: has joined #ruby
[15:42:21] bkxd__: has joined #ruby
[15:42:26] Nicmavr: has joined #ruby
[15:44:55] drowze: has joined #ruby
[15:46:23] Ryzokuken: has joined #ruby
[15:53:01] paulrf: has joined #ruby
[15:53:10] banisterfiend: has joined #ruby
[15:53:22] Toggi3: has joined #ruby
[15:53:26] cschneid: has joined #ruby
[15:55:04] camilasan: has joined #ruby
[15:58:43] pwnd_nsfw`: has joined #ruby
[16:02:37] Ouchy: has joined #ruby
[16:02:38] Ouchy: has joined #ruby
[16:02:47] cdg: has joined #ruby
[16:03:56] jnollette: has joined #ruby
[16:11:02] TobiFrano: has joined #ruby
[16:12:08] chussenot: has joined #ruby
[16:13:28] xfbs: has joined #ruby
[16:15:41] jtdoncas: has joined #ruby
[16:19:31] KeyJoo: has joined #ruby
[16:21:54] tAn: has joined #ruby
[16:23:45] bkxd: has joined #ruby
[16:27:21] dionysus69: has joined #ruby
[16:27:38] bkxd_: has joined #ruby
[16:27:54] alex``: has joined #ruby
[16:29:26] lytol_: has joined #ruby
[16:30:12] apeiros: has joined #ruby
[16:34:00] d_kam_: has joined #ruby
[16:34:31] gnufied: has joined #ruby
[16:36:39] tAn: has joined #ruby
[16:39:07] elphe: has joined #ruby
[16:40:38] elphe: has joined #ruby
[16:41:12] chocoelho: has joined #ruby
[16:41:42] moei: has joined #ruby
[16:42:09] bronson: has joined #ruby
[16:46:22] kus_ubuntui686: has joined #ruby
[16:46:42] bhaak: has joined #ruby
[16:48:01] LastWhisper____: has joined #ruby
[16:49:33] yokel: has joined #ruby
[16:52:51] [Butch]: has joined #ruby
[16:54:07] jnollette: has joined #ruby
[16:55:54] chussenot: has joined #ruby
[16:56:21] cdg_: has joined #ruby
[16:56:48] zautomata: has joined #ruby
[16:59:15] ecuanaso: has joined #ruby
[17:02:33] qba73: has joined #ruby
[17:05:19] Zamyatin: has joined #ruby
[17:05:55] orbyt_: has joined #ruby
[17:06:17] qba73: has joined #ruby
[17:06:18] troys: has joined #ruby
[17:09:00] John_Ivan: has joined #ruby
[17:09:00] John_Ivan: has joined #ruby
[17:09:10] bkxd: has joined #ruby
[17:09:53] oleo: has joined #ruby
[17:11:48] TobiFrano: has joined #ruby
[17:12:50] bkxd_: has joined #ruby
[17:12:55] ldnunes: has joined #ruby
[17:13:02] dviola: has joined #ruby
[17:13:09] banisterfiend: has joined #ruby
[17:13:38] jamo: has joined #ruby
[17:15:18] guacamole: has joined #ruby
[17:15:19] guacamole: has joined #ruby
[17:16:42] jamesaxl: has joined #ruby
[17:16:51] jtdoncas: has joined #ruby
[17:19:54] randomstrangerb: has joined #ruby
[17:23:20] orbyt_: has joined #ruby
[17:25:11] drowze: has joined #ruby
[17:26:41] eckhardt: has joined #ruby
[17:31:19] darkhanb: has joined #ruby
[17:32:52] yohji: has joined #ruby
[17:35:42] RougeR: has joined #ruby
[17:41:22] Terens: has joined #ruby
[17:42:26] Terens: which is a good pattern so that to forward incoming messages to appropriate handler class?
[17:46:50] PaulCapestany: has joined #ruby
[17:51:18] mtkd: has joined #ruby
[17:51:59] ledestin: has joined #ruby
[17:52:55] alfiemax: has joined #ruby
[17:53:04] havenwood: terens: Forwardable
[17:53:08] sanscoeur: has joined #ruby
[17:53:16] PaulCapestany: has joined #ruby
[17:53:34] leitz: has joined #ruby
[17:53:39] thejamespinto: has joined #ruby
[17:54:11] leitz: Suggestions on why this gsub won't turn single and double quotes into spaces? word.gsub!(/[',"!\.]/, ' ')
[17:54:15] havenwood: terens: Or Delegator, depending on what you're doing.
[17:54:19] bkxd: has joined #ruby
[17:54:54] Terens: I will look them
[17:55:13] orbyt_: has joined #ruby
[17:55:17] Terens: Someone suggested chain of responsibility but i dont like message passing through all classes
[17:55:47] jtdoncas: has joined #ruby
[17:55:53] havenwood: leitz: Give an example of it not turning quotes into spaces?
[17:56:28] leitz: havenwood, al's
[17:56:45] havenwood: >> %(al's).gsub /[',"!\.]/, ' ' # leitz
[17:56:46] ruby[bot]: havenwood: # => "al s" (https://eval.in/937679)
[17:56:53] havenwood: leitz: That works.
[17:57:37] havenwood: >> %("al's").tr %(',"!\.), ' '
[17:57:38] ruby[bot]: havenwood: # => " al s " (https://eval.in/937680)
[17:58:12] plexigras: has joined #ruby
[17:58:23] leitz: havenwoord, https://gist.github.com/LeamHall/2bb9179c5fd71333ca10a9f86db58b1f
[18:00:26] gizmore: has joined #ruby
[18:00:47] SegFaultAX: has joined #ruby
[18:01:10] Ouchy`w: has joined #ruby
[18:02:25] hahuang61: has joined #ruby
[18:04:56] nso95: has joined #ruby
[18:05:09] Ouchy: has joined #ruby
[18:05:33] bkxd_: has joined #ruby
[18:05:59] rubycoder37: has joined #ruby
[18:06:56] rubycoder37: ruby needs to become a more general purpose language, used in more domains, I'm sick and tired of people acting like python is better
[18:07:04] rubycoder37: Fingel rubycoder37: hows ruby on rails treating you these days? Enjoying your decent into irrelevance?
[18:07:26] pinkfloyd1911: has joined #ruby
[18:07:33] rubycoder37: some people can't even tell the difference between ruby and RoR
[18:08:00] rubycoder37: stupid people acting like they know what they are talking about
[18:08:05] leitz: Python has more market penetration. A few people on both sides need to be more gracious. Heck, I need to be more gracious and I try to be.
[18:08:52] leitz: Absent RoR, how much market does Ruby have?
[18:09:35] rubycoder37: I don't even like most of the #rubyonrails people either, it seems they are in it only for the money
[18:10:36] leitz: ACTION likes paying bills
[18:10:51] veloutin: ACTION sends his bills to leitz
[18:11:43] leitz: ACTION sends veloutin's credit card info to the bill collectors and his ex-wife.
[18:11:59] kies: has joined #ruby
[18:12:03] rubycoder37: I don't care about money, I already have lots of BTC
[18:15:33] rubycoder37: I'd hate myself if I had to work another year helping make useless projects that nobody wants for startups
[18:15:57] rubycoder37: so I care nothing about rails, and I want ruby to succeed as a programming language
[18:16:09] leitz: havenwood, I added a comment to the gist. It pulls words that start with 'al' and shows them after the gsub transformation.
[18:17:19] leitz: rubycoder37, the idealist in me says do a great project that uses Ruby and get it public. Chef and Puppet helped some.
[18:17:38] leitz: The realist in me says to do what I enjoy and let the world take care of itself.
[18:17:50] leitz: Python is a good language. So is Ruby.
[18:19:41] fredlinhares: has joined #ruby
[18:20:02] rubycoder37: "Python is a good language. So is Ruby." I agree
[18:20:41] veloutin: there are some things I prefer in both. Possibly a big part of the things I don't like from Ruby are actually because of RoR
[18:20:58] chussenot: has joined #ruby
[18:21:04] rubycoder37: veloutin: what are those things?
[18:21:19] fredlinhares: If I make a desktop app gem, where (folder path) images should go?
[18:21:47] tcopeland1: has joined #ruby
[18:22:00] gizmore: fredlinhares: no idea. i'd say resources/images/
[18:22:06] veloutin: rubycoder37: I think the worst of all is how functionality is glued everywhere from bits and pieces scattered all around, in includes and additions to open classes, etc..
[18:22:34] veloutin: oh, and with modules contributing functions when being included, etc...
[18:22:37] rubycoder37: veloutin: yes I know what you mean, and I feel the same way
[18:23:12] cdg: has joined #ruby
[18:23:18] veloutin: makes it really a pain to understand how things work, and you can miss important parts because they are tucked away somewhere, or there are different versions but one overrides the other
[18:23:43] fredlinhares: gizmore: I want to know if there is a official pattern. But this is a good path.
[18:24:34] KeyJoo: has joined #ruby
[18:24:50] veloutin: sure, it saves you a few lines here and there because you don't need to require/import/initialize things yourselves (all already pre-mixed!), but the cost in terms of clarity is huge
[18:25:35] rubycoder37: most programmers these days don't care about how things work underneath, I even accepted some python position recently and helped fix some performance issues they had, and that was because I understood the internals of OSes better than most of them, not trying to brag but I hate that others aren't interested about these things as much as I am sometimes, they just give me more work
[18:26:01] guacamole: has joined #ruby
[18:26:01] guacamole: has joined #ruby
[18:26:22] rubycoder37: and more pain
[18:27:31] cdg: has joined #ruby
[18:28:27] bawNg: python is way more simple so it's less intimidating and the learning curve is smaller, ruby is way more powerful and flexible
[18:31:25] banisterfiend: has joined #ruby
[18:31:49] LastWhisper____: has joined #ruby
[18:32:11] rubycoder37: something I don't like about the ruby community that much is that library authors tend to create a DSL where it's not always necessary, it seems like the community favors DSLs over plain ruby
[18:32:27] rubycoder37: this is why I prefer to stick to minitest over rspec
[18:32:58] alfiemax: has joined #ruby
[18:33:59] rubycoder37: I get the impression that python is less interested in DSLs
[18:33:59] Toggi3: has joined #ruby
[18:34:11] banisterfiend: has joined #ruby
[18:34:42] rubycoder37: I guess DSL are just a side effect of ruby's flexibility
[18:34:55] havenwood: leitz: Around these parts it's easier to pay the bills with Ruby.
[18:35:14] havenwood: leitz: San Fransisco loves Ruby. So many companies have extensive internal tooling in Ruby!
[18:37:32] rubycoder37: I'm going to SF, we'll talk once I'm at the airport again
[18:37:43] ivanskie: has joined #ruby
[18:40:12] banisterfiend: has joined #ruby
[18:41:47] jaruga: has joined #ruby
[18:41:49] ledestin: has joined #ruby
[18:42:58] bronson: has joined #ruby
[18:43:14] chocoelho1: has joined #ruby
[18:43:19] banisterfiend: has joined #ruby
[18:43:49] Ouchy: has joined #ruby
[18:44:08] cdg: has joined #ruby
[18:45:54] tAn: has joined #ruby
[18:45:59] Hanmac: has joined #ruby
[18:46:12] leitz: havenwood, Happy to hear that! Sadly, I'm on the other coast.
[18:46:44] havenwood: leitz: I swear, NY seems to be in love with .NET. ¯\_(ツ)_/¯
[18:46:45] leitz: And not good enough of a coder to earn SF levels of rent money. :(
[18:48:43] leitz: I'm also seening references to Ruby in the UK, which is nice.
[18:52:11] sameerynho: has joined #ruby
[18:55:47] chocoelho: has joined #ruby
[18:56:03] bkxd: has joined #ruby
[18:56:34] jeffreylevesque: has joined #ruby
[18:58:20] Axy: has joined #ruby
[19:00:45] ecuanaso: has joined #ruby
[19:00:48] TomyLobo: has joined #ruby
[19:02:15] minimalism: has joined #ruby
[19:03:33] NightMonkey: has joined #ruby
[19:07:15] alfiemax: has joined #ruby
[19:07:57] elphe: has joined #ruby
[19:11:50] guacamole: has joined #ruby
[19:11:51] guacamole: has joined #ruby
[19:13:05] Dimik: has joined #ruby
[19:17:35] banisterfiend: has joined #ruby
[19:18:00] NightMonkey: has joined #ruby
[19:18:38] c0ncealed: has joined #ruby
[19:19:36] Vapez: has joined #ruby
[19:23:24] jtdoncas: has joined #ruby
[19:27:56] BTRE: has joined #ruby
[19:28:48] tomphp: has joined #ruby
[19:32:10] bkxd_: has joined #ruby
[19:32:50] chussenot: has joined #ruby
[19:35:54] bkxd: has joined #ruby
[19:36:36] vichib: has joined #ruby
[19:37:16] tcopeland: has joined #ruby
[19:38:29] graft: has joined #ruby
[19:38:41] graft: ok, so ; is not a valid URL parameter separator
[19:39:31] graft: however: URI.escape('some;string') => 'some;string'
[19:39:49] bmurt: has joined #ruby
[19:41:15] graft: wait, that's consistent. never mind. thanks, ducks
[19:42:29] roshanavand: has joined #ruby
[19:42:45] matcouto: has joined #ruby
[19:45:29] hahuang65: has joined #ruby
[19:49:25] Axsuul: has joined #ruby
[19:50:35] randomstrangerb: has joined #ruby
[19:52:36] guacamole: has joined #ruby
[19:52:36] guacamole: has joined #ruby
[19:56:03] mtkd: has joined #ruby
[19:58:32] elphe: has joined #ruby
[20:02:05] leitz: Updated gist, new errors. :) https://gist.github.com/LeamHall/c6bd20ff6762452aa32f693875406966
[20:02:29] jdawgaz: has joined #ruby
[20:04:26] bmurt: has joined #ruby
[20:04:39] tcopeland: has joined #ruby
[20:04:49] tfitts: has joined #ruby
[20:12:07] Barrt: has joined #ruby
[20:15:45] jdawgaz: has joined #ruby
[20:17:45] bkxd_: has joined #ruby
[20:21:15] bkxd__: has joined #ruby
[20:22:41] Xiti: has joined #ruby
[20:23:24] jenrzzz: has joined #ruby
[20:24:15] lcarlson: what's the goto way of symbolizing keys on a hash without rails?
[20:24:23] lcarlson: also could use an underscore equivalent
[20:25:20] imode: has joined #ruby
[20:25:32] Guest39894: has joined #ruby
[20:26:37] ur5us: has joined #ruby
[20:31:52] havenwood: lcarlson: transform_keys(&:to_sym)
[20:32:07] havenwood: lcarlson: (Ruby 2.5 implements Hash#transform_keys and #transform_keys!)
[20:32:16] lcarlson: havenwood, nice!!
[20:32:33] camfowler: has joined #ruby
[20:32:38] milardovich: has joined #ruby
[20:33:22] havenwood: lcarlson: In earlier Rubies, you can either `map { |k, v| [k.to_sym, v] }.to_h` or `each_with_object({}) { |(k, v), h| h[k.to_sym] = v }`.
[20:34:44] tAn: has joined #ruby
[20:39:16] pilne: has joined #ruby
[20:41:50] oetjenj: has joined #ruby
[20:42:40] fmcgeough: has joined #ruby
[20:44:26] bronson: has joined #ruby
[20:46:27] guille-moe: has joined #ruby
[20:47:02] chussenot: has joined #ruby
[20:49:55] guacamole: has joined #ruby
[20:49:55] guacamole: has joined #ruby
[20:51:20] bkxd: has joined #ruby
[20:54:35] camt: has joined #ruby
[21:03:11] nerium: has joined #ruby
[21:03:49] guille-moe: has joined #ruby
[21:04:44] camfowler: has joined #ruby
[21:10:59] eckhardt: has joined #ruby
[21:11:47] Ouchy: has joined #ruby
[21:11:58] Ouchy`w: has joined #ruby
[21:13:20] desperek: has joined #ruby
[21:13:43] randomstrangerb: has joined #ruby
[21:14:20] selim: has joined #ruby
[21:14:43] nerium: has joined #ruby
[21:16:17] soahccc: has joined #ruby
[21:18:38] TobiFrano: has joined #ruby
[21:20:33] ecuanaso: has joined #ruby
[21:24:56] nso95: has joined #ruby
[21:30:14] workmad3: has joined #ruby
[21:31:09] guacamole: has joined #ruby
[21:31:09] guacamole: has joined #ruby
[21:32:24] Axsuul: has joined #ruby
[21:34:50] ecuanaso: has joined #ruby
[21:35:00] pastorinni: has joined #ruby
[21:40:45] belmoussaoui: has joined #ruby
[21:45:04] bronson: has joined #ruby
[21:45:21] electrostat: has joined #ruby
[21:46:42] shaman42: has joined #ruby
[21:47:04] eckhardt: has joined #ruby
[21:47:15] electrostat: has joined #ruby
[21:48:56] guacamole: has joined #ruby
[21:48:56] guacamole: has joined #ruby
[21:49:45] matcouto: has joined #ruby
[21:53:47] ecuanaso: has joined #ruby
[21:57:36] bmurt: has joined #ruby
[21:58:09] Azure: has joined #ruby
[21:58:16] ramfjord: has joined #ruby
[22:01:01] mtkd: has joined #ruby
[22:08:05] Toggi3: has joined #ruby
[22:10:59] jnyw: has joined #ruby
[22:12:09] Psybur: has joined #ruby
[22:13:17] alfiemax_: has joined #ruby
[22:15:56] jenrzzz: has joined #ruby
[22:15:56] jenrzzz: has joined #ruby
[22:18:54] xfbs: has joined #ruby
[22:21:04] TobiFrano: has joined #ruby
[22:23:26] tAn: has joined #ruby
[22:27:04] ramfjord: has joined #ruby
[22:28:20] _main_: has joined #ruby
[22:30:24] _main_: has joined #ruby
[22:31:17] milardovich: has joined #ruby
[22:32:22] _main_: has joined #ruby
[22:34:18] romain_t: has joined #ruby
[22:35:49] bmurt: has joined #ruby
[22:36:21] romain_t: has joined #ruby
[22:38:21] Trel: has joined #ruby
[22:40:24] romain_t: has joined #ruby
[22:43:55] d_kam_: has joined #ruby
[22:47:16] romain_t: has joined #ruby
[22:49:16] romain_t: has joined #ruby
[22:49:51] guacamole: has joined #ruby
[22:49:52] guacamole: has joined #ruby
[22:55:16] romain_t: has joined #ruby
[22:56:24] workmad3: has joined #ruby
[22:57:11] camfowler: has joined #ruby
[23:03:05] miskatonic: has joined #ruby
[23:03:24] romain_t: has joined #ruby
[23:05:24] romain_t: has joined #ruby
[23:05:56] cdg: has joined #ruby
[23:07:23] romain_t: has joined #ruby
[23:09:47] Bounga: has joined #ruby
[23:12:19] romain_t: has joined #ruby
[23:14:25] romain_t: has joined #ruby
[23:16:09] jenrzzz: has joined #ruby
[23:16:09] jenrzzz: has joined #ruby
[23:16:52] Toggi3: has joined #ruby
[23:18:27] DrCode: has joined #ruby
[23:26:39] jnollette: has joined #ruby
[23:27:29] alfiemax: has joined #ruby
[23:28:09] dan64: has joined #ruby
[23:31:30] workmad3: has joined #ruby
[23:34:08] Azure: has joined #ruby
[23:35:49] nertzy: has joined #ruby
[23:45:29] chocoelho: has joined #ruby
[23:45:56] bronson: has joined #ruby
[23:46:27] nso95-: has joined #ruby
[23:47:36] d_kam_: has joined #ruby
[23:48:27] jtdoncas: has joined #ruby
[23:49:16] guacamole: has joined #ruby
[23:49:16] guacamole: has joined #ruby
[23:57:42] GremL1N: has joined #ruby
[23:59:44] sanscoeur: has joined #ruby