/essi-vim-config/files/usr/local/share/vim/vim73/bundle/tlib/autoload/tlib/Test.vim
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
- " Test.vim -- A test class
- " @Author: Tom Link (micathom AT gmail com?subject=[vim])
- " @Website: http://www.vim.org/account/profile.php?user_id=4037
- " @License: GPL (see http://www.gnu.org/licenses/gpl.txt)
- " @Created: 2007-05-01.
- " @Last Change: 2010-09-05.
- " @Revision: 0.1.10
- " :enddoc:
- if &cp || exists("loaded_tlib_Test_autoload")
- finish
- endif
- let loaded_tlib_Test_autoload = 1
- let s:prototype = tlib#Object#New({'_class': ['Test']}) "{{{2
- function! tlib#Test#New(...) "{{{3
- let object = s:prototype.New(a:0 >= 1 ? a:1 : {})
- return object
- endf
- function! s:prototype.Dummy() dict "{{{3
- return 'Test.vim'
- endf