Class: Dev::Template::ApplicationInterface

Inherits:
BaseInterface show all
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

Instance Attribute Summary collapse

Attributes inherited from BaseInterface

#exclude

Instance Method Summary collapse

Methods inherited from BaseInterface

#create_tasks!

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

#nameObject (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