mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Use strict_args_position! if available from Thor
This commit is contained in:
@@ -20,6 +20,7 @@ module Rails
|
||||
include Rails::Generators::Actions
|
||||
|
||||
add_runtime_options!
|
||||
strict_args_position! if respond_to?(:strict_args_position!)
|
||||
|
||||
# Returns the source root for this generator using default_source_root as default.
|
||||
def self.source_root(path=nil)
|
||||
|
||||
Reference in New Issue
Block a user