Sha256: f135f3cee8e5430f6b8a77938bc95d638bef87e2d0d6de48a3b65e2740e2eebe

Contents?: true

Size: 1.03 KB

Versions: 1

Compression:

Stored size: 1.03 KB

Contents

require "pathname"
require "set"
require "hashie"
require "virtus"
require "inflecto"
require "active_support"
require "active_support/core_ext"
require "redcarpet"
require "nokogiri"
require "yaml"

module Brief
  def self.case= value
    @briefcase = value
  end

  def self.case
    @briefcase
  end

  def self.configuration
    Brief::Configuration.instance
  end

  def self.gem_root
    Pathname(File.dirname(__FILE__))
  end

  def self.load_commands
    Dir[gem_root.join("brief","cli","**/*.rb")].each {|f| require(f) }
  end

  def self.load_models(from_folder=nil)
    Brief::Model.load_all(from_folder: from_folder)
  end
end

require "brief/core_ext"
require "brief/version"
require "brief/configuration"
require "brief/document/rendering"
require "brief/document/front_matter"
require "brief/document/content_extractor"
require "brief/document"
require "brief/document_mapper"
require "brief/repository"
require "brief/model"
require "brief/model/definition"
require "brief/model/persistence"
require "brief/dsl"
require "brief/briefcase"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
brief-1.0.0 lib/brief.rb