havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.7.1, 2.6.6, 2.5.8: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select Ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
<mydog2> aha someone does recall it!
<mydog2> just crious
<mydog2> curious
jenrzzz has joined #ruby
DaRock has joined #ruby
mossplix has joined #ruby
ChmEarl has quit [Quit: Leaving]
tau has joined #ruby
tau has quit [Changing host]
tau has joined #ruby
uplime is now known as uptime
mossplix has quit [Ping timeout: 265 seconds]
uptime is now known as uplime
mossplix has joined #ruby
r29v has quit [Quit: r29v]
ur5us has quit [Ping timeout: 240 seconds]
<mydog2> curl -L get.rvm.io | bash -s stable
<mydog2> is this required to setup ruby/rails ??
wymillerlinux has joined #ruby
<havenwood> mydog2: No, it isn't required. It's one way of many to install Ruby.
<havenwood> mydog2: RVM is a popular Ruby installer and switcher.
<havenwood> mydog2: You could alternatively use CentOS Ruby (if that Ruby version matches your need) or use another installer and switcher.
<bougyman> rbenv is another option.
<havenwood> chruby is yet another.
<bougyman> or using the system ruby, yeah.
<havenwood> or asdf.
<bougyman> or Docker
<bougyman> (or podman)
* havenwood if it was a modern Ruby on CentOS, I'd say FullStaq Ruby Server Edition: https://github.com/fullstaq-labs/fullstaq-ruby-server-edition/blob/main/README.md
<havenwood> Or just build from source.
<havenwood> Set PATH, GEM_HOME, GEM_PATH, and off to the races.
ur5us has joined #ruby
_whitelogger has joined #ruby
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
oddp has quit [Ping timeout: 258 seconds]
s2013 has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
duderonomy has quit [Ping timeout: 264 seconds]
duderonomy has joined #ruby
lucasb has quit [Quit: Connection closed for inactivity]
chris__ has joined #ruby
gix has quit [Ping timeout: 256 seconds]
apteryx has joined #ruby
<apteryx> hello! is 'gem build some.gemspec' still the thing to use to build a GEM in 2020?
<apteryx> is is 'rake build' now the standard?
<apteryx> or is*
<apteryx> I'm seeing problems when using 'gem build' because it doesn't seem to honor dependent tasks as defined in a Rakefile
<bougyman> I thought just 'rake' was the standard.
<bougyman> run test + build gem
<apteryx> OK! Do every gem know how to make use of rake?
<apteryx> (or the other way around?)
BH23 has quit [Ping timeout: 264 seconds]
bocaneri is now known as Sauvin
braincrash has quit [Quit: bye bye]
<havenwood> apteryx: `gem build` is standard since not all gems have a Rakefile.
<havenwood> apteryx: Many do have a Rakefile, but many don't.
<havenwood> And those that have a Rakefile might not support the Bundler Rake tasks.
braincrash has joined #ruby
BH23 has joined #ruby
BH23 has quit [Ping timeout: 260 seconds]
tau has quit [Ping timeout: 246 seconds]
BH23 has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MuffinPimp has quit [Quit: Goodbye.]
donofrio_ has quit [Remote host closed the connection]
wymillerlinux has quit [Ping timeout: 240 seconds]
ivan` has joined #ruby
ivan` has left #ruby [#ruby]
jetchisel has quit [Ping timeout: 240 seconds]
MuffinPimp has joined #ruby
chris__ has quit [Remote host closed the connection]
envex has quit []
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
s2013 has joined #ruby
s2013 has quit [Ping timeout: 256 seconds]
ur5us has quit [Ping timeout: 240 seconds]
jetchisel has joined #ruby
cd has quit [Quit: cd]
mossplix has quit [Remote host closed the connection]
mossplix has joined #ruby
mossplix has quit [Remote host closed the connection]
spiette has quit [Ping timeout: 256 seconds]
reaVer has quit [Remote host closed the connection]
reaVer has joined #ruby
cgfbee has joined #ruby
chris__ has joined #ruby
chris__ has quit [Ping timeout: 246 seconds]
ellcs1 has joined #ruby
ellcs1 has quit [Ping timeout: 260 seconds]
alexherbo2 has joined #ruby
imode has quit [Ping timeout: 240 seconds]
ldepandis has joined #ruby
skx86 has quit [Quit: Connection closed for inactivity]
alexherbo26 has joined #ruby
alexherbo2 has quit [Ping timeout: 246 seconds]
alexherbo26 is now known as alexherbo2
apteryx is now known as Guest39931
Guest39931 has quit [Killed (card.freenode.net (Nickname regained by services))]
apteryx has joined #ruby
imode has joined #ruby
<extrowerk> Will it bend? http://0x0.st/iJWF.png
stdedos has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
vondruch_ has joined #ruby
ur5us has joined #ruby
chapati has joined #ruby
vondruch has quit [Ping timeout: 256 seconds]
vondruch_ is now known as vondruch
chapati has left #ruby [#ruby]
kinduff has quit [Read error: Connection reset by peer]
Keltia has joined #ruby
Keltia has quit [Changing host]
Keltia has joined #ruby
chapati has joined #ruby
imode has quit [Ping timeout: 258 seconds]
jenrzzz has quit [Ping timeout: 246 seconds]
mossplix has joined #ruby
sarna has joined #ruby
mossplix has quit [Remote host closed the connection]
jenrzzz has joined #ruby
oddp has joined #ruby
chapati has quit [Remote host closed the connection]
chalkmonster has joined #ruby
mossplix has joined #ruby
mossplix has quit [Ping timeout: 246 seconds]
ram_ has joined #ruby
<ram_> hi @all! I need a hint for being able to write chains of methods of a user-defint class. something like 'myObj=MyClas.new; myNewObj = myObj.methA.methB.methC'. I know I could call the constructor of MyClass at the end of each meth. but is this how it is supposed to be done?
jenrzzz has quit [Ping timeout: 260 seconds]
kinduff has joined #ruby
<sarna> ram_: each method should return the object
<ram_> yh, but I thouht there might be a ruby-way to do this (besides calling the constructor explicitly)
<ram_> yh, but I thought there might be a ruby-way to do this (besides calling the constructor explicitly)
<sarna> no, that's the ruby way, as far as I know
<ram_> tbh I don't exactly know why I expect something different. I just don;t want to walk the wrong path and get some feedback BEFORE start coding
<ram_> thx @sarna
<sarna> you're welcome
<extrowerk> configure stage finished, lets compile ruby on Blackberry 10 OS.
<extrowerk> meh
<extrowerk> undefined reference to "howmany"
<mydog2> basic question... i install ruby... dnf install ruby
<mydog2> does this process get me "gem" ??
jenrzzz has joined #ruby
<mydog2> or.. does dnf install rubygems <<< get gem
TCZ has joined #ruby
cliluw has quit [Read error: Connection reset by peer]
cliluw has joined #ruby
donofrio has joined #ruby
buckworst has joined #ruby
<sarna> mydog2: it's better to use something other than OS version of ruby (if you can, of course)
<sarna> chruby, rbenv and RVM are the most popular ones
<sarna> in alphabetical order ;)
<sarna> s/ones/ruby version managers
ur5us has quit [Ping timeout: 260 seconds]
buckworst has quit [Quit: WeeChat 2.8]
jenrzzz has quit [Ping timeout: 240 seconds]
mossplix has joined #ruby
TCZ has quit [Quit: Leaving]
jenrzzz has joined #ruby
<phaul> ram_: when you say calling the constructor explicitly that confuses me. There are methods in stdlib that try to do chaining like this, but they would return self. No new object creation happens, as the point would be that the method chain operates on the same object. Like [] << 'a' << 'b' << 'c'. If you return a new object each time, do those methods depend on the object at all? Does the instance
<phaul> state have any significance?
<mydog2> sarna, what you state is different than what others have said
<mydog2> and this is a simple test anyhow/ but thanks
mossplix has quit [Ping timeout: 240 seconds]
<phaul> anyways even if the answer is yes, seems like the subsequent objects are not referenced and would be just garbage collected, so you could really modify a single object in place
<phaul> s/subsequent/everything but last/
jenrzzz has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
drincruz has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
<sarna> mydog2: sorry for not answering your question directly before. on my system (arch linux) ruby is separated into ruby, ruby-irb (provides irb command) and rubygems (provides gem command)
<sarna> should be similar on redhat distros, not entirely sure though
drincruz has quit [Ping timeout: 240 seconds]
<mydog2> sarna, hey no prob. thanks. yep.. pretty much the same. i installed and have ruby/gem/node
<mydog2> i'm looking to test an older app from github via apache
<mydog2> so, I'm trudging through the process
<sarna> haha, getting old apps to work, my least favorite sport
<ram_> phaul: u r right - intermediate objects might not be best option. The library I am working on provides python and ruby implementation and the python one creates new objects for each methods call
<ram_> phaul: I need to call all this in method_missing btw
TCZ has joined #ruby
Besnik_b has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
ram_ has quit [Quit: leaving]
TCZ has quit [Read error: Connection reset by peer]
TCZ has joined #ruby
Try2Code has joined #ruby
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
troulouliou_div2 has quit [Quit: Leaving]
ldepandis has quit [Ping timeout: 265 seconds]
drincruz has joined #ruby
drincruz has quit [Ping timeout: 260 seconds]
burningserenity has joined #ruby
TCZ has quit [Quit: Leaving]
drincruz has joined #ruby
stryek has joined #ruby
bmurt has joined #ruby
dionysus69 has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
burningserenity has quit [Quit: Leaving.]
burningserenity has joined #ruby
mossplix has joined #ruby
Uncle_Cid has joined #ruby
UncleCid has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
<extrowerk> So i am stuck here during compiling ruby on QNX: http://0x0.st/iJJ3.txt
<extrowerk> Can somebody tell me, where 'howmany' should be declared?
<adam12> extrowerk: Are you using autoconf on QNX? (you ran ./configure before make?)
<extrowerk> ofc.
<extrowerk> This is however not simple QNX, but Blackberry10 (based on QNX, calls itself as QNX8, while i think it is actually QNX6.x).
Jonopoly has joined #ruby
<extrowerk> uname returns: QNX 8.0.0 2018/02/21-10:54:19EST MSM8974AA_ES1.1_PVS13SB1_WINDERMEREEMEA_Rev:05 armle
<adam12> extrowerk: Not sure what I can suggest, since this might not be the only bug you encounter, but howmany is generally a macro. Maybe you can patch thread.c to add it.
<extrowerk> will try. thanks nevertheless
<adam12> extrowerk: `#define howmany(n,d) (((n)+((d)-1))/(d))`
<extrowerk> maybe our gcc is just too old to handle that, idk. I have no prior experience with gcc 4.6
<extrowerk> but hey, at least it is not gcc2
<adam12> extrowerk: Possibly. I'm not sure when it was introduced.
gavlee has quit []
<adam12> extrowerk: It might ship with QNX too; I know Linux ships with one in param.h. But I think gcc _does_ define it if it's missing, using a #ifndef
execat[m] has quit [Quit: killed]
finn[m] has quit [Quit: killed]
turt2live has quit [Quit: killed]
sepp2k has quit [Quit: killed]
hsiktas[m] has quit [Quit: killed]
doug[m]1 has quit [Quit: killed]
Vagabond[m] has quit [Quit: killed]
Hanma[m] has quit [Quit: killed]
batisi[m] has quit [Quit: killed]
prkn8[m] has quit [Quit: killed]
Manchotix[m] has quit [Quit: killed]
tranch[m] has quit [Quit: killed]
chris___ has joined #ruby
simi[m] has quit [Quit: killed]
newalexandria[m] has quit [Quit: killed]
gavlee has joined #ruby
<extrowerk> adam12, i still trying, thanks for the input
thecoffemaker has quit [Ping timeout: 254 seconds]
duderonomy has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Ping timeout: 265 seconds]
banisterfiend has joined #ruby
chris___ has quit [Ping timeout: 256 seconds]
duderonomy has joined #ruby
thecoffemaker has joined #ruby
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
sarna has quit [Quit: Connection closed]
sriehl has joined #ruby
sriehl has quit [Client Quit]
sriehl has joined #ruby
sriehl has left #ruby [#ruby]
sepp2k has joined #ruby
mossplix has quit [Remote host closed the connection]
jenrzzz has joined #ruby
ellcs1 has joined #ruby
orbyt_ has joined #ruby
ellcs1 has quit [Ping timeout: 240 seconds]
arekushi has quit [Quit: Gateway shutdown]
pgib has joined #ruby
mossplix has joined #ruby
mossplix has quit [Ping timeout: 244 seconds]
greengriminal has joined #ruby
skx86 has joined #ruby
hsiktas[m] has joined #ruby
execat[m] has joined #ruby
tranch[m] has joined #ruby
doug[m]1 has joined #ruby
turt2live has joined #ruby
newalexandria[m] has joined #ruby
Hanma[m] has joined #ruby
batisi[m] has joined #ruby
finn[m] has joined #ruby
Vagabond[m] has joined #ruby
simi[m] has joined #ruby
haylon[m] has joined #ruby
prkn8[m] has joined #ruby
Manchotix[m] has joined #ruby
s_ has quit [Ping timeout: 260 seconds]
s_ has joined #ruby
arekushi has joined #ruby
romanicus has joined #ruby
romanicus has quit [Client Quit]
greengriminal has quit [Quit: Leaving]
DaRock has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Jonopoly has quit [Ping timeout: 240 seconds]
rippa has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wmoxam_ is now known as wmoxam
wmoxam has quit [Changing host]
wmoxam has joined #ruby
ChmEarl has joined #ruby
pgib has quit [Ping timeout: 244 seconds]
jenrzzz has quit [Ping timeout: 246 seconds]
sjt003_ has quit [Remote host closed the connection]
sjt003_ has joined #ruby
dualfade has joined #ruby
jinie has quit [Quit: ZNC 1.6.1 - http://znc.in]
cd has joined #ruby
leitz has joined #ruby
howdoi has joined #ruby
<leitz> havenwood, spent a little time this morning on Jeremy's RubyConf 2014 Roda video. Will try it out.
<adam12> leitz: I use it in a lot of projects. I enjoy it.
alexherbo20 has joined #ruby
<adam12> leitz: Some people have a hard time understanding it, until they realize it's just a large conditional in reality.
<adam12> leitz: I have a plugin for logging that can help debugging, if you're trying to figure out why something may have matched or not. It's beta but you can check it out: https://github.com/adam12/roda-enhanced_logger
<leitz> adam12, I'm not a "webdev" by trade, so a lot of it is new to me. I liked Sinatra because it was much simpler.
alexherbo2 has quit [Ping timeout: 256 seconds]
alexherbo20 is now known as alexherbo2
* leitz bookmarks that logger.
<adam12> leitz: There's nothing wrong with Sinatra.
<adam12> leitz: Sinatra has a few issues for re-use with Roda does indeed solve.
<leitz> adam12, I like the performance stats, even if I don't need them yet. And the conditional routing may solve a problem I may run into, with the project I'm putting together.
* havenwood goes to star it, realizes already starred
<adam12> havenwood: Yeah we talked about it briefly a while ago :)
* leitz stars it, since havenwood couldn't add one. :)
SeepingN has joined #ruby
jenrzzz has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.8]
chris___ has joined #ruby
jinie has joined #ruby
rafadc_ has joined #ruby
rafadc has quit [Ping timeout: 256 seconds]
s_ has quit [Ping timeout: 260 seconds]
s_ has joined #ruby
sagax has quit [Ping timeout: 260 seconds]
gigetoo has quit [Ping timeout: 258 seconds]
joast has quit [Read error: Connection reset by peer]
pppktz has quit [Ping timeout: 256 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gigetoo has joined #ruby
bmurt has joined #ruby
funnel has quit [Ping timeout: 258 seconds]
funnel has joined #ruby
pppktz has joined #ruby
SeepingN has joined #ruby
pppktz has quit [Ping timeout: 246 seconds]
pppktz has joined #ruby
bdonnahue1 has joined #ruby
<bdonnahue1> hey all, i am not a ruby developer. I am trying to install ruby and install a ruby app (redmine)
<bdonnahue1> i was wondering if it is possible to have an existing system output all of its installed gems and then have a new system install all those gems and their version
<bdonnahue1> does this concept exist?
davispuh has joined #ruby
<deimos_> gem list | ssh target "gem install"
<deimos_> or something like that
ellcs1 has joined #ruby
pgib has joined #ruby
<pgib> Hi. I'm having some trouble with my bundler environment. I'm no Ruby expert, so I appreciate the help. Here is a synopsis w/ some shell transcripts: https://dpaste.org/V5qw Thanks
burningserenity has quit [Quit: Leaving.]
orbyt_ has joined #ruby
chris___ has quit [Remote host closed the connection]
<kevinsjoberg> I'm seeing some really weird behaviour in Ruby 2.2.3. Running "VäXJö".upcase in IRB just return the original string, it does not upcase it. Even though encoding is set to UTF-8 and both the internal and external encoding is UTF-8. Is this a bug?
<havenwood> bdonnahue1: gem list | cut -d" " -f1 | tr "\n" " "
<kevinsjoberg> Alright, looks like previous versions of Ruby did not have Unicode-aware casing. See https://bugs.ruby-lang.org/issues/11284.
<havenwood> deimos_: Rails is what tells Bundler about the `production` environment.
<havenwood> deimos_: Your `application.rb` typically loads the right Rails.env for your Bundler groups.
<havenwood> deimos_: Does it work in the context of Rails?: bundle exec rails console
joast has joined #ruby
<havenwood> kevinsjoberg: Yeah, that was a nice improvement. There are also options now.
segy has quit [Excess Flood]
<kevinsjoberg> havenwood: You learn something new everyday. 10+ years of Ruby, didn't actually no this.
<kevinsjoberg> know*
<havenwood> kevinsjoberg: It wasn't added until Ruby 2.4. :)
segy has joined #ruby
<havenwood> bdonnahue1: RVM has such features or you can manually do it yourself pretty easily.
dionysus69 has quit [Ping timeout: 258 seconds]
colins has joined #ruby
colins has quit [Client Quit]
<havenwood> bdonnahue1: Gem::Specification.latest_specs.map(&:name).join(' ')
ivan` has joined #ruby
ivan` has left #ruby [#ruby]
alexherbo28 has joined #ruby
alexherbo2 has quit [Ping timeout: 264 seconds]
alexherbo28 is now known as alexherbo2
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mossplix has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Sauvin has quit [Remote host closed the connection]
mossplix has quit [Read error: Connection reset by peer]
dionysus69 has joined #ruby
mossplix has joined #ruby
nofxx_ has quit [Quit: Leaving]
jenrzzz has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
s_ has quit [Ping timeout: 240 seconds]
haylon[m] has left #ruby ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
chris__ has joined #ruby
s_ has joined #ruby
lypsis_ has quit [Quit: ZNC - https://znc.in]
lypsis has joined #ruby
greypack has quit [Quit: All your IRC are belong to ZNC]
jwr has joined #ruby
chris__ has quit [Ping timeout: 246 seconds]
jwr has left #ruby [#ruby]
greypack has joined #ruby
sagax has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
vondruch has quit [Client Quit]
vondruch has joined #ruby
troulouliou_div2 has joined #ruby
chalkmonster has joined #ruby
mossplix has quit [Remote host closed the connection]
dhollinger has quit [Quit: WeeChat 2.3]
doomlist3 has joined #ruby
<doomlist3> obj.method= what's = ?
<doomlist3> where are some docs on those =
<havenwood> doomlist3: Syntactic sugar.
<havenwood> doomlist3: You can use it like: method = 42
<havenwood> doomlist3: Instead of: method=(42)
<doomlist3> method is a variable as it's not attached to an object
<doomlist3> where could it make sense in a more lucid code
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
vondruch has quit [Client Quit]
<doomlist3> obj.method? returns true or false so obj.method=(42)
<havenwood> doomlist3: A shorthand for that whole class is: class Foo; attr_accessor :doomlist3; end
gix has joined #ruby
doomlist3 has quit [Read error: Connection reset by peer]
chalkmonster has quit [Quit: WeeChat 2.8]
doomlist3 has joined #ruby
alexherbo21 has joined #ruby
alexherbo2 has quit [Ping timeout: 246 seconds]
alexherbo21 is now known as alexherbo2
imode has joined #ruby
Mia has quit [Ping timeout: 260 seconds]
vondruch has joined #ruby
vondruch has quit [Client Quit]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
alexherbo22 has joined #ruby
alexherbo2 has quit [Ping timeout: 258 seconds]
dhollinger has joined #ruby
<doomlist3> in function definition def name=(x)
<doomlist3> so that syntax applies in def or after that while assignment
alexherbo2 has joined #ruby
gix has quit [Ping timeout: 260 seconds]
alexherbo22 has quit [Ping timeout: 260 seconds]
sjt003_ has quit [Ping timeout: 260 seconds]
s_ has quit [Ping timeout: 240 seconds]
gix has joined #ruby
vondruch has joined #ruby
_aeris_ has quit [Remote host closed the connection]
_aeris_ has joined #ruby
s_ has joined #ruby
<leftylink> I guess https://docs.ruby-lang.org/en/master/syntax/methods_rdoc.html#label-Method+Names is where it is documented
<leftylink> let me review the logs, I seem to remember someone had a disagreement with me about what documentation is though.
doomlist3 has quit [Ping timeout: 256 seconds]
jetchisel has joined #ruby
vondruch has quit [Client Quit]
jinie has quit [Quit: ZNC 1.6.1 - http://znc.in]
<leftylink> 2020-06-11 19:30:09 < ncakerlist> that is not p 's documentation it's not in english unlike https://www.rubyguides.com/2018/10/puts-vs-print/
<leftylink> that is the person who had a disagreement with me about what documentation is
<leftylink> see, now you see I am not completely forgetful of what goes on in this channel
<leftylink> I remember people from time to time
sjt003_ has joined #ruby
thecoffemaker has quit [Read error: Connection reset by peer]
dionysus69 has quit [Ping timeout: 240 seconds]
thecoffemaker has joined #ruby
chris__ has joined #ruby
Raboo has quit [Ping timeout: 260 seconds]
jinie has joined #ruby
chris__ has quit [Ping timeout: 264 seconds]
mheld has joined #ruby
s_ has quit [Ping timeout: 240 seconds]
vondruch has joined #ruby
s_ has joined #ruby
TCZ has joined #ruby
ur5us has joined #ruby
ryzokuken has quit []
ellcs1 has quit [Ping timeout: 260 seconds]
sjt003_ has quit [Quit: Leaving]
rafadc_ has quit [Quit: ZNC - https://znc.in]
rafadc has joined #ruby
<phaul> &ri Hash::new, leftylink
<phaul> just for you ;)
reaVer has quit [Remote host closed the connection]
lazarus1 has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TCZ has quit [Quit: Leaving]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Lazarus2 has joined #ruby
lazarus1 has quit [Ping timeout: 265 seconds]
TCZ has joined #ruby
schne1der has quit [Ping timeout: 240 seconds]
venmx has joined #ruby
orbyt_ has joined #ruby
rafadc has quit [Ping timeout: 264 seconds]
claw has quit [Read error: Connection reset by peer]
bdonnahue1 has quit [Read error: Connection reset by peer]
bdonnahue1 has joined #ruby
bdonnahue1 has quit [Client Quit]
Lazarus2 has quit [Quit: Leaving]
jinie has quit [Ping timeout: 264 seconds]
UncleCid has joined #ruby
s_ has quit [Ping timeout: 244 seconds]
s_ has joined #ruby
claw has joined #ruby
UncleCid has quit [Quit: Leaving]
bmurt has joined #ruby
jinie has joined #ruby
<leftylink> the first time I ever saw Rubocop ask me to change it to ., I was surprised since :: was how it was written in the docs. however, I can understand where they're coming from if the idea is to use :: for nesting modules or classes withn each other and all methods should be with .
<leftylink> it makes sense
chris___ has joined #ruby
<leftylink> I now see, after experimenting, tha tyou can also do it the other way
<leftylink> &>> class A; def b; :hello end end; A.new::b
<rubydoc> # => :hello (https://carc.in/#/r/9clk)
<leftylink> but nobody would ever do that
<leftylink> because then we're using :: for too many things, and it's too hard to type for something used so often
jenrzzz has quit [Ping timeout: 265 seconds]
TCZ has quit [Quit: Leaving]
chris___ has quit [Ping timeout: 258 seconds]
tosaraja has quit [Quit: No Ping reply in 180 seconds.]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tosaraja has joined #ruby
jenrzzz has joined #ruby
bambanx has joined #ruby
stryek has quit [Quit: Connection closed for inactivity]
troulouliou_div2 has quit [Quit: Leaving]
postmodern has joined #ruby
thecoffemaker has quit [Ping timeout: 240 seconds]
leitz has quit [Quit: Leaving]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leah2 has quit [Ping timeout: 260 seconds]
Garb0 has joined #ruby
Garb0 has quit [Max SendQ exceeded]
drincruz has quit [Ping timeout: 240 seconds]