Sha256: a0c8a16192bf2e1cc2303f68a6f927237639b65e7476bfb3f0d0ec809555cfd7

Contents?: true

Size: 224 Bytes

Versions: 17

Compression:

Stored size: 224 Bytes

Contents

module Oxidized
  class Source
    class NoConfig < OxidizedError; end
    def initialize
      @map = (CFG.model_map or {})
    end
    def map_model model
      @map.has_key?(model) ? @map[model] : model
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
oxidized-0.9.0 lib/oxidized/source/source.rb
oxidized-0.8.1 lib/oxidized/source/source.rb
oxidized-0.8.0 lib/oxidized/source/source.rb
oxidized-0.7.2 lib/oxidized/source/source.rb
oxidized-0.7.1 lib/oxidized/source/source.rb
oxidized-0.7.0 lib/oxidized/source/source.rb
oxidized-0.6.0 lib/oxidized/source/source.rb
oxidized-0.5.0 lib/oxidized/source/source.rb
oxidized-0.4.1 lib/oxidized/source/source.rb
oxidized-0.4.0 lib/oxidized/source/source.rb
oxidized-0.3.0 lib/oxidized/source/source.rb
oxidized-0.2.4 lib/oxidized/source/source.rb
oxidized-0.2.3 lib/oxidized/source/source.rb
oxidized-0.2.2 lib/oxidized/source/source.rb
oxidized-0.2.1 lib/oxidized/source/source.rb
oxidized-0.2.0 lib/oxidized/source/source.rb
oxidized-0.1.1 lib/oxidized/source/source.rb