Sha256: f17f349e6a5abefb8f8b54cce17b29f4a3dd7f37cdc52ddd4ff4549e549f653c

Contents?: true

Size: 476 Bytes

Versions: 5

Compression:

Stored size: 476 Bytes

Contents

require 'fitting/configuration'
require 'tomograph'

module Fitting
  module Storage
    module Documentation
      class << self
        def tomogram
          @tomogram ||= craft
        end

        def craft
          Tomograph::Tomogram.new(
            prefix: Fitting.configuration.prefix,
            apib_path: Fitting.configuration.apib_path,
            drafter_yaml_path: Fitting.configuration.drafter_yaml_path
          )
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fitting-2.2.0 lib/fitting/storage/documentation.rb
fitting-2.1.3 lib/fitting/storage/documentation.rb
fitting-2.1.2 lib/fitting/storage/documentation.rb
fitting-2.1.1 lib/fitting/storage/documentation.rb
fitting-2.1.0 lib/fitting/storage/documentation.rb