What is this in ruby?:
```
?/
```
Because I don't know. I thought I knew, but I don't. It's very hard to search for too.
@Kowfm in #ruby the single question mark is a simplified way to "enclose" a single char, so instead of
puts '4'
You can do
puts ?4
It's called "Character Literal"
https://docs.ruby-lang.org/en/master/syntax/literals_rdoc.html
@esparta OMG! Thanks friend! I remember this now. Last time I learned this it took a while to find it, but you're just a pro aren't you.
@Kowfm based on the Dreyfus model of skill acquisition you can say that, but I think my expertise is more about been practicing a lot with ruby and do mistakes that turns to be weird like this with "Character Literal" since I am very into documentation I was able to found why!
... and also that's why I post this #ruby #brainteaser at the beginning of the year
https://ruby.social/@esparta/111766930736465414
> Test your #ruby knowledge:
?|=~/$*-}%+:'^<@!&_`/
> is the above line of code, a valid ruby expression?