Class: CouchrestModel::Generators::Base

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Defined in:
lib/rails/generators/couchrest_model.rb

Overview

:nodoc:

Direct Known Subclasses

ModelGenerator

Class Method Summary collapse

Class Method Details

.base_rootObject

Set the current directory as base for the inherited generators.



10
11
12
# File 'lib/rails/generators/couchrest_model.rb', line 10

def self.base_root
  File.dirname(__FILE__)
end