Skip to content

Instantly share code, notes, and snippets.

@kevinkorb
kevinkorb / generator.rb
Created April 3, 2012 17:48
Aptana getter/setter generator for PHP
require 'ruble'
@@COUNT = 1
command 'Getter/Setter generator' do |cmd|
cmd.scope = 'source.php'
cmd.output = :insert_as_snippet
cmd.input = :document
cmd.key_binding = "Ctrl+S"
cmd.invoke do |context|