Mercurial > hg > octave-nkf
view test/classes/@Spork/geek.m @ 18688:11d1f3d1ab0d draft
Fully single type support & clean the code
author | LYH <lyh.kernel@gmail.com> |
---|---|
date | Fri, 21 Mar 2014 14:59:38 -0400 |
parents | 6fe6ac8bbfdb |
children |
line wrap: on
line source
function out = geek (in, val) if (nargin == 1) out = in.geek; else in.geek = val; out = in; end end