Closed translunar closed 12 years ago
Hi John,
Green Shoes doesn't change self within a block of edit_line. So, use a change event with one of the following three styles.
require 'green_shoes' Shoes.app do edit_line{puts 'hi'} end
require 'green_shoes' Shoes.app do edit_line change: proc{puts 'hi'} end
require 'green_shoes' Shoes.app do el = edit_line el.change{puts 'hi'} end
ashbb
This gives the following error: