Welcome
Lazibi is a pre-processor that allows one to use Python style indenting in Ruby.
Examples
Sweeter RSpec [ Thanks Jay ]
1 describe Bowling 2 before(:each) 3 @bowling = Bowling.new 4 5 it "should score 0 for gutter game" 6 20.times { @bowling.hit(0) } 7 @bowling.score.should == 0
Even sexier migrations ( with sexy_migration Rails plugin )
1 class CreateOrders < ActiveRecord::Migration 2 def self.up 3 create_table :orders do 4 fkey :user 5 fkey :auction 6 integer :bid_type 7 timestamps! 8 9 def self.down 10 drop_table :orders
How?
Beauty -----------------> Simply <-------- Your workspace
^ /
\ Lazibi /
\ /
\ /
<----- Ruby ------<
| \
| \-----------------> SVN
|
|
|``````````|
| autotest |
|..........|
Ideals
Plug/unplug Lazibi should not matter. Ruby code stays the same in SCM.
Meta language definition should be customizable.
License
Released under the MIT license (included)