@hannestyden is working on that. See https://github.com/bbatsov/rubocop/pull/865.

--  
Cheers,
Bozhidar


On Thursday, March 13, 2014 at 11:33 AM, Nils wrote:

> In lib/rubocop/cop/style/class_and_module_children.rb:
> > + # nested - have each child on its own line > + # class Foo > + # class Bar > + # end > + # end > + # > + # compact - combine definitions as much as possible > + # class Foo::Bar > + # end > + # > + # The compact style is only forced, for classes / modules with one child. > + class ClassAndModuleChildren < Cop > + include ConfigurableEnforcedStyle > + > + NESTED_MSG = 'Use nested module/class definitions instead of ' \ > + 'compact style.'  
> Done: 275b988 (https://github.com/bbatsov/rubocop/commit/275b988) - As you already pointed out would it be good to have a cop checking for this.
>  
> —
> Reply to this email directly or view it on GitHub (https://github.com/bbatsov/rubocop/pull/869/files#r10557519).
>  
>  
>