search for: run_story_fil

Displaying 1 result from an estimated 1 matches for "run_story_fil".

Did you mean: run_story_files
2007 Dec 29
5
./script/story command
..._PATH}/stories/steps" HELPER_PATH = "#{ROOT_PATH}/stories/helper" def self.run self.new.run end def run if ARGV.empty? && first_char = using_stdin? setup_and_run_story((first_char + STDIN.read).split("\n")) elsif ARGV.empty? run_story_files(all_story_files) else run_story_files(ARGV) end end def all_story_files Dir["#{STORIES_PATH}/**/*.story"].uniq end def using_stdin? char = nil begin char = STDIN.read_nonblock(1) rescue Errno::EAGAIN return false end return cha...