Swyper has quit [Remote host closed the connection]
cb_ has joined #ruby
impermanence has quit [Quit: Connection closed]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
elxbarbosa has quit [Remote host closed the connection]
davispuhh has joined #ruby
davispuh has quit [Ping timeout: 240 seconds]
davispuhh has quit [Excess Flood]
davispuh has joined #ruby
alfiemax has joined #ruby
Technodrome has joined #ruby
impermanence has joined #ruby
chouhoulis has joined #ruby
ChmEarl has joined #ruby
ellcs1 has joined #ruby
znz_jp has quit [Ping timeout: 260 seconds]
ellcs1 has quit [Ping timeout: 240 seconds]
infernix has joined #ruby
Rudd0 has joined #ruby
elcuervo has quit [Read error: Connection reset by peer]
elcuervo has joined #ruby
davispuhh has joined #ruby
davispuh has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
banisterfiend has joined #ruby
Arkantos has joined #ruby
Arkantos has quit [Client Quit]
Arkantos has joined #ruby
GankMove has quit [Read error: Connection reset by peer]
duderonomy has quit [Remote host closed the connection]
duderonomy has joined #ruby
cliluw has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
bmurt has joined #ruby
banisterfiend has joined #ruby
bmurt has quit [Ping timeout: 256 seconds]
Mia has quit [Read error: Connection reset by peer]
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
gitter1234 has joined #ruby
jenrzzz has joined #ruby
akem has quit [Ping timeout: 260 seconds]
akem has joined #ruby
akem_ has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
akem has quit [Ping timeout: 240 seconds]
ua has joined #ruby
dionysus69 has quit [Remote host closed the connection]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alfiemax has quit [Remote host closed the connection]
bmurt has joined #ruby
trevoke has joined #ruby
bmurt has quit [Client Quit]
jenrzzz has joined #ruby
<trevoke>
Hi folks, I'm trying to play with RBS - I just installed ruby3 preview from source, and wrote a very simple program (one class, one method, returns a string) and created a .rbs file in the same directory. And I'm not totally sure how to run the type checker from here?
<trevoke>
I expect it to be something like `rbs -I myfile.rb validate` but .. I'm not sure, and I don't know where to go find the documentation. The rbs repo on github doesn't seem to have the answer (or I didn't find the right documentation)
jenrzzz has quit [Ping timeout: 265 seconds]
w10x12 has joined #ruby
weaksauce has joined #ruby
ua_ has joined #ruby
ua has quit [Ping timeout: 260 seconds]
Mia has quit [Ping timeout: 260 seconds]
gueorgui_ has joined #ruby
gueorgui has quit [Ping timeout: 260 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has joined #ruby
brendan- has joined #ruby
cnsvc has joined #ruby
Mia has joined #ruby
Mia has joined #ruby
orbyt_ has joined #ruby
banisterfiend has joined #ruby
mnathani has joined #ruby
imode has joined #ruby
BH23 has joined #ruby
banisterfiend has quit [Ping timeout: 240 seconds]
Caerus has quit [Ping timeout: 265 seconds]
Caerus has joined #ruby
cd has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TCZ has joined #ruby
gitter1234 has quit [Quit: Connection closed for inactivity]
<apotheon>
trevoke: I'm not entirely clear what rbs is supposed to do.
<apotheon>
I read most of the README.
<apotheon>
still not sure
alexherbo2 has quit [Ping timeout: 256 seconds]
va5c0 has joined #ruby
va5c0 has quit [Client Quit]
va5c0 has joined #ruby
cb_ has quit [Ping timeout: 240 seconds]
va5c0 has quit [Quit: WeeChat 2.9]
ellcs1 has joined #ruby
va5c0 has joined #ruby
Mia has quit [Read error: Connection reset by peer]
TCZ has quit [Quit: Leaving]
jerome___ has joined #ruby
va5c0 has quit [Quit: WeeChat 2.9]
va5c0 has joined #ruby
gix has joined #ruby
jeromelanteri has quit [Ping timeout: 246 seconds]
gix- has quit [Ping timeout: 265 seconds]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jeromelanteri has quit [Ping timeout: 260 seconds]
weaksauce has joined #ruby
<trevoke>
apotheon: Based on that blog entry "the future of typing in Ruby" from the Square blog, I expect rbs to be something like .. Uh .. Well, basically close to Erlang/Elixir's typespecs
dviola has quit [Quit: WeeChat 2.9]
<trevoke>
Buuuut obviously I'm trying to use it that way, and rbs *does* have an "ast" command, but it doesn't seem connected to any kind of "useful" output yet?
alexherbo2 has joined #ruby
<apotheon>
Judging by the README, it seems like something one uses when writing code, not to verify something after the code is written.
<apotheon>
I'm not familiar with Erland and Elixir.
<apotheon>
I know of them, of course, but haven't used them.
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
cnsvc has quit [Remote host closed the connection]
cnsvc has joined #ruby
elxbarbosa has joined #ruby
elxbarbosa has quit [Client Quit]
TCZ has joined #ruby
elxbarbosa has joined #ruby
<elxbarbosa>
hey, what is the correct way to make ARGV to treat a path as a single string?
<elxbarbosa>
i pass it "/home/elxbarbosa/Musica/Garoto - Choro" and it returns "/home/elxbarbosa/Musica/Garoto"
<elxbarbosa>
that "- Choro" is in Thesecond index
<trevoke>
Pass it in quotes like you just did here