Class: ForgeCLI::BannerPostHooks
- Defined in:
- lib/forge-cli/modules/banners/post_hooks.rb
Instance Method Summary collapse
Methods inherited from PostHooks
Constructor Details
This class inherits a constructor from ForgeCLI::PostHooks
Instance Method Details
#module_path ⇒ Object
9 10 11 |
# File 'lib/forge-cli/modules/banners/post_hooks.rb', line 9 def module_path File.dirname(__FILE__) end |
#run! ⇒ Object
2 3 4 5 6 |
# File 'lib/forge-cli/modules/banners/post_hooks.rb', line 2 def run! STDOUT.puts "Adding Routes..." ri = ForgeCLI::RouteInstaller.new(@app, module_path) ri.install_routes(:forge) end |