Sha256: a96fed4cc2cb388fc337032d2b777c78017764410e5aae8ebac080c3025593a4

Contents?: true

Size: 506 Bytes

Versions: 7

Compression:

Stored size: 506 Bytes

Contents

# Copyright (C) 2009 AIST, All rights reserved.
# This is free software with ABSOLUTELY NO WARRANTY.
# You can redistribute it and/or modify it under the terms of the GNU GPL 2.

$LOAD_PATH.unshift '..' unless $LOAD_PATH.include? '..'
require 'qwik/util-pathname'
require 'qwik/page-rrefs'

module Qwik
  class Site
    def rrefs(k = 'FronPage')
      page = self[k]
      return nil if page.nil?
      page.rrefs = PageRRefs.new(@path.to_s, k) if page.rrefs.nil?
      return page.rrefs
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
qwik2md-2.0.1 vendor/qwik/lib/qwik/site-rrefs.rb
qwik2md-2.0.0 vendor/qwik/lib/qwik/site-rrefs.rb
qwik2md-1.0.2 vendor/qwik/lib/qwik/site-rrefs.rb
qwik2md-1.0.1 vendor/qwik/lib/qwik/site-rrefs.rb
qwik2md-1.0.0 vendor/qwik/lib/qwik/site-rrefs.rb
qwik2md-0.1.0 vendor/qwik/lib/qwik/site-rrefs.rb
qwikdoc-0.0.1 vendor/qwik/site-rrefs.rb