lib/transcriber/resource/builder/summarizations.rb in transcriber-0.0.3 vs lib/transcriber/resource/builder/summarizations.rb in transcriber-0.0.4

- old
+ new

@@ -1,12 +1,12 @@ module Transcriber class Resource module Builder - module Summarization - def summarizes(*args = []) + module Summarizations + def summarizes(*args) args.each do |name| key = keys.find {|key| key.name == name} - key.summarize = true if key + summarized_keys << key if key end end end end end