Class: HashAuth::StrategyGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- HashAuth::StrategyGenerator
- Includes:
- Rails::Generators::Migration
- Defined in:
- lib/generators/hash_auth/strategy_generator.rb
Instance Method Summary collapse
Instance Method Details
#strategy ⇒ Object
8 9 10 |
# File 'lib/generators/hash_auth/strategy_generator.rb', line 8 def strategy template "strategy.rb", "lib/hash-auth/#{file_name}.rb" end |