Sha256: bc8d56031cad709f8711980c9114c56c68704318f7523c0066771535a9400736

Contents?: true

Size: 495 Bytes

Versions: 1

Compression:

Stored size: 495 Bytes

Contents

# -*- encoding: utf-8 -*-
require 'genit/extensions'
require 'genit/project'
require 'genit/documents'
require 'genit/utils'
require 'genit/builders'
require 'genit/tags'
require 'genit/server'

module Errors

  def error message
    puts "Error: #{message}"
    exit 1
  end

  def warning message
    puts "Warning: #{message}"
  end

end

module Genit
  include Errors

  PAGES_DIR = "src/pages"
  TEMPLATES_DIR = "src/templates"
  FRAGMENTS_DIR = "src/fragments"
  NEWS_DIR = "src/news"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
genit-2.0 lib/genit.rb