Class: Dev::Template::ApplicationInterface
- Inherits:
-
BaseInterface
- Object
- BaseInterface
- Dev::Template::ApplicationInterface
- Includes:
- Rake::DSL
- Defined in:
- lib/firespring_dev_commands/templates/base_interface.rb
Overview
Base interface template customized for applications which require a name to be passed in to the constructor
Direct Known Subclasses
Dev::Template::Application::Config, Docker::Application, Docker::Node::Application, Docker::Php::Application, Docker::Ruby::Application
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Attributes inherited from BaseInterface
Instance Method Summary collapse
-
#initialize(name, exclude: []) ⇒ ApplicationInterface
constructor
A new instance of ApplicationInterface.
Methods inherited from BaseInterface
Constructor Details
#initialize(name, exclude: []) ⇒ ApplicationInterface
Returns a new instance of ApplicationInterface.
39 40 41 42 |
# File 'lib/firespring_dev_commands/templates/base_interface.rb', line 39 def initialize(name, exclude: []) @name = name super(exclude:) end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
37 38 39 |
# File 'lib/firespring_dev_commands/templates/base_interface.rb', line 37 def name @name end |