view test/@Pork/get.m @ 12583:bb29b58e650c release-3-4-x

abandon release-3-4-x branch in favor of workflow using stable and default branches and merging stable to default periodically
author John W. Eaton <jwe@octave.org>
date Fri, 08 Apr 2011 09:06:04 -0400
parents f9ab19428cd8
children
line wrap: on
line source

function [ v ] = get( s, propName )

  switch propName
    case 'gurk'
      v = s.gurk;
    otherwise
      v = get(s.Spork,propName);
  end

end