view test/@Blork/get.m @ 10880:92c3e8068f28

allow diff(logical)
author Jaroslav Hajek <highegg@gmail.com>
date Tue, 10 Aug 2010 12:52:52 +0200
parents f9ab19428cd8
children
line wrap: on
line source

function [ v ] = get( s, propName )

    switch propName
        case 'bleek'
            v = s.bleek;
        otherwise
            error([propName, ' is not a valid Blork property']);
    end

end