Class: Hecks::Domain::CLI::GenerateDomainObject
- Inherits:
-
Thor::Group
- Object
- Thor::Group
- Hecks::Domain::CLI::GenerateDomainObject
show all
- Includes:
- Thor::Actions
- Defined in:
- lib/cli/generate_domain_object.rb,
lib/cli/domain_object/option_formatter.rb,
lib/cli/domain_object/assignment_template.rb
Defined Under Namespace
Classes: AssignmentTemplate, OptionFormatter
Class Method Summary
collapse
Instance Method Summary
collapse
Class Method Details
.source_root ⇒ Object
15
16
17
|
# File 'lib/cli/generate_domain_object.rb', line 15
def self.source_root
File.dirname(__FILE__) + '/templates'
end
|
Instance Method Details
#create_aggregate_folder ⇒ Object
19
20
21
|
# File 'lib/cli/generate_domain_object.rb', line 19
def create_aggregate_folder
directory(options[:type].to_s, '.')
end
|