We Recommend

Object-Oriented Programming in Pascal: A Graphical Approach Object-Oriented Programming in Pascal: A Graphical Approach
Covers all of the essential concepts of objectoriented programming, including object re-use, inheritance, virtual methods, and polymorphisms.


Posted By

sou on 03/25/08


Tagged

textmate rspec ruby


Versions (?)


.autotest for Story


Published in: Other 


  1. Autotest.add_hook :initialize do |at|
  2. # snipplr removes escape-sequence from me!
  3. # '1' should be a backward reference
  4. story_files = %r%^([^/.]+)/1%
  5. at.add_mapping(story_files) do |f, last_matched|
  6. at.files_matching Regexp.new("#{last_matched}.rb")
  7. end
  8. end

Report this snippet 

You need to login to post a comment.