Sha256: 9710b07781935ad5d47f99813a717bfd92fd02706ed9619d664805aaa3e8f1a4

Contents?: true

Size: 469 Bytes

Versions: 10

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

10 entries across 10 versions & 1 rubygems

Version Path
smithycms-0.7.3 lib/smithy.rb
smithycms-0.7.2 lib/smithy.rb
smithycms-0.7.1 lib/smithy.rb
smithycms-0.7.0 lib/smithy.rb
smithycms-0.6.10 lib/smithy.rb
smithycms-0.6.9 lib/smithy.rb
smithycms-0.6.7 lib/smithy.rb
smithycms-0.6.6 lib/smithy.rb
smithycms-0.6.5 lib/smithy.rb
smithycms-0.6.4 lib/smithy.rb