Skip to content

levicole/acts-as-state-machine-tm-bundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pretty simple acts as state machine bundle for text mate.

Installation:

cd ~/Library/Application\ Support/TextMate/Bundles/
git clone git://github.com/levicole/acts-as-state-machine-tm-bundle.git ActsAsStateMachine.tmbundle

In text mate:
From your drop down menu, select Bundles -> Bundle Editor -> Reload Bundles

And thats it.  The snippets are all pretty self explanitory.  

aasm[tab] generates

acts_as_state_machin :initial => :new, :column => "status"

event[tab] generates an event block

transition generates:

transitions :from => :state_1, :to => :state_2

About

just a little acts as state machine text mate bundle

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published