Method: Luck::Alert#initialize

Defined in:
lib/luck/alert.rb

#initialize(display, width, height, title, controls = {}, &blck) ⇒ Alert

Returns a new instance of Alert.



5
6
7
8
9
# File 'lib/luck/alert.rb', line 5

def initialize display, width, height, title, controls={}, &blck
  super display, nil, nil, nil, nil, title, controls, &blck
  
  @width, @height = width, height
end