Class: Shoes::CreateRacer

Inherits:
Widget
  • Object
show all
Defined in:
lib/interface_widgets.rb

Instance Method Summary collapse

Constructor Details

#initializeCreateRacer


37
38
39
40
41
42
43
44
# File 'lib/interface_widgets.rb', line 37

def initialize
  image(20, 20, {:top => 8, :left => 115}) do
    add_button
    click do
      add_racer @racer_name.text
    end
  end
end