view test/classes/@Dork/Dork.m @ 16215:6fe6ac8bbfdb

test: Remove trailing spaces from ends of lines in test/ directory. * test/bug-31371.tst, test/bug-36025/@testclass/testclass.m, test/build-sparse-tests.sh, test/classes/@CPrecedenceTester2/CPrecedenceTester2.m, test/classes/@CPrecedenceTester3/CPrecedenceTester3.m, test/classes/@Cork/click.m, test/classes/@Dork/Dork.m, test/classes/@Dork/display.m, test/classes/@Dork/gack.m, test/classes/@Gork/cork.m, test/classes/@Gork/gark.m, test/classes/@Gork/subsasgn.m, test/classes/@Pork/Pork.m, test/classes/@Pork/gurk.m, test/classes/@Snork/gick.m, test/classes/@Spork/geek.m, test/error.tst, test/func.tst, test/index.tst, test/io.tst, test/line-continue.tst, test/prefer.tst, test/switch.tst, test/system.tst, test/try.tst: Remove trailing spaces from ends of lines in test/ directory.
author Rik <rik@octave.org>
date Thu, 07 Mar 2013 10:02:13 -0800
parents b1283d4c06c2
children
line wrap: on
line source

function s = Dork (gick, gack)

  if (nargin == 1 && isa (gick, 'Dork'))
    s = gick;
  else
    s.gack = 0;
    if (nargin == 0)
      s0 = Snork ();
    elseif (nargin == 1)
      s0 = Snork (gick);
    else
      s0 = Snork (gick);
      s.gack = gack;
    end
    s = class (s, 'Dork', s0);
   end

end