module Ecrire::Theme
Theme
module links the user's theme with Ecrire::Application
. It uses Rails::Engine to hook itself up and split the codebase between the Gem and the user's Theme
.
Public Class Methods
path()
click to toggle source
# File lib/ecrire.rb, line 12 def self.path @@path ||= Pathname.new(Dir.pwd) end
path=(pathname)
click to toggle source
# File lib/ecrire.rb, line 8 def self.path=(pathname) @@path = pathname end