module Erb

Public Class Methods

root() click to toggle source
# File lib/erb/view.rb, line 10
def root
  @root ||= Pathname.new(__FILE__).join('../../lib/templates')
end
root=(path) click to toggle source
# File lib/erb/view.rb, line 6
def root=(path)
  @root = Pathname.new(path).expand_path
end

Private Instance Methods

root() click to toggle source
# File lib/erb/view.rb, line 10
def root
  @root ||= Pathname.new(__FILE__).join('../../lib/templates')
end
root=(path) click to toggle source
# File lib/erb/view.rb, line 6
def root=(path)
  @root = Pathname.new(path).expand_path
end