module Staticpress

Public Class Methods

blog_path() click to toggle source
# File lib/staticpress.rb, line 12
def self.blog_path
  Pathname(@path || '.').expand_path
end
blog_path=(path) click to toggle source
# File lib/staticpress.rb, line 16
def self.blog_path=(path)
  @path = path
end
root() click to toggle source
# File lib/staticpress.rb, line 20
def self.root
  Pathname File.expand_path('..', __FILE__)
end