<?xml version="1.0" encoding="UTF-8"?>
<wiki>
  <body>&lt;link rel=&quot;stylesheet&quot; title=&quot;Sunburst&quot; href=&quot;http://idealian.net/stylesheets/sunburst.css&quot;&gt;
&lt;p&gt;This page outlines the high level concept of object oriented features in [[Loonar]].&lt;/p&gt;
&lt;h3&gt;class and object&lt;/h3&gt;
&lt;h3&gt;object construction&lt;/h3&gt;
&lt;h3&gt;Inheritance&lt;/h3&gt;
&lt;p&gt;Following is just imaginary pseudo code.&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;ruby&quot;&gt;
person = class {
  function(self, name, age)
    self.name = name,
    self.age = 26,
   end
}&lt;/p&gt;
&lt;p&gt;employee = person.subclass {&lt;br /&gt;
  function(self, name, age, role)&lt;br /&gt;
    self.role =  role&lt;br /&gt;
    self.super(name, age)&lt;br /&gt;
  end&lt;br /&gt;
}&lt;br /&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/p&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://softwaremaniacs.org/media/soft/highlight/highlight.js&quot;&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;initHighlightingOnLoad()&lt;/script&gt;</body>
  <created-at type="datetime">2008-08-07T22:22:12-07:00</created-at>
  <id type="integer">43540</id>
  <permalink>objectorientation</permalink>
  <repository-id type="integer">40949</repository-id>
  <title>ObjectOrientation</title>
  <updated-at type="datetime">2008-08-16T00:12:33-07:00</updated-at>
  <user-id type="integer">3823</user-id>
</wiki>
