class

UWP

Inherits Reference < Object

Constructors

new(port : Char, size : UInt8, atmosphere : UInt8, hydrographics : UInt8, population : UInt8, government : UInt8, law_level : UInt8, tech_level : UInt8)
Source
new(profile : String)

Create a UWP based on its profile string. Most likely the one we want.

Source

Class methods

blank
Source

Instance methods

atmosphere
Source
government
Source
hydrographics
Source
law_level
Source
population
Source
port
Source
size
Source
tech_level
Source
to_s(io : IO)

Appends a short String representation of this object which includes its class name and its object address.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).to_s # => #<Person:0x10a199f20>
Source