view test/@Pork/get.m @ 12769:5a44c5f79638 stable

Added tag release-3-4-1 for changeset 901d466ee55a
author John W. Eaton <jwe@octave.org>
date Thu, 23 Jun 2011 17:45:36 -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