Class: Terraria
- Inherits:
-
Object
- Object
- Terraria
- Defined in:
- lib/servers/terraria.rb
Overview
A class for Feed The Beast Minecraft Server
Instance Attribute Summary collapse
-
#app_id ⇒ Object
readonly
Returns the value of attribute app_id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize ⇒ Terraria
constructor
A new instance of Terraria.
- #install_server(install_path) ⇒ Object
- #launch(install_path) ⇒ Object
Constructor Details
#initialize ⇒ Terraria
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_id ⇒ Object (readonly)
Returns the value of attribute app_id.
3 4 5 |
# File 'lib/servers/terraria.rb', line 3 def app_id @app_id end |
#name ⇒ Object (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 |