Class: Shaf::Generator::Controller

Inherits:
Base
  • Object
show all
Defined in:
lib/shaf/generator/controller.rb

Instance Attribute Summary

Attributes inherited from Base

#args, #options

Instance Method Summary collapse

Methods inherited from Base

identified_by, identifier, #identifier, inherited, #initialize, options, usage

Constructor Details

This class inherits a constructor from Shaf::Generator::Base

Instance Method Details

#callObject



10
11
12
13
14
# File 'lib/shaf/generator/controller.rb', line 10

def call
  create_controller
  create_integration_spec if options[:specs]
  add_link_to_root
end