Module: Twigg::App
- Defined in:
- lib/twigg-app/app.rb,
lib/twigg-app/app/quips.rb,
lib/twigg-app/app/routes.rb,
lib/twigg-app/app/server.rb,
lib/twigg-app/app/version.rb
Defined Under Namespace
Modules: Quips, Routes Classes: Server
Constant Summary collapse
- VERSION =
'0.0.7'
Class Method Summary collapse
-
.root ⇒ Object
Returns a Pathname instance corresponding to the root directory of the gem (ie. the directory containing the ‘lib`, `public` and `views` directories).
Class Method Details
.root ⇒ Object
Returns a Pathname instance corresponding to the root directory of the gem (ie. the directory containing the ‘lib`, `public` and `views` directories).
10 11 12 |
# File 'lib/twigg-app/app.rb', line 10 def self.root Pathname.new(__dir__) + '..' + '..' end |