view test/@Snork/Snork.m @ 11480:3a983f9be808

add Konstantinos Poulios to the list of contributors
author John W. Eaton <jwe@octave.org>
date Mon, 10 Jan 2011 15:55:57 -0500
parents f9ab19428cd8
children
line wrap: on
line source

function [ s ] = Snork( gick )
% Test class.

  if ( (nargin==1) && (isa(gick, 'Snork')) )
    s = gick;
  else
    s.cack = [0 1 2 3];
    if nargin==0
      s.gick = 1;
    else
      s.gick = gick;
    end
    s = class(s, 'Snork');

  end
        
end