module Revelry::Content

Constants

VERSION

Public Class Methods

config() click to toggle source
# File lib/revelry_content.rb, line 41
def self.config
  self._config ||= Configuration.new
end
configure(&block) click to toggle source
# File lib/revelry_content.rb, line 33
def self.configure(&block)
  block.call config
  if ActiveRecord::Base.connection.table_exists? 'revelry_content_contents'
    Revelry::Content::JsExporter.write_export if config.js_export
  end
  config
end