Xavier Noria

Results 159 comments of Xavier Noria

> I haven't seen code like your example in any of the uses of this library. My use case is a script that simulates users of my application. I create...

Hey, the problem is that in Rails 7 you cannot autoload reloadable code so early. Also, it does not make sense that `ImpressionistController::ClassMethods` and `ImpressionistController::InstanceMethods` live in a reloadable file,...

@zzak :+1: thank you man!

In principle, in Rails we only need a directive `:private:` akin to YARD's `@private` tag. The problem that directive would address would be to be able to mark something as...

Let me add a cross-link with https://github.com/rails/rails/pull/13989.

@drbrain RDoc would not generate content for `:private:`. There is no API to generate for those methods. That would be useful for deprecated methods though, we are not leveraging that...

@drbrain exactly, only it would go at the beginning of the comment to be really obvious instead of where we place `:nodoc:` now. I imagine something like this: ``` #...

Ah let me add that it would be the same in the sense that they do not generate docs. The difference in my view lies in the intention. I don't...

... the method, module, etc. is private, can't express that with `#--` either.