lib/rsg/generators/base.rb in rsg-0.0.1 vs lib/rsg/generators/base.rb in rsg-0.1.0
- old
+ new
@@ -1,12 +1,14 @@
require "pathname"
require "rails/generators"
+require "rails/generators/app_name"
module Rsg
module Generators
class Base < Rails::Generators::Base
include Actions
include Options
+ include Rails::Generators::AppName
def self.inherited(base)
super
parts = base.namespace.split(":")