Module: Ecrire::Theme

Defined in:
lib/ecrire/theme/engine.rb,
lib/ecrire.rb

Overview

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.

Defined Under Namespace

Classes: Engine

Class Method Summary collapse

Class Method Details

.pathObject



12
13
14
# File 'lib/ecrire.rb', line 12

def self.path
  @@path ||= Pathname.new(Dir.pwd)
end

.path=(pathname) ⇒ Object



8
9
10
# File 'lib/ecrire.rb', line 8

def self.path=(pathname)
  @@path = pathname
end