File: function

package info (click to toggle)
libdb2-ruby 0.5.4-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,352 kB
  • ctags: 2,743
  • sloc: ansic: 11,156; ruby: 6,199; cpp: 6,064; makefile: 86; sh: 31
file content (23 lines) | stat: -rw-r--r-- 959 bytes parent folder | download | duplicates (18)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<entry index='f'>
<name>Function</name>
<reference>self</reference>
<reference>module function</reference>
<reference>receiver</reference>
<reference>instance variable</reference>
<reference>method</reference>
<reference>ruby</reference>
<content>
    Strictly speaking, ((Ruby)) has no functions.
    But the appearance of a method call with ((receiver|Receiver)) left out
    is like a function, and furthermore, there is a ((method|Method)) which
    we can describe it as a virtual function, ((|((self))|)),
    ((instance variable|Instance Variable)),
    where no ((receiver|Receiver)) informations are referred.
    Such methods are sometimes, in a torelant situation, called functions.

    Mostly such function(al method)s' visibility is set to private, so that
    they could not be called in the form which ((receiver|Receiver)) is
    not omitted.
    The representative of that methods is ((module function|Module Function)).
</content>
</entry>