Skip to content

Instantly share code, notes, and snippets.

@aalmiray
Created Apr 18, 2011
Embed
What would you like to do?
import org.codehaus.griffon.runtime.core.AbstractGriffonModel
class FooModel < AbstractGriffonModel
def initialize
@name = ''
end
def getName():String
@name
end
def setName(n:String):void
firePropertyChange("name", @name, @name = n)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment