dalan03822833508 has quit [Quit: dalan03822833508]
dalan03822833508 has joined #ruby
konsolebox has quit [Ping timeout: 244 seconds]
TomyWork has joined #ruby
<pounce>
nakilon: so true bestie
antranigv has quit [Ping timeout: 252 seconds]
grenierm has quit [Ping timeout: 240 seconds]
antranigv has joined #ruby
mange has quit [Quit: Zzz...]
cappy has joined #ruby
cappy has quit [Quit: Leaving]
konsolebox has joined #ruby
Inline has joined #ruby
denvermullets has joined #ruby
denvermullets has quit [Ping timeout: 248 seconds]
denvermullets has joined #ruby
<nakilon>
why is "_spec" a suffix, not prefix? I want to explain my coworkers that there is no need to name files like ./spec/invoice/invoice_edit_spec.rb, because the "invoice" part is already in the path, and that conceptually any file has only a full path, and the "/" is just a "_" that was changed to hide things for a nice tree view; if they were using
<nakilon>
cloud storage they would know that "/" is just a character in a full filename, but they didn't; so I would tell them that "look, / is just _, i.e. for example, we had multiple spec_*.rb files, and so then decided to make a directory called 'spec' by replacing _ with /..." -- but spec isn't a prefix, it's a suffix, and I now wonder why
hwpplayer1 has joined #ruby
jmjl has quit [Ping timeout: 272 seconds]
Linux_Kerio has quit [Ping timeout: 248 seconds]
denvermullets has quit [Ping timeout: 244 seconds]
denvermullets has joined #ruby
denvermullets has quit [Ping timeout: 272 seconds]
denvermullets has joined #ruby
<Caius>
nakilon: I would guess it's so you can mix the spec and ruby files in the same folder, eg if you don't have many. Also lets you put helper files in the spec folder without them being run
<nakilon>
indeed the spe_helper.rb name would conflict
<nakilon>
but then just rename to helper.rb
vnpower_ has quit [Ping timeout: 265 seconds]
xdminsy has quit [Ping timeout: 272 seconds]
vnpower_ has joined #ruby
<nakilon>
OOP question: https://dpaste.com/6Y6LGAXZZ#wrap is it possible to define the "get_x" method in such way that I won't use the "M" identifier explicitly? because if I do self.class, I get C, not M ..(
<nakilon>
the goal is to have a single owner of a "set" method and multiple classes that inherit a method that would access the attribute that was set there
cmburn has joined #ruby
Inline has quit [Read error: Connection reset by peer]
chen_ has quit [Quit: No Ping reply in 180 seconds.]
chen has joined #ruby
konsolebox has quit [Ping timeout: 250 seconds]
cmburn has quit [Quit: Client closed]
konsolebox has joined #ruby
jmjl has joined #ruby
konsolebox has quit [Ping timeout: 248 seconds]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
patrick has quit [Remote host closed the connection]
patrick_ is now known as patrick
Inline has quit [Read error: Connection reset by peer]
aesthetikx has quit [Ping timeout: 252 seconds]
denvermullets has quit [Ping timeout: 244 seconds]
denvermullets has joined #ruby
Demi has joined #ruby
sam113101 has quit [Quit: WeeChat 4.4.4]
aesthetikx has joined #ruby
sam113101 has joined #ruby
patrick_ has joined #ruby
patrick has joined #ruby
patrick has quit [Changing host]
patrick_ is now known as patrick
patrick_ has joined #ruby
patrick has quit [Remote host closed the connection]
patrick_ is now known as patrick
patrick_ has joined #ruby
patrick has joined #ruby
patrick has quit [Changing host]
patrick_ is now known as patrick
patrick_ has joined #ruby
Inline has joined #ruby
patrick__ has joined #ruby
patrick__ has quit [Changing host]
patrick__ has joined #ruby
patrick is now known as Guest3474
Guest3474 has quit [Killed (calcium.libera.chat (Nickname regained by services))]
patrick__ is now known as patrick
dionysus69 has joined #ruby
saulosilva has joined #ruby
dionysus69 has quit [Quit: dionysus69]
dionysus69 has joined #ruby
koenraad_ is now known as koenraad
<havenwood>
nakilon: To clarify, the docs do *not* say String#concat returns a new String. It concatenates to `self` just like String#<< does.
<havenwood>
It returns `self` as documented.
saulosilva has quit [Quit: Client closed]
denvermullets has quit [Ping timeout: 264 seconds]
hwpplayer1 has quit [Remote host closed the connection]
hwpplayer1 has joined #ruby
brw has quit [Read error: Connection reset by peer]
brw has joined #ruby
<o0x1eef>
nakilon: :-)
denvermullets has joined #ruby
denvermullets has quit [Remote host closed the connection]
denvermullets has joined #ruby
koenraad has left #ruby [#ruby]
denvermullets has quit [Ping timeout: 264 seconds]
patrick has quit [Ping timeout: 248 seconds]
patrick_ is now known as patrick
patrick_ has joined #ruby
patrick_ has quit [Changing host]
patrick_ has joined #ruby
patrick is now known as Guest7306
Guest7306 has quit [Killed (silver.libera.chat (Nickname regained by services))]
patrick_ is now known as patrick
patrick_ has joined #ruby
cahoots_ has joined #ruby
<weaksauce>
nakilon because spec/**/*_spec.rb is an easy way to gather all the correct files to be run as tests? also invoice_edit_spec.rb can be nice because you know inside your editor that it's related to the invoice by the filename directly. having edit_spec open in a few different tabs can be confusing. kinda like having many edit.html.erb files open is.
denvermullets has joined #ruby
xdminsy has joined #ruby
user71 has quit [Quit: Leaving]
denvermullets has quit [Remote host closed the connection]
chen has quit [Quit: No Ping reply in 180 seconds.]
chen has joined #ruby
Sampersand has joined #ruby
nirvdrum_ has joined #ruby
xdminsy has quit [Read error: Connection reset by peer]
xdminsy has joined #ruby
cahoots_ has quit [Quit: Client closed]
xdminsy has quit [Read error: Connection reset by peer]
mange has joined #ruby
xdminsy has joined #ruby
hwpplayer1 has quit [Quit: See you later Take care]
Linux_Kerio has quit [Ping timeout: 248 seconds]
nirvdrum_ has quit [Quit: nirvdrum_]
nirvdrum_ has joined #ruby
dionysus69 has quit [Ping timeout: 252 seconds]
nirvdrum_ has quit [Quit: nirvdrum_]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
nirvdrum_ has joined #ruby
nirvdrum_ has quit [Quit: nirvdrum_]
grenierm has joined #ruby
xdminsy has quit [Read error: Connection reset by peer]