lib/lotus/commands/generate.rb in lotusrb-0.4.1 vs lib/lotus/commands/generate.rb in lotusrb-0.5.0
- old
+ new
@@ -68,9 +68,13 @@
def model_root
@model_root ||= Pathname.new(['lib', ::File.basename(Dir.getwd)]
.join(::File::SEPARATOR))
end
+ # @since 0.5.0
+ # @api private
+ alias_method :core_root, :model_root
+
private
# @since 0.3.0
# @api private
def generator
require "lotus/generators/#{ @type }"