20 lines
471 B
VimL
20 lines
471 B
VimL
|
" @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)
|
||
|
" @Revision: 11
|
||
|
|
||
|
" :enddoc:
|
||
|
|
||
|
|
||
|
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
|
||
|
|