Skip to content

Instantly share code, notes, and snippets.

@ukstudio
Created April 3, 2009 08:58
Show Gist options
  • Save ukstudio/89679 to your computer and use it in GitHub Desktop.
Save ukstudio/89679 to your computer and use it in GitHub Desktop.
ruby << EOF
class Person
attr_accessor :name, :age
def initialize(name, age)
@name = name
@age = age
end
end
ukstudio = Person.new("ukstudio", 22)
p ukstudio
require 'rubygems'
require 'ruby-growl'
g = Growl.new("localhost", "ruby-growl", ["ruby-growl Notification"])
g.notify("ruby-growl Notification", "Vim勉強会 in MTL", "発表中")
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment