FIXYOU: smartinput of ruby lambda