« Back to channel list

#ruby - 06 January 2018

« Back 1 day Forward 1 day »
[00:01:22] Ericx2x: has joined #ruby
[00:01:52] Ericx2x_: has joined #ruby
[00:02:50] bkxd_: has joined #ruby
[00:03:07] workmad3: has joined #ruby
[00:04:14] tAn: has joined #ruby
[00:06:44] alfiemax: has joined #ruby
[00:08:03] cdg: has joined #ruby
[00:08:52] beanish: has joined #ruby
[00:10:33] ledestin: has joined #ruby
[00:12:46] Mia: has joined #ruby
[00:16:37] zwliew: has joined #ruby
[00:17:58] Azure: has joined #ruby
[00:22:11] JusticeFries: has joined #ruby
[00:23:33] bronson: has joined #ruby
[00:24:04] cdg: has joined #ruby
[00:26:51] s3nd1v0g1us: has joined #ruby
[00:28:06] oetjenj: has joined #ruby
[00:34:37] lroca: has joined #ruby
[00:37:29] nowhere_man: has joined #ruby
[00:44:11] bkxd: has joined #ruby
[00:45:07] Sammitch: has joined #ruby
[00:45:51] Sammitch: hello, I'm having trouble finding a way to reduce an array of booleans to a simple OR of their contents
[00:46:30] Sammitch: eg: `[true, false].something{...} == true` and `[false, false].something{...} == false`
[00:46:41] Kilobyte22: has joined #ruby
[00:47:58] bkxd__: has joined #ruby
[00:49:20] havenwood: Sammitch: Are you looking for #all? and #none? or something else? Give some psudocode examples of input and desired output
[00:51:05] Sammitch: I did just give an example
[00:51:53] Sammitch: `[true, false].reduce('|')` seems to do the trick, but I don't like that that's the bitwise operator and `||` give an error :/
[00:51:53] havenwood: >> [true, false].all? { |bool| bool.to_s.size == 4 }
[00:51:54] ruby[bot]: havenwood: # => false (https://eval.in/931332)
[00:52:32] havenwood: Sammitch: I can't tell what you want from those two examples. Can you give a few more or is that the only input expected?
[00:53:05] havenwood: Sammitch: ah, seems like you want #any?
[00:53:18] havenwood: >> [true, false].any?
[00:53:19] ruby[bot]: havenwood: # => true (https://eval.in/931334)
[00:53:24] havenwood: >> [false, false].any?
[00:53:29] tAn: has joined #ruby
[00:53:30] ruby[bot]: havenwood: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
[00:53:59] havenwood: Sammitch: is that ^ what you're looking for?
[00:54:34] Sammitch: the literal code I'm starting with is `http_hosts.map{|item|item.key?('ssl')}` which returns an array of booleans, and I need to reduce that to a single value representative of if there's one or more `true` values in the array
[00:55:01] havenwood: Sammitch: replace "map" with "any?"
[00:55:41] havenwood: Sammitch: Ruby's Enumerable module has #any?, #all?, #none?, #one?, etc - a bunch of handy stuff.
[00:56:25] havenwood: Sammitch: http_hosts.any? { |item| item.key?('ssl') }
[00:57:07] Sammitch: havenwood: that looks like the ticket. `http_hosts.any?{|item|item.key?('ssl')}` :D
[00:57:14] havenwood: Sammitch: I usually use the singular form of the plural reciever for the block argument, like: http_hosts.any? { |http_host| http_host.key?('ssl') }
[00:57:21] havenwood: Sammitch: I think that's a really nice convention.
[01:01:34] oetjenj: has joined #ruby
[01:01:35] PaulCapestany: has joined #ruby
[01:02:20] oetjenj: has joined #ruby
[01:03:06] ecuanaso: has joined #ruby
[01:03:06] oetjenj: has joined #ruby
[01:04:03] oetjenj: has joined #ruby
[01:08:46] jenrzzz: has joined #ruby
[01:10:29] daemonwrangler: has joined #ruby
[01:15:36] milardovich: has joined #ruby
[01:18:41] alfiemax: has joined #ruby
[01:23:57] cremes: has joined #ruby
[01:24:20] bronson: has joined #ruby
[01:24:51] eblip: has joined #ruby
[01:26:29] mjolnird: has joined #ruby
[01:26:29] Sammitch: havenwood: thanks, btw :D
[01:26:44] havenwood: you're welcome!
[01:27:58] jtdoncas: has joined #ruby
[01:28:36] ghormoon: has joined #ruby
[01:28:43] Azure: has joined #ruby
[01:29:25] bkxd: has joined #ruby
[01:30:28] jottr: has joined #ruby
[01:33:11] bkxd_: has joined #ruby
[01:36:39] abraham: has joined #ruby
[01:37:48] eckhardt: has joined #ruby
[01:41:41] Guest61: has joined #ruby
[01:42:28] kculpis: has joined #ruby
[01:45:10] colby_: has joined #ruby
[01:52:00] jottr: has joined #ruby
[01:52:03] mtkd: has joined #ruby
[01:54:30] cschneid_: has joined #ruby
[01:55:29] nwm: has joined #ruby
[01:55:46] Azure: has joined #ruby
[02:00:09] darkhanb: has joined #ruby
[02:03:59] workmad3: has joined #ruby
[02:05:58] jottr: has joined #ruby
[02:07:35] jenrzzz_: has joined #ruby
[02:08:11] d^sh: has joined #ruby
[02:09:21] twe4ked: has joined #ruby
[02:13:33] hfp_work: has joined #ruby
[02:13:48] therealGent: has joined #ruby
[02:16:51] Mvfc: has joined #ruby
[02:17:24] tAn: has joined #ruby
[02:18:05] jrp93_2: has joined #ruby
[02:18:15] nofxx__: has joined #ruby
[02:18:31] bkxd: has joined #ruby
[02:18:44] MrBusiness3: has joined #ruby
[02:19:40] haydenmuhl: has joined #ruby
[02:19:41] adambeynon_: has joined #ruby
[02:19:49] kapowaz_: has joined #ruby
[02:19:52] mitsuhiko_: has joined #ruby
[02:19:56] BuildTheRobots_: has joined #ruby
[02:19:57] nOgAnOo_: has joined #ruby
[02:19:59] bosma_: has joined #ruby
[02:19:59] avdi_: has joined #ruby
[02:20:04] mahlon_: has joined #ruby
[02:20:08] aestheti1: has joined #ruby
[02:20:23] justache_: has joined #ruby
[02:20:23] codepete_: has joined #ruby
[02:20:32] iMadper: has joined #ruby
[02:20:34] skawa_: has joined #ruby
[02:20:35] yo61_: has joined #ruby
[02:21:35] selim_: has joined #ruby
[02:22:06] darix-: has joined #ruby
[02:22:12] sammi`: has joined #ruby
[02:22:15] Antiarc1: has joined #ruby
[02:22:25] kentnl: has joined #ruby
[02:22:26] cjohnson_: has joined #ruby
[02:22:37] pabst: has joined #ruby
[02:22:52] PaulePan1er: has joined #ruby
[02:23:30] tjbp_: has joined #ruby
[02:25:32] kenichi_: has joined #ruby
[02:25:33] sspreitzer: has joined #ruby
[02:25:33] sspreitzer: has joined #ruby
[02:25:33] x0F_: has joined #ruby
[02:25:37] spk_: has joined #ruby
[02:25:42] rideh-: has joined #ruby
[02:25:43] bronson: has joined #ruby
[02:25:46] ryotarai_: has joined #ruby
[02:25:48] heinrich5991_: has joined #ruby
[02:25:51] ablackack_: has joined #ruby
[02:25:51] jp|: has joined #ruby
[02:25:58] shoogz-: has joined #ruby
[02:26:03] _whitelogger_: has joined #ruby
[02:26:05] shortdudey123_: has joined #ruby
[02:26:19] eightlimbed: has joined #ruby
[02:26:20] ujjain-: has joined #ruby
[02:26:35] Flonk_: has joined #ruby
[02:27:07] hurricanehrndz_: has joined #ruby
[02:27:25] shoogz: has joined #ruby
[02:27:26] coderphive: has joined #ruby
[02:27:35] chocoelho: has joined #ruby
[02:27:44] incomprehensibly: has joined #ruby
[02:27:51] valkyr2e_: has joined #ruby
[02:27:52] twe4ked: has joined #ruby
[02:27:52] creat: has joined #ruby
[02:28:11] nicoulaj: has joined #ruby
[02:28:14] Mvfc: has joined #ruby
[02:28:27] endemic: has joined #ruby
[02:28:54] shoogz: has joined #ruby
[02:29:04] chocoelho: has joined #ruby
[02:30:23] shoogz: has joined #ruby
[02:30:42] gil_: has joined #ruby
[02:30:42] gil_: has joined #ruby
[02:31:30] sspreitz: has joined #ruby
[02:31:33] ahrs_: has joined #ruby
[02:31:38] x0F: has joined #ruby
[02:31:43] dinfuehr: has joined #ruby
[02:31:45] d^sh: has joined #ruby
[02:31:52] gf3: has joined #ruby
[02:32:01] A124: has joined #ruby
[02:32:15] mtkd: has joined #ruby
[02:32:31] PaulCape_: has joined #ruby
[02:33:57] therealGent: has joined #ruby
[02:34:14] sparr: has joined #ruby
[02:34:30] spider-mario: has joined #ruby
[02:34:40] mjolnird: has joined #ruby
[02:34:59] jenrzzz: has joined #ruby
[02:34:59] jenrzzz: has joined #ruby
[02:35:25] tpendragon: has joined #ruby
[02:35:53] leah2: has joined #ruby
[02:36:58] s3nd1v0g1us: has joined #ruby
[02:37:10] teej: has joined #ruby
[02:38:54] cschneid_: has joined #ruby
[02:41:34] jottr: has joined #ruby
[02:46:55] kapil___: has joined #ruby
[02:52:28] idefine: has joined #ruby
[02:53:04] FastJack: has joined #ruby
[02:53:24] nwm: has joined #ruby
[02:58:07] gizmore|2: has joined #ruby
[03:03:39] jnyw: has joined #ruby
[03:06:09] jottr: has joined #ruby
[03:07:52] tAn: has joined #ruby
[03:08:58] r3kz: has joined #ruby
[03:14:38] Klumben: has joined #ruby
[03:15:04] cremes: has joined #ruby
[03:19:17] cdg: has joined #ruby
[03:20:39] cdg_: has joined #ruby
[03:25:58] tAn: has joined #ruby
[03:26:17] bronson: has joined #ruby
[03:28:13] cremes: has joined #ruby
[03:30:21] gizmore|2: has joined #ruby
[03:31:52] dddf: has joined #ruby
[03:35:47] jtdoncas: has joined #ruby
[03:36:16] shinnya: has joined #ruby
[03:36:22] mrush: if i call self from within a function, it prints main. is there a reflective way to print the name of the current method
[03:36:59] mrush: by function i mean method i have defined
[03:39:49] mrush: __method__ is what i was looking for
[03:41:01] daemonwrangler: has joined #ruby
[03:49:03] znz_jp: has joined #ruby
[03:55:40] raul782: has joined #ruby
[04:00:11] dddf: has joined #ruby
[04:01:29] jottr: has joined #ruby
[04:02:46] cschneid_: has joined #ruby
[04:03:07] ecuanaso: has joined #ruby
[04:03:35] jdawgaz: has joined #ruby
[04:05:02] workmad3: has joined #ruby
[04:11:07] govg: has joined #ruby
[04:12:40] segy: has joined #ruby
[04:16:38] nofxx__: 2.5!!! reverse stacktrace, so cool!!!!!!!!
[04:17:16] darkhanb: has joined #ruby
[04:18:53] Fire-Dragon-DoL: has joined #ruby
[04:19:02] beanish: has joined #ruby
[04:26:31] alfiemax: has joined #ruby
[04:27:06] bronson: has joined #ruby
[04:27:07] mjuszczak: has joined #ruby
[04:35:42] bkxd: has joined #ruby
[04:37:22] mtkd: has joined #ruby
[04:43:20] nadir: has joined #ruby
[04:53:21] jottr: has joined #ruby
[04:55:44] gix: has joined #ruby
[04:56:43] rrichardsr3: has joined #ruby
[04:57:25] idefine: has joined #ruby
[04:59:31] dionysus69: has joined #ruby
[05:00:07] dviola: has joined #ruby
[05:06:17] idefine: has joined #ruby
[05:06:52] idefine: has joined #ruby
[05:12:15] bkxd: has joined #ruby
[05:14:48] jdawgaz: has joined #ruby
[05:15:33] jdawgaz: has joined #ruby
[05:16:23] jdawgaz: has joined #ruby
[05:17:09] jdawgaz: has joined #ruby
[05:18:00] jdawgaz: has joined #ruby
[05:18:24] ur5us: has joined #ruby
[05:22:41] ledestin: has joined #ruby
[05:23:19] theo_: has joined #ruby
[05:23:35] prometheus_falli: has joined #ruby
[05:26:34] alfiemax_: has joined #ruby
[05:28:13] bronson: has joined #ruby
[05:36:03] lupine: has joined #ruby
[05:36:29] idefine: has joined #ruby
[05:39:56] howdoi: has joined #ruby
[05:47:32] Hanmac: has joined #ruby
[05:53:56] jottr: has joined #ruby
[06:05:48] workmad3: has joined #ruby
[06:09:25] rippa: has joined #ruby
[06:09:49] abraham: has joined #ruby
[06:11:43] abraham: has joined #ruby
[06:12:12] abraham: has left #ruby: ()
[06:17:21] alfiemax: has joined #ruby
[06:18:16] KeyJoo: has joined #ruby
[06:18:22] abra_ham: has joined #ruby
[06:18:52] zwliew: has joined #ruby
[06:19:08] abra_ham: has joined #ruby
[06:20:16] LocaMocha: has joined #ruby
[06:23:43] naprimer3: has joined #ruby
[06:28:44] bronson: has joined #ruby
[06:28:50] theo__: has joined #ruby
[06:29:17] rrichardsr3: has joined #ruby
[06:40:19] Seich: has joined #ruby
[06:42:30] mtkd: has joined #ruby
[06:57:46] jottr: has joined #ruby
[06:58:25] alfiemax_: has joined #ruby
[07:03:53] jtdoncas_: has joined #ruby
[07:08:03] jtdoncas: has joined #ruby
[07:09:10] jottr: has joined #ruby
[07:21:50] uZiel: has joined #ruby
[07:29:38] bronson: has joined #ruby
[07:33:10] _whitelogger: has joined #ruby
[07:36:19] cdg: has joined #ruby
[07:56:17] zautomata: has joined #ruby
[07:58:26] alfiemax: has joined #ruby
[08:00:23] alex``: has joined #ruby
[08:01:55] jottr: has joined #ruby
[08:05:17] DoubleMalt: has joined #ruby
[08:08:22] rrichardsr3: has joined #ruby
[08:20:13] cschneid_: has joined #ruby
[08:24:30] vondruch: has joined #ruby
[08:31:08] bronson: has joined #ruby
[08:31:09] mrush: anyone used Net::SSH much?
[08:31:39] mrush: and rush?
[08:32:29] randomstrangerb: has joined #ruby
[08:38:12] prometheus_falli: has joined #ruby
[08:54:43] jenrzzz: has joined #ruby
[08:54:43] jenrzzz: has joined #ruby
[08:55:03] justinfaler: has joined #ruby
[08:57:44] jtdoncas: has joined #ruby
[09:01:03] jottr: has joined #ruby
[09:03:40] jtdoncas: has joined #ruby
[09:04:49] jenrzzz: has joined #ruby
[09:04:49] jenrzzz: has joined #ruby
[09:05:58] rippa: has joined #ruby
[09:06:19] Mia: has joined #ruby
[09:06:19] Mia: has joined #ruby
[09:06:46] apeiros: has joined #ruby
[09:07:51] rwb: has joined #ruby
[09:08:03] Azure: has joined #ruby
[09:20:39] ski7777: has joined #ruby
[09:21:44] d^sh: has joined #ruby
[09:21:58] brodul: has joined #ruby
[09:22:15] tbuehlmann: has joined #ruby
[09:22:18] jdawgaz: has joined #ruby
[09:22:22] ldepandis: has joined #ruby
[09:23:44] linduxed: has joined #ruby
[09:32:01] bronson: has joined #ruby
[09:33:23] zapata: has joined #ruby
[09:33:35] cdg: has joined #ruby
[09:35:01] cdg_: has joined #ruby
[09:35:56] jtdoncas: has joined #ruby
[09:39:18] apparition: has joined #ruby
[09:45:47] jamesaxl: has joined #ruby
[09:53:56] nofxx: has joined #ruby
[09:56:58] jenrzzz: has joined #ruby
[09:56:58] jenrzzz: has joined #ruby
[09:57:33] marr: has joined #ruby
[10:00:30] jottr: has joined #ruby
[10:06:59] workmad3: has joined #ruby
[10:09:09] claudiuinberlin: has joined #ruby
[10:09:18] my123: has joined #ruby
[10:09:18] my123: has joined #ruby
[10:10:01] jtdoncas: has joined #ruby
[10:11:34] sameerynho: has joined #ruby
[10:13:25] Guest90: has joined #ruby
[10:13:37] cdg: has joined #ruby
[10:21:22] d^sh: has joined #ruby
[10:32:50] bronson: has joined #ruby
[10:38:13] uZiel: has joined #ruby
[10:42:36] bkxd: has joined #ruby
[10:43:15] bkxd_: has joined #ruby
[10:43:20] dviola: has joined #ruby
[10:44:03] mtkd: has joined #ruby
[10:45:38] jtdoncas: has joined #ruby
[10:50:17] ldepandis: has joined #ruby
[10:52:30] jottr: has joined #ruby
[10:52:46] biberu: has joined #ruby
[10:53:02] gigetoo: has joined #ruby
[11:02:30] alex``: has joined #ruby
[11:08:46] workmad3: has joined #ruby
[11:10:12] jottr: has joined #ruby
[11:13:19] mrush: i wish rye made the pid available for remote processes
[11:13:49] my123: has joined #ruby
[11:13:49] my123: has joined #ruby
[11:13:52] drewmcmillan: has joined #ruby
[11:16:43] jenrzzz: has joined #ruby
[11:16:43] jenrzzz: has joined #ruby
[11:17:30] Ellusionist: has joined #ruby
[11:19:51] tomphp: has joined #ruby
[11:22:05] jtdoncas: has joined #ruby
[11:25:43] milardovich: has joined #ruby
[11:30:11] mikecmpbll: has joined #ruby
[11:32:37] conta: has joined #ruby
[11:33:35] bronson: has joined #ruby
[11:36:38] my123: has joined #ruby
[11:36:38] my123: has joined #ruby
[11:40:23] Dreamer3: has joined #ruby
[11:49:37] tomphp: has joined #ruby
[11:53:25] TomyLobo: has joined #ruby
[11:54:31] nowhere_man: has joined #ruby
[11:57:48] jottr: has joined #ruby
[12:00:35] jtdoncas: has joined #ruby
[12:03:40] plexigras: has joined #ruby
[12:09:20] milardovich: has joined #ruby
[12:10:53] AJA4350: has joined #ruby
[12:13:34] bweston92: has joined #ruby
[12:13:46] ecuanaso: has joined #ruby
[12:16:29] Ishido: has joined #ruby
[12:18:01] drewmcmillan: has joined #ruby
[12:18:02] dtcristo1: has left #ruby: ("Kicked by @appservice-irc:matrix.org : idle on matrix for more than 30 days")
[12:20:03] apparition: has joined #ruby
[12:34:28] bronson: has joined #ruby
[12:35:04] jottr: has joined #ruby
[12:36:00] jtdoncas: has joined #ruby
[12:36:23] Ishido: has joined #ruby
[12:37:22] Beams: has joined #ruby
[12:38:07] Beams_: has joined #ruby
[12:48:03] marcux: has joined #ruby
[12:48:37] alfiemax: has joined #ruby
[12:48:41] cremes: has joined #ruby
[12:49:12] elphe: has joined #ruby
[12:56:24] milardovich: has joined #ruby
[13:03:20] HaikuUser: has joined #ruby
[13:07:05] jdawgaz: has joined #ruby
[13:07:36] ecuanaso: has joined #ruby
[13:09:32] workmad3: has joined #ruby
[13:10:30] jtdoncas: has joined #ruby
[13:14:01] nowhere_man: has joined #ruby
[13:16:24] mymtw_: has joined #ruby
[13:18:25] ecuanaso: has joined #ruby
[13:22:23] ltem: has joined #ruby
[13:26:27] mymtw: has joined #ruby
[13:28:10] mymtw: has left #ruby: ()
[13:30:27] nowhere_man: has joined #ruby
[13:34:47] kapil___: has joined #ruby
[13:35:20] bronson: has joined #ruby
[13:35:21] Gnukpd: has joined #ruby
[13:38:07] jerryskye: has joined #ruby
[13:39:27] jerryskye: has joined #ruby
[13:42:10] canton7: has joined #ruby
[13:42:34] KeyJoo: has joined #ruby
[13:42:37] jamesaxl: has joined #ruby
[13:45:28] jtdoncas: has joined #ruby
[13:48:11] nowhere_man: has joined #ruby
[13:49:08] mtkd: has joined #ruby
[13:55:37] jerryskye: has joined #ruby
[13:59:35] konsolebox: has joined #ruby
[14:06:13] kiltzman: has joined #ruby
[14:07:09] kiltzman: has joined #ruby
[14:07:39] kiltzman: has joined #ruby
[14:08:00] Ishido: has joined #ruby
[14:08:14] kiltzman: has joined #ruby
[14:08:40] kiltzman: has joined #ruby
[14:08:48] mtkd: has joined #ruby
[14:09:09] kiltzman: has joined #ruby
[14:10:02] ddffg: has joined #ruby
[14:10:45] kiltzman: has joined #ruby
[14:11:08] uZiel: has joined #ruby
[14:11:13] kiltzman: has joined #ruby
[14:12:18] alex``: has joined #ruby
[14:12:50] kiltzman: has joined #ruby
[14:14:18] kiltzman: has joined #ruby
[14:14:52] kiltzman: has joined #ruby
[14:15:28] marcux: has joined #ruby
[14:16:06] kiltzman: has joined #ruby
[14:16:47] tomphp: has joined #ruby
[14:17:14] kiltzman: has joined #ruby
[14:19:22] ski7777: has joined #ruby
[14:24:28] apeiros: hi mr-robert
[14:24:40] mr-robert: hey apeiros
[14:24:42] jtdoncas: has joined #ruby
[14:29:07] Vapez: has joined #ruby
[14:29:30] ddffg: Hello guys can criticize this code https://github.com/sandiks/Trader_bot/blob/master/coinexchange/client.rb
[14:30:11] ddffg: i like ruby
[14:30:39] ddffg: Every year i love Ruby more and more.
[14:31:08] Inoperable: has joined #ruby
[14:31:16] apeiros: ddffg: API_KEY, API_SECRET and DB should probably rather be instance variables and be passed into initialize
[14:31:56] apeiros: ddffg: get_ prefix is usually not used in ruby. we have `foo=`, `foo` and `foo?` instead of `set_foo`, `get_foo` and `is/has_foo`
[14:34:01] ddffg: i use 'get', 'load', 'fetch' To specify exactly what the method does
[14:34:18] nchambers: has joined #ruby
[14:34:22] rrichardsr3: has joined #ruby
[14:36:26] bronson: has joined #ruby
[14:37:27] beanish: has joined #ruby
[14:43:33] Xeago: has joined #ruby
[14:48:14] mr-robert: don't need the is_successed local variable.
[14:48:43] mr-robert: don't need 'data' local variable
[14:54:00] drewmcmillan: has joined #ruby
[14:56:24] jtdoncas: has joined #ruby
[15:02:27] johno84: has joined #ruby
[15:02:49] Beams_: has joined #ruby
[15:06:08] ddffg: Why no one programs in Crystal language
[15:10:24] workmad3: has joined #ruby
[15:12:21] Ishido: has joined #ruby
[15:13:08] Mvfc: has joined #ruby
[15:14:35] mr-robert: people do program in crystal
[15:14:47] mr-robert: but this is #ruby :)
[15:14:51] conta2: has joined #ruby
[15:18:51] idefine: has joined #ruby
[15:29:33] govg: has joined #ruby
[15:29:51] bkxd: has joined #ruby
[15:30:53] hotdogpete: has joined #ruby
[15:32:08] cschneid_: has joined #ruby
[15:35:22] jtdoncas: has joined #ruby
[15:35:24] TvL2386: has joined #ruby
[15:36:20] Guest14: has joined #ruby
[15:37:28] bronson: has joined #ruby
[15:40:18] govg: has joined #ruby
[15:41:10] ResidentBiscuit: has joined #ruby
[15:42:03] pilne: has joined #ruby
[15:42:53] randomstrangerb: has joined #ruby
[15:45:14] Dreamer3_: has joined #ruby
[15:45:51] Beams: has joined #ruby
[15:47:27] idefine: has joined #ruby
[15:47:32] Beams_: has joined #ruby
[15:54:07] cremes: has joined #ruby
[15:57:42] idefine: has joined #ruby
[15:58:54] Chuguniy: has joined #ruby
[16:00:30] kapil___: has joined #ruby
[16:09:27] jtdoncas: has joined #ruby
[16:12:14] fredx: has joined #ruby
[16:13:43] cdg: has joined #ruby
[16:14:23] mtkd: has joined #ruby
[16:14:36] PaulCapestany: has joined #ruby
[16:14:47] cremes: has joined #ruby
[16:26:41] mn3m: has joined #ruby
[16:27:37] tedwards: has joined #ruby
[16:27:57] doublemalt_: has joined #ruby
[16:28:11] raul782: has joined #ruby
[16:29:28] Beams_: has joined #ruby
[16:30:16] drewmcmillan: has joined #ruby
[16:37:59] bronson: has joined #ruby
[16:39:30] jottr: has joined #ruby
[16:40:19] jtdoncas: has joined #ruby
[16:41:46] BTRE: has joined #ruby
[16:48:51] dinfuehr: has joined #ruby
[16:49:10] Beams: has joined #ruby
[16:56:28] DLSteve: has joined #ruby
[16:57:45] csaunders: has joined #ruby
[16:59:58] yahmds: has joined #ruby
[17:00:53] yahmds: has joined #ruby
[17:01:09] ResidentBiscuit: has joined #ruby
[17:02:49] randomstrangerb: has joined #ruby
[17:04:21] Akuma: has joined #ruby
[17:04:38] csaunders: has joined #ruby
[17:06:10] Akuma: Hello, I have a question I can't seem to resolve with google: I have a variadic arg function ( def f(*args)), args being a series of strings. When I do `args.each do |i| { str += '' }` I receive a message that i is nul
[17:06:47] Akuma: any idea what I should be doing to access the string within the args I've passed?
[17:06:51] havenwood: Akuma: Is that code snippet correct?
[17:07:01] phaul: has joined #ruby
[17:07:25] havenwood: Akuma: Can you gist the whole method?
[17:07:30] ruby[bot]: https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
[17:07:36] Akuma: I didn't paste the functional code, I can do a pastebin
[17:08:22] alfiemax: has joined #ruby
[17:08:31] Akuma: https://0bin.net/paste/VfFpxhrD++pbB23v#ISu2MwG-hc484BC78LtRzr+Pr4K2PHUSVqfffld2SLb
[17:08:59] jamesaxl: has joined #ruby
[17:09:01] Akuma: missing the last "end" on the paste
[17:09:16] goat: has joined #ruby
[17:09:27] Akuma: nevermind, I figured out the issue, I hat to do `q.to_s`
[17:10:09] troydm: has joined #ruby
[17:10:10] havenwood: Akuma: Consider: sql.join
[17:10:18] jottr: has joined #ruby
[17:10:46] Akuma: havenwood: Thank you!
[17:10:50] troydm: I want to execute shell command so it's stdout and stderr would be outputed to stdout and stderr, how can I do that in Ruby?
[17:10:52] Akuma: I didn't think of that
[17:11:26] havenwood: troydm: system
[17:11:52] troydm: havenwood: system doesn't do stderr
[17:11:56] havenwood: &ri Kernel#system
[17:11:56] `derpy: http://ruby-doc.org/core-2.4.1/Kernel.html#method-i-system
[17:12:06] havenwood: troydm: open3 or popen3 do
[17:13:03] orbyt_: has joined #ruby
[17:13:27] havenwood: &ri Open3#capture3
[17:13:27] `derpy: http://ruby-doc.org/stdlib-2.4.1/libdoc/open3/rdoc/Open3.html#method-i-capture3
[17:13:40] mr-robert: howdy havenwood
[17:13:56] havenwood: mr-robert: g'mornin'
[17:14:39] ResidentBiscuit: has joined #ruby
[17:17:34] jtdoncas: has joined #ruby
[17:18:20] jottr: has joined #ruby
[17:18:32] idefine: has joined #ruby
[17:21:10] nadir: has joined #ruby
[17:24:18] TinkerTyper: has joined #ruby
[17:26:46] beauby: has joined #ruby
[17:29:35] ResidentBiscuit: has joined #ruby
[17:32:57] Riddell: has joined #ruby
[17:34:21] spectra: has joined #ruby
[17:34:25] Riddell: has joined #ruby
[17:36:38] mistergibson: has joined #ruby
[17:37:37] vyorkin: has joined #ruby
[17:38:11] kculpis: has joined #ruby
[17:38:51] bronson: has joined #ruby
[17:41:20] r3kz: has joined #ruby
[17:54:04] jtdoncas: has joined #ruby
[17:54:42] Vapez: has joined #ruby
[17:56:51] cdg: has joined #ruby
[17:57:31] Guest90: has joined #ruby
[17:57:59] therealGent: has joined #ruby
[17:58:28] dachinat: has joined #ruby
[18:01:25] jottr: has joined #ruby
[18:06:32] dachinat: hi. has anybody used VCR? can I have match_requests_on: [:register_user_matcher, >>OR<<:update_user_matcher] not AND there. if not is it possible to write a single matcher and call and compare these two matchers manually with OR
[18:07:23] ResidentBiscuit: has joined #ruby
[18:08:06] dachinat: * is there something like #get_request_matcher for #register_request_matcher
[18:08:20] alfiemax_: has joined #ruby
[18:11:19] Beams: has joined #ruby
[18:13:32] theo__: has joined #ruby
[18:20:28] kiltzman: has joined #ruby
[18:23:22] oblique: has joined #ruby
[18:23:26] jtdoncas: has joined #ruby
[18:23:27] kiltzman: has joined #ruby
[18:24:00] kiltzman: has joined #ruby
[18:25:01] kiltzman: has joined #ruby
[18:25:49] elphe: has joined #ruby
[18:27:29] kiltzman: has joined #ruby
[18:27:52] dachinat: I found a way to call it: VCR.request_matchers[:register_user_matcher].callable.call(request_1, request_2) thanks.
[18:28:33] kiltzman: has joined #ruby
[18:29:30] kiltzman: has joined #ruby
[18:30:00] kiltzman: has joined #ruby
[18:39:42] bronson: has joined #ruby
[18:40:11] Beams: has joined #ruby
[18:40:38] randomstrangerb: has joined #ruby
[18:42:13] dachinat: has left #ruby: ()
[18:43:59] vyorkin: has joined #ruby
[18:46:32] woodruffw: has joined #ruby
[18:46:32] woodruffw: has joined #ruby
[18:48:23] raul782: has joined #ruby
[18:50:18] ldepandis: has joined #ruby
[18:51:22] Dimik: has joined #ruby
[18:51:36] chouhoulis: has joined #ruby
[18:55:12] jtdoncas: has joined #ruby
[18:57:36] drewmcmillan: has joined #ruby
[18:59:48] cdg: has joined #ruby
[19:00:31] Ellusionist: has joined #ruby
[19:04:08] Mukheem: has joined #ruby
[19:05:33] Mukheem: has joined #ruby
[19:07:21] Hanmac: has joined #ruby
[19:11:49] workmad3: has joined #ruby
[19:16:09] numbdewd: has joined #ruby
[19:18:05] theo_: has joined #ruby
[19:18:30] DominatedConverg: has joined #ruby
[19:20:52] Azure: has joined #ruby
[19:25:43] jottr_: has joined #ruby
[19:29:27] raul782: has joined #ruby
[19:29:27] jtdoncas: has joined #ruby
[19:31:30] marr: has joined #ruby
[19:35:22] ResidentBiscuit: has joined #ruby
[19:37:51] mjolnird: has joined #ruby
[19:40:27] bronson: has joined #ruby
[19:42:48] Mweshi: has joined #ruby
[19:46:00] DominatedConverg: has joined #ruby
[19:46:29] dviola: has joined #ruby
[19:47:43] mikeiniowa: has joined #ruby
[19:51:30] mtkd: has joined #ruby
[19:56:13] nofxx1: has joined #ruby
[19:56:31] darix: has joined #ruby
[19:57:59] Azure: has joined #ruby
[19:58:42] Guest90: has joined #ruby
[19:58:45] PresidentBiscuit: has joined #ruby
[20:01:29] Immune: has joined #ruby
[20:04:02] vyorkin: has joined #ruby
[20:05:25] jtdoncas: has joined #ruby
[20:07:38] zack6849_: has joined #ruby
[20:09:07] Beams: has joined #ruby
[20:09:51] brian_penguin: has joined #ruby
[20:10:16] Ishido: has joined #ruby
[20:12:07] k0mpa: has joined #ruby
[20:13:14] Azure: has joined #ruby
[20:14:39] troulouliou_div2: has joined #ruby
[20:14:41] jackjackdripper: has joined #ruby
[20:16:45] jobewan: has joined #ruby
[20:17:13] Azure: has joined #ruby
[20:17:26] AndroUser2: has joined #ruby
[20:18:52] Mweshi: has joined #ruby
[20:27:58] dionysus69: has joined #ruby
[20:29:01] chouhoulis: has joined #ruby
[20:43:17] Ishido: has joined #ruby
[20:43:38] tAn: has joined #ruby
[20:44:12] Vile`: has joined #ruby
[20:44:31] jtdoncas: has joined #ruby
[20:45:00] cdg: has joined #ruby
[20:45:15] amatas: has joined #ruby
[20:46:56] duderonomy: has joined #ruby
[20:48:10] nowhere_man: has joined #ruby
[20:49:17] hahuang65: has joined #ruby
[20:52:53] jdawgaz: has joined #ruby
[20:53:54] mostly-harmless: has joined #ruby
[20:56:32] pelegreno: has joined #ruby
[20:58:39] Akuma: has left #ruby: ("Leaving")
[20:59:11] d^sh: has joined #ruby
[21:01:54] Dimik: has joined #ruby
[21:07:47] tAn: has joined #ruby
[21:08:51] raul782: has joined #ruby
[21:09:14] bkxd: has joined #ruby
[21:10:23] raul782: has joined #ruby
[21:12:54] workmad3: has joined #ruby
[21:13:42] jtdoncas: has joined #ruby
[21:15:00] miromanyth: has joined #ruby
[21:15:59] pelegreno: has joined #ruby
[21:19:39] Guest90: has joined #ruby
[21:23:56] marcux: has joined #ruby
[21:24:32] darkhanb: has joined #ruby
[21:26:11] alfiemax: has joined #ruby
[21:29:26] alfiemax_: has joined #ruby
[21:30:02] mrush: has joined #ruby
[21:33:08] Guest35375: heroke has neglected their ssl certificates. cant access rush.heroku.com. not very funny dr jone
[21:33:56] Guest35375: as that seems to be the primary reference site judging by the dearth of material elsewhere
[21:34:47] Ishido: has joined #ruby
[21:35:06] Guest35375: ACTION uses RYE instead
[21:35:09] ur5us: has joined #ruby
[21:36:33] cdg: has joined #ruby
[21:36:54] Mweshi: has joined #ruby
[21:37:21] sammi`_: has joined #ruby
[21:40:46] chat_: has joined #ruby
[21:41:44] bronson: has joined #ruby
[21:43:01] jobewan: has joined #ruby
[21:46:21] guille-moe: has joined #ruby
[21:46:37] lytol_: has joined #ruby
[21:46:43] raul782: has joined #ruby
[21:48:09] jdawgaz: has joined #ruby
[21:48:39] Guest90: has joined #ruby
[21:56:01] Psybur: has joined #ruby
[21:56:34] mtkd: has joined #ruby
[21:56:48] jdawgaz: has joined #ruby
[22:04:43] Mweshi: has joined #ruby
[22:07:43] Mweshi: has joined #ruby
[22:07:50] tomphp: has joined #ruby
[22:10:22] romain_t: has joined #ruby
[22:15:00] andrevan: has joined #ruby
[22:16:30] jobewan: has joined #ruby
[22:18:45] jordanm: has joined #ruby
[22:20:09] Mweshi_: has joined #ruby
[22:22:16] jackjackdripper: has joined #ruby
[22:22:30] darix: Guest35375: rush.herokuapp.com works
[22:24:37] jackjackdripper: has joined #ruby
[22:25:18] dviola: has joined #ruby
[22:25:56] nowhere_man: has joined #ruby
[22:29:10] Guest35375: darix: thanks, looks like it's not the documentation in any case
[22:29:29] Guest35375: (seems to be an app?)
[22:30:18] kiltzman: has joined #ruby
[22:30:21] jobewan: has joined #ruby
[22:30:49] kiltzman: has joined #ruby
[22:32:15] Guest90: has joined #ruby
[22:32:49] kiltzman: has joined #ruby
[22:32:57] Ellusionist: has joined #ruby
[22:33:23] kiltzman: has joined #ruby
[22:33:51] kiltzman: has joined #ruby
[22:35:51] kiltzman: has joined #ruby
[22:38:24] romain_t: has joined #ruby
[22:40:16] Guest90: has joined #ruby
[22:42:29] bronson: has joined #ruby
[22:45:53] jobewan: has joined #ruby
[22:48:10] jnyw: has joined #ruby
[22:49:15] romain_t: has joined #ruby
[22:51:03] raynold: has joined #ruby
[22:52:15] drewmcmillan: has joined #ruby
[22:55:10] alfiemax: has joined #ruby
[22:55:55] jobewan: has joined #ruby
[22:58:55] tomphp: has joined #ruby
[23:03:08] orbyt_: has joined #ruby
[23:08:04] jdawgaz: has joined #ruby
[23:08:41] randomstrangerb: has joined #ruby
[23:10:44] pskosinski_: has joined #ruby
[23:12:55] Mweshi: has joined #ruby
[23:13:39] workmad3: has joined #ruby
[23:14:24] iszak: has joined #ruby
[23:16:03] raul782: has joined #ruby
[23:20:18] dviola: has joined #ruby
[23:22:47] pskosinski: has joined #ruby
[23:24:54] S007: has joined #ruby
[23:31:13] argoneus: has joined #ruby
[23:33:54] elphe: has joined #ruby
[23:35:12] miskatonic: has joined #ruby
[23:37:14] ur5us: has joined #ruby
[23:42:06] jerryskye: has joined #ruby
[23:43:21] bronson: has joined #ruby
[23:43:53] pastorinni: has joined #ruby
[23:49:05] pskosinski: has joined #ruby
[23:51:40] tomphp: has joined #ruby
[23:52:05] pskosinski_: has joined #ruby
[23:52:07] sameerynho: has joined #ruby
[23:55:43] drewmcmillan: has joined #ruby
[23:56:01] Mweshi: has joined #ruby
[23:56:46] reu: has joined #ruby
[23:56:48] Ellusionist: has joined #ruby