Module: Spinebox::Base
- Included in:
- Spinebox
- Defined in:
- lib/spinebox/base.rb
Instance Method Summary collapse
-
#boot! ⇒ Object
Boot the spinebox environment.
-
#root ⇒ Object
The spinebox gem path.
Instance Method Details
#boot! ⇒ Object
Boot the spinebox environment
10 11 12 13 14 15 16 |
# File 'lib/spinebox/base.rb', line 10 def boot! Spinebox::Config.reset! Spinebox::Routes.reset! Spinebox.load_config! Spinebox.load_routes! Spinebox.load_helpers! end |
#root ⇒ Object
The spinebox gem path
5 6 7 |
# File 'lib/spinebox/base.rb', line 5 def root File.dirname(File.realdirpath(__FILE__)) end |