Sha256: f7821cd05d4d83076d9babba138b3e0b94b65f7fa483187524597187530bb67e

Contents?: true

Size: 271 Bytes

Versions: 2

Compression:

Stored size: 271 Bytes

Contents

module Transcriber
  class Configuration
    DefaultHandler = lambda {|keys| keys.map(&:to_s)}

    def convert_input_keys
      @convert_input_keys || DefaultHandler
    end

    def convert_input_keys=(converter)
      @convert_input_keys = converter
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
transcriber-0.0.3 lib/transcriber/configuration.rb
transcriber-0.0.2 lib/transcriber/configuration.rb