Module: Batman::Generators::Common

Included in:
AppGenerator, ControllerGenerator, HtmlGenerator, ModelGenerator, ScaffoldGenerator, ViewGenerator
Defined in:
lib/generators/common.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



4
5
6
7
# File 'lib/generators/common.rb', line 4

def self.included(base)
  base.send(:extend, ClassMethods)
  base.source_root File.expand_path("../../templates", __FILE__)
end