-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Hi,
On 25.03.2014 09:53, Konstantinos Rousis wrote:
> class Admin::UsersController ... end
>
> is equivalent to
>
> module Admin class UsersController ... end end
Only partly right. There is a slight difference.
As long as the module (or namespa
This is one of the ways to provide namespacing in Ruby and avoid same-name
conflicts (e.g. with user code or other gems).
class Admin::UsersController ...
end
is equivalent to
module Admin
class UsersController ...
end
end
On Monday, 24 March 2014 14:43:24 UTC+1, Brandon wrote:
>
> I saw
2 matches
Mail list logo