Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio
> autoswagger = require 'autoswagger.init'
> brain = autoswagger.Brain:new()
> brain:learn('GET', 'google.com', '/users/1/app/5')
./autoswagger/lib/straux.lua:8: attempt to index local 'str' (a nil value)
stack traceback:
./autoswagger/lib/straux.lua:8: in function 'split'
./autoswagger/lib/straux.lua:19: in function 'tokenize'
./autoswagger/host.lua:99: in function 'insert_path'
./autoswagger/host.lua:138: in function 'add_path'
./autoswagger/host.lua:229: in function <./autoswagger/host.lua:228>
(tail call): ?
stdin:1: in main chunk
[C]: ?
>