Home > ruby-machinist-tmbundle

ruby-machinist-tmbundle

Ruby-machinist-tmbundle is a project mainly written in RUBY and JAVASCRIPT, it's free.

TextMate bundle for Machinist

TextMate bundle for Machinist

Features

Within blueprints.rb file:

Cmd+B - convert current word or clipboard into automatic blueprint

Consider a BlogPost that has many BlogComments in a blog app. If you go to your blueprints.rb file, type "BlogPost" and press "Cmd+B" the bundle will load up the BlogPost class, inspect it, and generate the following blueprint:

BlogPost.blueprint do
  title
  body
  author { BlogAuthor.make }
  comments { [ BlogComment.make ] }
  tags { [ Tag.make ] }
end

All associations are included with useful starting points.

Installation

To install with Git:

mkdir -p ~/Library/Application Support/TextMate/Bundles
cd ~/Library/Application Support/TextMate/Bundles
git clone git://github.com/drnic/ruby-machinist-tmbundle.git "Ruby on Rails.tmbundle"
osascript -e 'tell app "TextMate" to reload bundles'

To install without Git:

mkdir -p ~/Library/Application Support/TextMate/Bundles
cd ~/Library/Application Support/TextMate/Bundles
wget http://github.com/drnic/ruby-machinist-tmbundle/tarball/master
tar zxf drnic-ruby-machinist-tmbundle*.tar.gz
rm drnic-ruby-machinist-tmbundle*.tar.gz
mv drnic-ruby-machinist-tmbundle* "Ruby on Rails.tmbundle"
osascript -e 'tell app "TextMate" to reload bundles'

Contributions

Development of Ruby Machinist.tmbundle is sponsored by:

  • GlobalHand
  • Mocra

Contributors include:

  • Dr Nic Williams

License

Previous:jetty-rails