Sha256: 289e05e626ee86787e45686ef12ca41bd84ebf5a37f5975ce178a43851a578e9

Contents?: true

Size: 469 Bytes

Versions: 1

Compression:

Stored size: 469 Bytes

Contents

require "smithy/engine"
# libraries
require 'smithy/dependencies'
# config
require 'smithy/logger'
require 'smithy/liquid'
# content formatting
require 'smithy/asset_link'
require 'smithy/formatter'
#
require 'smithy/content_blocks'
require 'smithy/content_resources'

module Smithy
  def self.log(*args)
    level   = args.size == 1 ? 'info' : args.first
    message = args.size == 1 ? args.first : args.last
    ::Smithy::Logger.send(level.to_sym, message)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
smithycms-0.6.3 lib/smithy.rb