Method: Mongoid::Generators::Base#module_namespacing
- Defined in:
- lib/rails/generators/mongoid_generator.rb
#module_namespacing(&block) ⇒ Object
This is only defined on Rails edge at the moment, so include here now as per: github.com/mongoid/mongoid/issues/744
18 19 20 |
# File 'lib/rails/generators/mongoid_generator.rb', line 18 def module_namespacing(&block) yield if block end |