Method: Window#initialize

Defined in:
lib/drydock/console.rb

#initialize(*args) ⇒ Window

Returns a new instance of Window.



226
227
228
229
230
231
232
233
234
235
# File 'lib/drydock/console.rb', line 226

def initialize(*args)
  @row = 1
  @col = 1
  @width = 10
  @height = 5
  @text = ""
  @fg = :default
  @bg = :default
  @threads = []
end