module ProblemChild

Constants

VERSION

Public Class Methods

public_dir() click to toggle source
# File lib/problem_child.rb, line 24
def self.public_dir
  @public_dir ||= File.expand_path 'public', ProblemChild.root
end
public_dir=(dir) click to toggle source
# File lib/problem_child.rb, line 28
def self.public_dir=(dir)
  @public_dir = dir
end
root() click to toggle source
# File lib/problem_child.rb, line 12
def self.root
  File.expand_path './problem_child', File.dirname(__FILE__)
end
views_dir() click to toggle source
# File lib/problem_child.rb, line 16
def self.views_dir
  @views_dir ||= File.expand_path 'views', ProblemChild.root
end
views_dir=(dir) click to toggle source
# File lib/problem_child.rb, line 20
def self.views_dir=(dir)
  @views_dir = dir
end