Sha256: f54b4e19ea81b5ea698d67c01cc6668105454622ba4abb6470d26bd4e37569b4

Contents?: true

Size: 377 Bytes

Versions: 1

Compression:

Stored size: 377 Bytes

Contents

module Ahnnotate
  module Function
    class Run
      def initialize(config, vfs)
        @config = config
        @vfs = vfs
      end

      def call
        Facet::Models.add(@config, tables_hash, @vfs)
      end

      private

      def tables_hash
        @tables_hash = tables.to_h
      end

      def tables
        @tables ||= Tables.new
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ahnnotate-0.2.0 lib/ahnnotate/function/run.rb