Class: Terraria

Inherits:
Object
  • Object
show all
Defined in:
lib/servers/terraria.rb

Overview

A class for Feed The Beast Minecraft Server

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeTerraria

Returns a new instance of Terraria.



4
5
6
7
# File 'lib/servers/terraria.rb', line 4

def initialize
  @name = "terraria"
  @app_id = nil
end

Instance Attribute Details

#app_idObject (readonly)

Returns the value of attribute app_id.



3
4
5
# File 'lib/servers/terraria.rb', line 3

def app_id
  @app_id
end

#nameObject (readonly)

Returns the value of attribute name.



3
4
5
# File 'lib/servers/terraria.rb', line 3

def name
  @name
end

Instance Method Details

#install_server(install_path) ⇒ Object



12
13
# File 'lib/servers/terraria.rb', line 12

def install_server(install_path)
end

#launch(install_path) ⇒ Object



9
10
# File 'lib/servers/terraria.rb', line 9

def launch(install_path)
end