« Back to channel list

#ruby - 07 October 2017

« Back 1 day Forward 1 day »
[00:02:25] cagomez: has joined #ruby
[00:04:55] _aeris: has joined #ruby
[00:09:37] RickHull: pecan_: should be fine IIRC
[00:10:39] numbdewd: has joined #ruby
[00:11:51] emulator3: has joined #ruby
[00:13:16] RickHull: the lib stuff is typically keyed to the minor version, i.e. just 2.2, even if written as 2.2.0
[00:17:06] jinie: has joined #ruby
[00:17:07] Ohga: has joined #ruby
[00:18:51] Ohga: I'm trying to remind myself how ruby works, especially in the context of #initialize_copy . def initialize_copy other; super; @v = other ; # how do I get @v in other? end
[00:19:32] RickHull: initialize_copy is not a special name AFAIK
[00:19:42] RickHull: i.e. it's just like any other method
[00:20:29] RickHull: other is an instance of the class that defines initialize_copy; that class must have a superclass, for the call to super() to work
[00:20:30] Ohga: I left out that this is in a class
[00:20:59] Ohga: #initialize_copy is used by dup/clone so I thought this were implied
[00:21:05] RickHull: @v is an instance variable, and other is assigned to it after super() returns
[00:21:21] matthewd: Ohga: If you just want other's @v, it's already there
[00:21:27] RickHull: Ohga: oh hm, dunno about the dup/clone connection
[00:21:38] Ohga: you know.. that's true :P
[00:21:45] matthewd: Ohga: Otherwise, maybe you want instance_variable_get
[00:22:13] Ohga: yeah, that's what I were thinking of, I just wanted to check that I didn't miss something built into the syntax
[00:22:25] matthewd: Normally you'd just want to: @v = @v.dup
[00:32:07] bokayio: has joined #ruby
[00:36:48] amirite: has joined #ruby
[00:38:20] Cohedrin_: has joined #ruby
[00:39:36] jenrzzz_: has joined #ruby
[00:41:18] charliesome: has joined #ruby
[00:41:26] Joufflu: has joined #ruby
[00:41:49] ephemera_: has joined #ruby
[00:47:31] colin_: has joined #ruby
[00:48:53] colin_: hey there. im currently trying to install sass using ruby, but everytime i run the command i get "failed to build gem native extension" + "extconf failed, exit code 1". can anyone help? i get this issue no matter how much i try.
[00:52:21] colin_: if anyone could help out that would be great.
[00:55:56] teatime: colin_: there's probably some more specific errors just above that, maybe gist it. perhaps you are missing a C compiler and libraries; e.g. if on debian or ubuntu, try `sudo apt-get install build-essential`
[00:56:18] colin_: teatime, let me try that real quick
[00:57:42] colin_: teatime, im getting the same issue with build-essential installed
[00:57:53] emulator3: has joined #ruby
[00:58:32] teatime: colin_: paste the whole output to gist.github.com
[00:59:11] colin_: teatime, https://gist.github.com/cpdevelops/f45b4531a1176a5638fadf828c9b60b6
[01:02:26] teatime: colin_: might be `apt-get install ruby-dev` .. you can try that while I look something up
[01:03:49] colin_: teatime, that worked, so idk whats up with my normal ruby
[01:04:05] teatime: colin_: you just didn't have the development headers installed
[01:04:19] colin_: teatime, ok then, thanks for the help.
[01:04:43] teatime: colin_: on debian and derivatives, as a rule, you can install package libfoo which gets you what you need for an executable to use the Foo Library, but to you compile an executable that uses the Foo Library, you need libfoo-dev
[01:05:08] teatime: s/to you/to/
[01:07:07] weaksauce: has joined #ruby
[01:12:28] emulator3: has joined #ruby
[01:18:37] Cohedrin_: has joined #ruby
[01:20:46] bronson: has joined #ruby
[01:30:05] alfiemax: has joined #ruby
[01:30:40] colin_: has left #ruby: ("Leaving")
[01:33:07] mim1k: has joined #ruby
[01:42:03] d^sh: has joined #ruby
[01:42:43] rubycoder37: has joined #ruby
[01:44:43] ElDoggo: has joined #ruby
[01:46:28] rubycoder37: I have trouble adjusting to python at work, I prefer ruby
[01:47:57] rubycoder37: any ideas how to deal with this problem?
[01:48:50] scorphus: has joined #ruby
[01:50:11] rubycoder37: I tried to get my fellow coworkers to change to ruby but they are all into python right now
[01:50:16] Cohedrin_: has joined #ruby
[01:50:54] rubycoder37: it makes me really sad to be the only ruby guy at work
[01:51:17] rubycoder37: please help :(
[01:54:14] gizmore|2: has joined #ruby
[01:57:42] rubycoder37: has joined #ruby
[02:03:15] guardianx: has joined #ruby
[02:05:25] ramfjord: has joined #ruby
[02:07:30] codelurker: has joined #ruby
[02:10:00] imode: has joined #ruby
[02:15:29] gma: has joined #ruby
[02:45:38] cagomez: has joined #ruby
[02:49:16] ozcanesen: has joined #ruby
[02:50:11] kies: has joined #ruby
[02:50:44] guardianxx: has joined #ruby
[02:56:55] guardianxx: has joined #ruby
[02:57:25] guardianxx: has joined #ruby
[03:12:04] mson: has joined #ruby
[03:19:19] enterprisey: has joined #ruby
[03:21:52] bronson: has joined #ruby
[03:22:10] gix: has joined #ruby
[03:26:45] segy: has joined #ruby
[03:33:35] mim1k: has joined #ruby
[03:42:29] rakm: has joined #ruby
[03:43:18] rakm: has joined #ruby
[03:54:10] _whitelogger: has joined #ruby
[03:56:01] uxp: has joined #ruby
[03:56:35] FahmeF: has joined #ruby
[03:56:57] ozcanesen: has joined #ruby
[03:57:11] __Yiota: has joined #ruby
[04:06:33] cschneid_: has joined #ruby
[04:08:16] dstrunk: has joined #ruby
[04:09:13] jtdoncas: has joined #ruby
[04:15:51] konsolebox: has joined #ruby
[04:18:35] shinnya: has joined #ruby
[04:20:26] gma: has joined #ruby
[04:30:32] uneeb: has joined #ruby
[04:32:07] mim1k: has joined #ruby
[04:40:31] AustinMatherne: has joined #ruby
[04:45:30] mjolnird: has joined #ruby
[04:46:00] mjolnird: has joined #ruby
[04:50:34] govg: has joined #ruby
[04:53:33] enterprisey: has joined #ruby
[04:57:35] milardovich: has joined #ruby
[04:59:59] alfiemax: has joined #ruby
[05:13:53] Bock: has joined #ruby
[05:16:35] Ohga: has left #ruby: ()
[05:23:02] bronson: has joined #ruby
[05:26:05] pawel__: has joined #ruby
[05:27:16] pawel__: has left #ruby: ()
[05:28:53] pawel__: has joined #ruby
[05:49:42] claudiuinberlin: has joined #ruby
[05:52:31] nowhere_man: has joined #ruby
[05:58:58] apparition47: has joined #ruby
[05:59:07] reber: has joined #ruby
[05:59:10] reber_: has joined #ruby
[06:04:18] kies: has joined #ruby
[06:08:02] cschneid_: has joined #ruby
[06:14:16] milardovich: has joined #ruby
[06:18:10] _whitelogger: has joined #ruby
[06:21:40] DTZUZO: has joined #ruby
[06:23:55] bronson: has joined #ruby
[06:26:37] Kola: has joined #ruby
[06:26:59] Kola: has left #ruby: ()
[06:27:14] gma: has joined #ruby
[06:30:22] mgtuiw1131: has joined #ruby
[06:41:39] ldepandis: has joined #ruby
[06:56:55] ta: has joined #ruby
[07:00:15] _aeris_: has joined #ruby
[07:00:29] _aeris_: has joined #ruby
[07:03:33] rippa: has joined #ruby
[07:10:25] DTZUZO: has joined #ruby
[07:27:14] rfoust: has joined #ruby
[07:32:40] snickers: has joined #ruby
[07:33:28] jphase: has joined #ruby
[07:33:35] soyeomul: has joined #ruby
[07:39:09] quobo: has joined #ruby
[07:39:47] ta: has joined #ruby
[07:41:37] stanc: has joined #ruby
[07:49:10] shime: has joined #ruby
[07:52:16] alfiemax: has joined #ruby
[07:54:53] danielpclark: has joined #ruby
[07:56:00] phaul: has joined #ruby
[08:04:33] edward_: has joined #ruby
[08:09:43] Axsuul: has joined #ruby
[08:11:15] MrBusiness3: has joined #ruby
[08:11:48] Silthias: has joined #ruby
[08:15:34] nicolai86: has joined #ruby
[08:23:41] kies: has joined #ruby
[08:24:41] bronson: has joined #ruby
[08:29:13] kliq: has joined #ruby
[08:32:55] gma: has joined #ruby
[08:40:05] jtdoncas: has joined #ruby
[08:41:11] konsolebox: has joined #ruby
[08:51:26] Hanmac: has joined #ruby
[08:51:53] guardian: has joined #ruby
[08:53:49] ramfjord: has joined #ruby
[08:54:25] Guest97372: has joined #ruby
[09:04:17] shime: has joined #ruby
[09:10:35] harfangk: has joined #ruby
[09:16:10] mgtuiw1131: has joined #ruby
[09:17:45] jinie: has joined #ruby
[09:23:42] conta: has joined #ruby
[09:25:30] Nobun: has joined #ruby
[09:26:27] nowhere_man: has joined #ruby
[09:27:51] TomyLobo: has joined #ruby
[09:28:58] Nobun: Hi. someone can exactly explain me the "original ruby code snippet" here? http://dpaste.com/0BAD8KJ
[09:29:03] Nobun: (it is very brief).
[09:29:47] Nobun: with some guess I translated that snippet in a function, but I didn't understand exactly what |f| does and what is the purpose of the brackets there
[09:30:25] j416: Nobun: it's what's called a block
[09:30:49] Nobun: a file block or block of code?
[09:31:38] Nobun: I thinked that block of code usually have "begin" (for example def) and an "end" (wich is usually the keyword end)
[09:31:49] j416: https://ruby-doc.org/core-2.4.2/File.html#method-c-open
[09:32:35] j416: the open method on File returns a file normally, but if you use it with a block like in your example, it will yield the file to the block
[09:32:51] j416: and handle the closing of it when the block finishes
[09:35:02] Nobun: ok understood... so it is a special syntax that allows to handle the binary file and store it into an object with a safe open/close method. right?
[09:35:31] j416: Nobun: it's a shorthand so to speak, yes
[09:35:41] j416: Nobun: otherwise you would have to do something like http://dpaste.com/2KQPA4R
[09:36:10] j416: Nobun: and also take into account what happens if "Marshal.load(f)" explodes (you'd probably want to close the file anyway=
[09:36:25] Nobun: yes agreed
[09:37:26] conta: has joined #ruby
[09:37:31] Nobun: it is more or less similar to python, when using "with open" against using simply using "open" (in the first case the file will be closed itself at the end of the block of code, in the second case you must close explicitly the file)
[09:37:47] Nobun: s/agreed/understood
[09:37:54] j416: yes, I would assume they are similar in this regard
[09:38:05] j416: also, it's f.close(), not f.Close() that I wrote. Sorry.
[09:38:29] j416: haven't written a line of Ruby for over a year now
[09:38:38] Nobun: no problem. thank a lot for your very quick reply :)
[09:38:54] apparition47: has joined #ruby
[09:39:05] Nobun: may I ask another thing? (sorry but I use ruby very rarely)
[09:39:24] Nobun: is there some code to add a sort of exception safe code
[09:39:47] j416: something like http://dpaste.com/2DCB7KH perhaps
[09:40:26] j416: but the block version will do this for you
[09:40:32] Nobun: I'd like to add a code in the function wich will manage an error if the file was not successfully opened (it could be encripted. In that case the file will have no chance to be opened rightly)
[09:40:57] j416: you can add begin/rescue/ensure around any code
[09:41:19] j416: http://rubylearning.com/satishtalim/ruby_exceptions.html
[09:41:31] shinnya: has joined #ruby
[09:41:36] Nobun: again... thank a lot... I will read this last link immediately
[09:41:46] marr: has joined #ruby
[09:42:01] jtdoncas: has joined #ruby
[09:43:32] Nobun: sorry... is there something that says (if I manage the raise exception, i will end the execution of the script immediately... something like quit() or similar... but since I am planning to embed ruby I'd like to find something wich will stops the script WITHOUT stopping the host application)
[09:47:42] j416: go read the docs of the thing you are embedding ruby into
[09:47:52] j416: find out how to exit properly
[09:48:06] j416: (are there special exit codes to use?)
[09:49:52] Nobun: yes... is is hard to find a decent documentation about embedding... I am searching around for days... the only thing I'm finding useful is: http://ruby-doc.com/docs/ProgrammingRuby/ (on ExtendingRuby chapter)
[09:50:51] Nobun: the application I am developing already embeds python and lua for different purposes, but I need also ruby becouse I need to have read access to some ruby marshal data files
[09:51:23] Nobun: compared to lua and python, documentation about embedding ruby is a bit trivial to be found :(
[09:53:48] blackmesa1: has joined #ruby
[09:54:36] cagomez: has joined #ruby
[10:01:54] kliq: has joined #ruby
[10:03:03] matthewd: Nobun: I've heard things about https://silverhammermba.github.io/emberb/ -- it's mostly focused on extensions, but might contain some useful info?
[10:04:12] jtdoncas: has joined #ruby
[10:08:25] Nobun: yes. it seems very useful too, matthewd ... thank a lot (mainly the rescue2 part seems interesting. I could think about adding a general raise2 directly in the C++ code to eval the first script for safe execution and collecting the encripted failure)
[10:09:06] kliq: has joined #ruby
[10:09:12] Nobun: s/encripted failure/ruby marshal data read failure becouse encripted
[10:09:25] cschneid_: has joined #ruby
[10:11:15] ta: has joined #ruby
[10:12:23] pecan_: has left #ruby: ()
[10:22:22] phaul: has joined #ruby
[10:24:08] alveric: has joined #ruby
[10:26:02] bronson: has joined #ruby
[10:26:27] ramfjord: has joined #ruby
[10:28:21] harfangk: has joined #ruby
[10:40:07] gma: has joined #ruby
[10:41:30] alfiemax: has joined #ruby
[10:43:21] ta: has joined #ruby
[10:45:36] ElDoggo: has joined #ruby
[11:01:27] FahmeF: has joined #ruby
[11:05:08] gma: has joined #ruby
[11:05:23] jtdoncas: has joined #ruby
[11:05:48] ramfjord: has joined #ruby
[11:05:53] charliesome: has joined #ruby
[11:11:24] jud: has joined #ruby
[11:15:16] nowhere_man: has joined #ruby
[11:16:34] shime: has joined #ruby
[11:17:11] blackmesa: has joined #ruby
[11:17:46] Nobun: has joined #ruby
[11:20:37] bruno-: has joined #ruby
[11:42:39] sepp2k: has joined #ruby
[11:43:59] znz_jp: has joined #ruby
[11:48:41] biberu: has joined #ruby
[11:58:55] cagomez: has joined #ruby
[12:02:32] AlexRussia: has joined #ruby
[12:05:37] __Yiota: has joined #ruby
[12:10:34] charliesome: has joined #ruby
[12:23:02] __Yiota: has joined #ruby
[12:23:28] johno84: has joined #ruby
[12:27:03] bronson: has joined #ruby
[12:34:33] FahmeF: has joined #ruby
[12:44:48] ShalokShalom_: has joined #ruby
[12:51:27] guille-moe: has joined #ruby
[12:57:04] AlexRussia: has joined #ruby
[12:57:56] conta: has joined #ruby
[13:01:41] ta: has joined #ruby
[13:13:24] enterprisey: has joined #ruby
[13:15:35] cschneid_: has joined #ruby
[13:16:04] pagios: has joined #ruby
[13:16:39] reu: has joined #ruby
[13:17:00] cschneid_: has joined #ruby
[13:17:04] pilne: has joined #ruby
[13:17:38] serhart: has joined #ruby
[13:19:28] blackmesa: has joined #ruby
[13:22:38] serhart: has joined #ruby
[13:24:16] jtdoncas: has joined #ruby
[13:30:42] mgtuiw1131: has joined #ruby
[13:32:16] alfiemax: has joined #ruby
[13:33:00] gr33n7007h: has joined #ruby
[13:37:22] amirite: has joined #ruby
[13:38:36] DTZUZO: has joined #ruby
[13:38:52] alfiemax_: has joined #ruby
[13:40:30] jinie_: has joined #ruby
[13:41:16] jinie: has joined #ruby
[13:41:34] claudiuinberlin: has joined #ruby
[13:45:51] heftig: has joined #ruby
[13:50:30] cdg: has joined #ruby
[13:54:36] DLSteve: has joined #ruby
[14:03:27] gr33n7007h: has joined #ruby
[14:04:23] astrobunny: has joined #ruby
[14:05:33] acalycine: has joined #ruby
[14:06:59] nopoliti1: has joined #ruby
[14:07:41] bruno-: has joined #ruby
[14:09:43] ta: has joined #ruby
[14:09:51] imode: has joined #ruby
[14:12:28] gnufied: has joined #ruby
[14:15:09] kliq: has joined #ruby
[14:21:34] MystiqueEnigma: has joined #ruby
[14:27:39] jphase: has joined #ruby
[14:27:57] bronson: has joined #ruby
[14:29:08] al2o3-cr: it's mighty quiet in here today.
[14:29:10] Qommand0r: has joined #ruby
[14:35:17] MystiqueEnigma: perhaps the name of the room should be changed from ruby to sleeping beauties :D
[14:36:04] SCHAPiE: has joined #ruby
[14:41:55] MystiqueEnigma: has joined #ruby
[14:44:42] kliq: has joined #ruby
[14:47:46] raynold: has joined #ruby
[14:48:46] Ishido: has joined #ruby
[14:55:05] krz: has joined #ruby
[14:57:04] astrobunny: has joined #ruby
[14:58:40] AlexRussia: has joined #ruby
[15:01:24] apparition47: has joined #ruby
[15:12:22] rfoust: has joined #ruby
[15:12:38] adlerdias: has joined #ruby
[15:19:38] Joufflu: has joined #ruby
[15:20:55] kliq: has joined #ruby
[15:21:03] mgtuiw1131: has joined #ruby
[15:22:38] ta: has joined #ruby
[15:22:55] moei: has joined #ruby
[15:31:22] zapata: has joined #ruby
[15:39:51] GodFather__: has joined #ruby
[15:43:48] fusta: has joined #ruby
[16:02:04] orbyt_: has joined #ruby
[16:02:56] bruno-: has joined #ruby
[16:12:48] charliesome: has joined #ruby
[16:15:02] chmurifree: has joined #ruby
[16:15:08] minimalism: has joined #ruby
[16:16:23] ivanskie: has joined #ruby
[16:29:04] bronson: has joined #ruby
[16:30:14] charliesome: has joined #ruby
[16:35:58] __Yiota: has joined #ruby
[16:38:16] selim: has joined #ruby
[16:40:51] nausea: has joined #ruby
[16:40:51] nausea: has joined #ruby
[16:45:41] Neptu: has joined #ruby
[16:46:06] hotpancakes: has joined #ruby
[16:49:21] marr: has joined #ruby
[16:59:40] shinnya: has joined #ruby
[17:02:42] johno84: has joined #ruby
[17:02:49] blackmesa: has joined #ruby
[17:07:02] ta: has joined #ruby
[17:07:16] __Yiota: has joined #ruby
[17:12:15] nausea: has joined #ruby
[17:12:15] nausea: has joined #ruby
[17:14:30] cdg: has joined #ruby
[17:16:27] zachk: has joined #ruby
[17:18:23] cschneid_: has joined #ruby
[17:19:05] kliq: has joined #ruby
[17:22:04] ta: has joined #ruby
[17:22:32] mson: has joined #ruby
[17:26:00] nowhere_man: has joined #ruby
[17:27:26] Pumukel: has joined #ruby
[17:31:37] Vile`: has joined #ruby
[17:35:24] alfiemax: has joined #ruby
[17:35:27] kliq: has joined #ruby
[17:35:50] Vile`: has joined #ruby
[17:42:16] kliq: has joined #ruby
[17:46:47] ta: has joined #ruby
[17:51:30] EXCHGR: has joined #ruby
[17:57:50] EXCHGR: has joined #ruby
[17:59:08] tcopeland: has joined #ruby
[17:59:55] FastJack: has joined #ruby
[17:59:59] sagax: has joined #ruby
[18:00:37] blackmesa: has joined #ruby
[18:10:32] blackmesa: has joined #ruby
[18:15:16] ta: has joined #ruby
[18:19:21] mkroman: has joined #ruby
[18:23:03] yeticry: has joined #ruby
[18:29:59] bronson: has joined #ruby
[18:30:50] armando1: has joined #ruby
[18:34:25] Dimik: has joined #ruby
[18:42:54] orbyt_: has joined #ruby
[18:46:03] __Yiota: has joined #ruby
[18:47:25] dinfuehr: has joined #ruby
[18:50:28] quaristice: has joined #ruby
[18:52:43] enko: has joined #ruby
[18:52:49] dviola: has joined #ruby
[18:56:26] dinfuehr: has joined #ruby
[18:57:15] charliesome: has joined #ruby
[19:03:07] tcopeland: has joined #ruby
[19:04:04] _sfiguser: has joined #ruby
[19:15:30] ldepandis: has joined #ruby
[19:17:10] Vile`: has joined #ruby
[19:19:01] quaristice: has joined #ruby
[19:19:14] cschneid_: has joined #ruby
[19:20:53] alfiemax: has joined #ruby
[19:21:19] kies: has joined #ruby
[19:23:35] hfp_work: has joined #ruby
[19:26:23] abrcdbr: has joined #ruby
[19:27:57] weaksauce: has joined #ruby
[19:29:51] webguynow: has joined #ruby
[19:29:51] acalycine: has joined #ruby
[19:34:27] Cohedrin_: has joined #ruby
[19:36:08] gnufied: has joined #ruby
[19:37:55] someuser: has joined #ruby
[19:48:40] milardovich: has joined #ruby
[19:50:22] rabajaj: has joined #ruby
[19:52:43] __Yiota: has joined #ruby
[19:53:46] milardovich: has joined #ruby
[19:55:28] nowhere_man: has joined #ruby
[19:55:59] raynold: has joined #ruby
[20:01:25] __Yiota: has joined #ruby
[20:01:42] rgr: has joined #ruby
[20:03:28] bak1an: has joined #ruby
[20:12:08] Puffball: has joined #ruby
[20:20:31] m27frogy: has joined #ruby
[20:28:30] milardovich: has joined #ruby
[20:29:11] FahmeF: has joined #ruby
[20:30:20] newbie48: has joined #ruby
[20:30:55] bronson: has joined #ruby
[20:33:08] thomasv314: has joined #ruby
[20:34:18] cdg: has joined #ruby
[20:46:13] phaul: has joined #ruby
[20:47:34] marens: has joined #ruby
[20:47:34] marens: has joined #ruby
[20:57:23] goyox86: has joined #ruby
[20:58:56] gnufied: has joined #ruby
[20:59:21] milardovich: has joined #ruby
[21:00:33] goyox86: has joined #ruby
[21:07:38] abrcdbr_: has joined #ruby
[21:11:04] _aeris_: has joined #ruby
[21:13:16] Xeago: has joined #ruby
[21:18:28] milardovich: has joined #ruby
[21:20:46] cschneid_: has joined #ruby
[21:25:26] marr: has joined #ruby
[21:27:00] postmodern: has joined #ruby
[21:41:20] __Yiota: has joined #ruby
[21:41:45] milardovich: has joined #ruby
[21:46:31] cschneid_: has joined #ruby
[21:56:30] charliesome_: has joined #ruby
[21:59:13] QualityAddict: has joined #ruby
[22:03:20] cdg: has joined #ruby
[22:04:28] enko: has joined #ruby
[22:06:31] iszak: has joined #ruby
[22:07:03] cschneid_: has joined #ruby
[22:09:26] imode: has joined #ruby
[22:09:54] Nobun: has joined #ruby
[22:19:47] enko: has joined #ruby
[22:20:49] rfoust: has joined #ruby
[22:27:15] __Yiota: has joined #ruby
[22:32:11] bronson: has joined #ruby
[22:33:26] enko: has joined #ruby
[22:38:49] shinnya: has joined #ruby
[22:38:50] rubycoder37: has joined #ruby
[22:42:02] rubycoder37: at my job everyone switched to python, I'm very frustrated about this
[22:42:21] amirite: has joined #ruby
[22:42:27] milardovich: has joined #ruby
[22:43:05] enko: has joined #ruby
[22:43:45] mikecmpbll: rubycoder37 : why did they switch, and why are you frustrated?
[22:46:57] rubycoder37: I like ruby and my coworkers like python more, they think python is faster and has more libraries for writing crawlers
[22:47:12] rubycoder37: I'm frustrated because I have to argue with people who aren't very bright all day
[22:51:41] enko: has joined #ruby
[22:54:20] acalycine: has joined #ruby
[22:54:26] enko: has joined #ruby
[22:58:45] mooe_: has joined #ruby
[23:00:28] mooe_: Is it okay to have a class that only has class methods? Or would it be better to do a singleton
[23:01:15] elomatreb: Matter of opinion probably, technically there's nothing wrong with that
[23:03:08] mooe_: Cool. Thanks elomatreb
[23:05:12] rgr: has joined #ruby
[23:05:20] bvcosta: has joined #ruby
[23:05:29] charliesome: has joined #ruby
[23:05:58] thinkpad: has joined #ruby
[23:06:25] elomatreb: mooe_: FWIW the probably most popular ruby style guide recommends using modules if you only have class methods (but it's only a guide): https://github.com/bbatsov/ruby-style-guide#modules-vs-classes
[23:06:37] tcopeland: has joined #ruby
[23:06:47] ahrs: has joined #ruby
[23:10:42] mooe_: Ooh I didnt know you could call module methods outside the module. Thats what I want. Thanks!
[23:16:52] brett: has joined #ruby
[23:18:58] mtkd: has joined #ruby
[23:19:47] troulouliou_dev: has joined #ruby
[23:26:49] naprimer2: has joined #ruby
[23:27:43] jphase: has joined #ruby
[23:28:03] goyox86: has joined #ruby
[23:29:03] bmurt: has joined #ruby
[23:35:35] alveric1: has joined #ruby
[23:37:16] rrichardsr3: has joined #ruby
[23:56:38] orbyt_: has joined #ruby