PageRenderTime 40ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

/essi-vim-config/files/usr/local/share/vim/vim73/bundle/tlib/autoload/tlib/Test.vim

https://bitbucket.org/ekamil/config-packages
Vim Script | 27 lines | 12 code | 7 blank | 8 comment | 2 complexity | 6a5306abddfa14c9e714ef615277f8d5 MD5 | raw file
Possible License(s): 0BSD, GPL-2.0, LGPL-2.1
  1. " Test.vim -- A test class
  2. " @Author: Tom Link (micathom AT gmail com?subject=[vim])
  3. " @Website: http://www.vim.org/account/profile.php?user_id=4037
  4. " @License: GPL (see http://www.gnu.org/licenses/gpl.txt)
  5. " @Created: 2007-05-01.
  6. " @Last Change: 2010-09-05.
  7. " @Revision: 0.1.10
  8. " :enddoc:
  9. if &cp || exists("loaded_tlib_Test_autoload")
  10. finish
  11. endif
  12. let loaded_tlib_Test_autoload = 1
  13. let s:prototype = tlib#Object#New({'_class': ['Test']}) "{{{2
  14. function! tlib#Test#New(...) "{{{3
  15. let object = s:prototype.New(a:0 >= 1 ? a:1 : {})
  16. return object
  17. endf
  18. function! s:prototype.Dummy() dict "{{{3
  19. return 'Test.vim'
  20. endf