lib/slurper.rb in slurper-0.4.0 vs lib/slurper.rb in slurper-0.4.1

- old
+ new

@@ -1,13 +1,13 @@ require 'story' class Slurper attr_accessor :story_file, :stories - def self.slurp(story_file, reverse = true) + def self.slurp(story_file, reverse) slurper = new(story_file) slurper.yamlize_story_file - slurper.stories.reverse! if reverse + slurper.stories.reverse! unless reverse slurper.create_stories end def initialize(story_file) self.story_file = story_file