Sha256: f884fc2776f9b3ee040cfac8b09f7a3a7ea09d1009825071dc8692263c168a7c

Contents?: true

Size: 294 Bytes

Versions: 2

Compression:

Stored size: 294 Bytes

Contents

module Transcriber
  class Resource
    module Builder
      module Summarization
        def summarizes(*args = [])
          args.each do |name|
            key = keys.find {|key| key.name == name}
            key.summarize = true if key
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
transcriber-0.0.3 lib/transcriber/resource/builder/summarizations.rb
transcriber-0.0.2 lib/transcriber/resource/builder/summarizations.rb