Sha256: 26167948f1403650a2fb38bc741464041dae51438ddf637c56703ba4d108df8a

Contents?: true

Size: 477 Bytes

Versions: 3

Compression:

Stored size: 477 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

3 entries across 3 versions & 1 rubygems

Version Path
fitting-2.0.3 lib/fitting/storage/documentation.rb
fitting-2.0.2 lib/fitting/storage/documentation.rb
fitting-2.0.1 lib/fitting/storage/documentation.rb