#ruby - 19 April 2019
« Back 1 day Forward 1 day »
[02:29:13] rubydoc: # => [:<=>, :<=, :>=, :==, :===, :<, :>, :=~, :!~, :!, :!=] (https://carc.in/#/r/6r2z)
[10:14:11] IGnorAND: I am using a namespace in my class, and am using Rails.application.credentials. but it seems to prefix it with my custom namespace.
[10:16:13] leftylink: while I would have thought you can say `::Rails`, I would also have equally thought it was not necessary. apparently there is something I don't understand in this matter.
[10:25:28] leftylink: hmm. there must be some subtlety in the situation, such that the simple situation is not a good analogy for it anymore
[16:28:58] Eindoofus: hi, can anyone explain this: current_file = open(input_file); current_file.gets.chomp
[16:34:41] Eindoofus: ah, makes sense. so current_file.gets.chomp is basically like current_file.readline?
[19:12:33] keden: Hi folks, does anyone know if it's possible to get a code file loaded in memory but deleted otherwise?
[19:13:31] keden: I have a pry session running which was initiated with a `binding.pry` in a file I have accidentally deleted.
[19:14:54] Zarthus: (i'm asking alternative questions because recovering it from memory is gonna be a PITA, I'd wager)
[19:32:59] phaul: in pry can you do $ method name like Class#method_name ? at least that would get back something
[19:36:41] fowlduck: so, I'm working on a gem that needs to be compatible with multiple versions of rails and multiple versions of ruby. I could build everything out to enable that myself, but is there a project to make that combination easier?
[19:53:59] fowlduck: keden: hmm yeah I guess I'll give that a go and use something to switch ruby versions automatically
[21:15:22] IGnorAND: anyone know how to get the values of bin/rails credentials:view in a poro? Rails.application.credentials.foo will access the value of foo in rails
[21:27:52] adam12: fowlduck: I don't test against Rails but I set this up recently: Ruby + CircleCI (Docker) for multiple library testing. Maybe you could do something comparable? https://github.com/adam12/friendly_numbers/blob/master/.circleci/config.yml
[23:24:56] unixabg: Greetings, I need a simple way to open a connection to rtsp stream, grab an image, and close stream. I am new to rtsp and would appreciate