Sha256: 0d3255060e1fa29bcaf3d680673c441d6e466c7cdf234fb023a259a1585a2ac2

Contents?: true

Size: 967 Bytes

Versions: 4

Compression:

Stored size: 967 Bytes

Contents

#
# $Id: book.rb 4315 2009-09-02 04:15:24Z kmuto $
#
# Copyright (c) 2002-2008 Minero Aoki
#               2009 Minero Aoki, Kenshi Muto
#
# This program is free software.
# You can distribute or modify this program under the terms of
# the GNU LGPL, Lesser General Public License version 2.1.
# For details of the GNU LGPL, see the file "COPYING".
#

require 'review/exception'
require 'review/extentions'
require 'forwardable'
require 'nkf'

require 'review/book/base'
require 'review/book/chapter'
require 'review/book/part'
require 'review/book/parameters'
require 'review/book/page_metric'
require 'review/book/volume'
require 'review/book/index'

module ReVIEW
  @default_book = nil

  def ReVIEW.book
    @default_book ||= Book::Base.load_default
  end

  module Book
    def self.load_default
      Base.load_default
    end

    def self.load(dir)
      Base.load dir
    end

    def self.update_rubyenv(dir)
      Base.update_rubyenv dir
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
review-1.3.0 lib/review/book.rb
review-1.2.0 lib/review/book.rb
review-1.1.0 lib/review/book.rb
tmtms-review-1.0.0 lib/review/book.rb