<ox1eef_>
xit examples are generated in the report iirc, 'if false' would be harder to detect, most if not all the time I've seen them used with flaky specs, and whether or not it is ever fixed or just left there and forgotten about is 50/50 (at best).
Milos has quit [Client Quit]
Milos has joined #ruby
crespire1 has joined #ruby
crespire has quit [Killed (NickServ (GHOST command used by crespire1!~crespire@user/crespire))]
szkl has quit [Quit: Connection closed for inactivity]
<nona>
ox1eef_: so you either use xit (also always instead of pending) or you delete out-right?
gr33n7007h has quit [Ping timeout: 246 seconds]
gr33n7007h has joined #ruby
gr33n7007h has quit [Ping timeout: 246 seconds]
gr33n7007h has joined #ruby
caedmon has joined #ruby
<ox1eef_>
I personally never use it. But other people at $work do, and xit is most common.
CrazyEddy has quit [Ping timeout: 248 seconds]
CrazyEddy has joined #ruby
<johnjaye>
where are all these self-reflection methods located like instance_variable_get and what not
<KOTP>
They are defined on Object
<nona>
ox1eef_: so your own philosophy is to be 100% about keeping all tests working all the time. that is, even in a legacy environment with 1000s of tests and 1000s failing, you'd fix or delete every single one, before doing anything else?
desnudopenguino has joined #ruby
<gr33n7007h>
johnjaye: you can ask ruby :) method(:instance_variable_get).owner
<johnjaye>
> The Kernel module is included in class Object, so its methods are available in every Ruby object.
<johnjaye>
i see
<ox1eef_>
nona: I don't have any hard rules, but yeah, it is usually not good because it can become something that is never addressed.
<ox1eef_>
As long as there is a process or absolute intention to fix it in the future, no problem.
<nona>
ok, that sounds reasonable and nicely undogmatic :)
<nona>
thank your for sharing, ox1eef_ !
<ox1eef_>
+1
brokkoli_origin has quit [Ping timeout: 245 seconds]
brokkoli_origin has joined #ruby
<KOTP>
The method(:instance_variable_get).owner command may report Kernel, but it is defined at line 4399 in object.c
<KOTP>
Yes, definitely defined on Kernel as the source states.
_ht has joined #ruby
crespire1 has quit [Remote host closed the connection]
taupiqueur_shiny has quit [Remote host closed the connection]
reset has joined #ruby
<johnjaye>
basically it was in a thread about accessing private variables or something
<johnjaye>
and someone said it's not like java where you can have private variables and methods, in ruby with enough force you can break open any object and inspect it
perrierjouet has quit [Quit: WeeChat 4.0.3]
jmcantrell has joined #ruby
<ccooke>
adam12: I basically just like problem solving. I don't think I'd ever do a job with *no* coding, but humour aside I find a wide variety of problem *types* deeply satisfying in the end :-)
<adam12>
ccooke: Yes. I agree with that completely.
Linux_Kerio has quit [Read error: Connection reset by peer]
<ccooke>
if sometimes the problems I'm solving are to do with process and audit... well, someone has to do it. And better someone who understands the technical side and doesn't hate it.
m_antis has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
m_antis has joined #ruby
howdoi has joined #ruby
konsolebox has joined #ruby
shokohsc51080 has joined #ruby
shokohsc5108 has quit [Ping timeout: 245 seconds]
shokohsc51080 is now known as shokohsc5108
crespire has joined #ruby
infinityfye has quit [Quit: Leaving]
konsolebox has quit [Quit: Leaving]
caedmon has quit [Ping timeout: 246 seconds]
konsolebox has joined #ruby
c10l60 has quit [Ping timeout: 246 seconds]
c10l60 has joined #ruby
desnudopenguino has quit [Ping timeout: 245 seconds]
_ht has quit [Quit: _ht]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
willfish has quit [Ping timeout: 245 seconds]
otisolsen70 has quit [Quit: Leaving]
finsternis has joined #ruby
kiwi_36 has quit [Remote host closed the connection]
keypresser86 has joined #ruby
<johnjaye>
ah in ruby ?h is a string not a number
<johnjaye>
i wonder where that came from
<johnjaye>
where is String#% defined in the source code? i can't find it
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
<weaksauce>
it's a character literal syntax
ua_ has quit [Ping timeout: 246 seconds]
ua_ has joined #ruby
<KOTP>
The `String#%` is the String Format Method, and is defined in `string.c`, and I call it String Format, because around line 2359 where the definition is found, and around line 11942 it contains this line: `rb_define_method(rb_cString, "%", rb_str_format_m, 1);`
MalusVulgaris has joined #ruby
MalusVulgaris has quit [Client Quit]
<johnjaye>
ah cool, thanks
<johnjaye>
11887 for me
<KOTP>
Yep, depends on the version specifically...
Pixi has quit [Ping timeout: 245 seconds]
Pixi has joined #ruby
bougyman_ is now known as bougyman
howdoi has quit [Quit: Connection closed for inactivity]