view test/@Dork/get.m @ 10673:b17a966099ed

remove deprecated Array method
author Jaroslav Hajek <highegg@gmail.com>
date Tue, 01 Jun 2010 12:29:01 +0200
parents f9ab19428cd8
children
line wrap: on
line source

function [ v ] = get( s, propName )

  switch propName
    case 'gack'
      v = s.gack;
    otherwise
      v = get(s.Snork,propName);
  end

end