lib/saga/document.rb in saga-0.1.0 vs lib/saga/document.rb in saga-0.2.0

- old
+ new

@@ -1,13 +1,15 @@ +require 'active_support/ordered_hash' + module Saga class Document attr_accessor :title, :introduction, :authors, :stories, :definitions def initialize @title = '' @introduction = [] @authors = [] - @stories = {} - @definitions = {} + @stories = ActiveSupport::OrderedHash.new + @definitions = ActiveSupport::OrderedHash.new end end end \ No newline at end of file