Method: Lijab::HistoryHandler.last

Defined in:
lib/lijab/history.rb

.last(n) ⇒ Object



104
105
106
107
108
109
110
111
112
# File 'lib/lijab/history.rb', line 104

def last(n)
   unless Config.[:log]
      Out::put("warning: logs are disabled")
      return []
   end

   init_session_log() unless @session
   @session.last(n)
end