Class: FlameServerToys::Template

Inherits:
Object
  • Object
show all
Includes:
Toys::Template
Defined in:
lib/flame_server_toys/template.rb,
lib/flame_server_toys/template/stop.rb,
lib/flame_server_toys/template/_base.rb,
lib/flame_server_toys/template/start.rb,
lib/flame_server_toys/template/status.rb,
lib/flame_server_toys/template/monitor.rb,
lib/flame_server_toys/template/restart.rb,
lib/flame_server_toys/template/phased_restart.rb

Overview

Root template for server tool

Defined Under Namespace

Classes: Base, Monitor, PhasedRestart, Restart, Start, Status, Stop

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(config_proc:) ⇒ Template

Returns a new instance of Template.



12
13
14
# File 'lib/flame_server_toys/template.rb', line 12

def initialize(config_proc:)
	@config_proc = config_proc
end

Instance Attribute Details

#config_procObject (readonly)

Returns the value of attribute config_proc.



10
11
12
# File 'lib/flame_server_toys/template.rb', line 10

def config_proc
  @config_proc
end