NYULibraries/gather_content-api

View on GitHub
lib/gather_content/dsl/config.rb

Summary

Maintainability
A
0 mins
Test Coverage
require 'gather_content/dsl/tab'

module GatherContent
  module DSL
    class Config
      def initialize(config)
        @config = config
      end

      def tab(&block)
        dsl = GatherContent::DSL::Tab.new(@config)
        dsl.instance_eval(&block)
      end
    end
  end
end