Skip to content

Instantly share code, notes, and snippets.

@aalmiray
Created April 18, 2011 17:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aalmiray/2de9e2fade879eac8181 to your computer and use it in GitHub Desktop.
Save aalmiray/2de9e2fade879eac8181 to your computer and use it in GitHub Desktop.
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