Class: Operations::Generators::ContractGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- Operations::Generators::ContractGenerator
- Includes:
- Base::Generators::BaseGenerator
- Defined in:
- lib/operations/generators/contract_generator.rb
Instance Method Summary collapse
Instance Method Details
#generate_files ⇒ Object
14 15 16 17 18 19 |
# File 'lib/operations/generators/contract_generator.rb', line 14 def generate_files super template "base/contract.rb.erb", "#{root_file_path}/operations/#{plural_name}/base/contract.rb" template "contract.rb.erb", "#{root_file_path}/operations/#{plural_name}/#{verb}/contract.rb" end |