Class: Awskit::Gen::Toolkit::Service
- Inherits:
-
Object
- Object
- Awskit::Gen::Toolkit::Service
- Defined in:
- lib/awskit/gen/toolkit/service.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
-
#output_path ⇒ Object
Returns the value of attribute output_path.
Instance Method Summary collapse
- #gen ⇒ Object
-
#initialize(options) ⇒ Service
constructor
A new instance of Service.
Constructor Details
#initialize(options) ⇒ Service
Returns a new instance of Service.
10 11 12 13 |
# File 'lib/awskit/gen/toolkit/service.rb', line 10 def initialize() self. = self.output_path = [:path] || "./#{toolkit_name}" end |
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
7 8 9 |
# File 'lib/awskit/gen/toolkit/service.rb', line 7 def @options end |
#output_path ⇒ Object
Returns the value of attribute output_path.
8 9 10 |
# File 'lib/awskit/gen/toolkit/service.rb', line 8 def output_path @output_path end |
Instance Method Details
#gen ⇒ Object
15 16 17 18 19 20 21 22 23 24 |
# File 'lib/awskit/gen/toolkit/service.rb', line 15 def gen gen_gem_dirs copy_static_files gen_toolkit_spec gen_bin gen_toolkit_main gen_cli gen_version gen_spec end |