Module: Aoc::Session
- Defined in:
- lib/aoc/session.rb
Class Method Summary collapse
Class Method Details
.get_session ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/aoc/session.rb', line 3 def self.get_session return @session if @session if persisted? @session = load_session else @session = ask_for_session persist_session end @session end |