view test/classes/@Blork/Blork.m @ 21052:b702efa70fb5 draft default tip shane

Adding --json-sock option; publishes octave_link events to a UNIX socket.
author Shane F. Carr <shane.carr@wustl.edu>
date Mon, 04 Jan 2016 08:51:31 +0000
parents b1283d4c06c2
children
line wrap: on
line source

function s = Blork (bleek)
% Test class.

  if (nargin == 1 && isa (bleek, 'Blork'))
    s = bleek;
  else
    if (nargin == 0)
      s.bleek = 1;
    else
      s.bleek = bleek;
    end
    s = class (s, 'Blork');
  end

end