DigitPaint / roger

Roger is your friendly front-end development toolbox!
MIT License
4 stars 4 forks source link

Make sure the module constant exists #5

Closed edwinvdgraaf closed 9 years ago

edwinvdgraaf commented 9 years ago

Without this change when making a generator in module outside of roger, an error will be thrown: uninitialized constant Roger::Cli (NameError)

This can be fixed when in the module with:

# <- hekje
module Roger
  module Cli; end
end

This doesn't really feel intuitive.