Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 344
- Log:
Massive changeset which brings the old, ROOL customised Instiki
version up to date, but without any ROOL customisations in this
latest checked-in version (which is 0.19.1). This is deliberate,
so that it's easy to see the changes made for the ROOL version
in a subsequent changeset. The 'app/views/shared' directory is not
part of Instiki but is kept to maintain the change history with
updated ROOL customisations, some of which involve the same files
in that same directory.
- Author:
- rool
- Date:
- Sat Mar 19 19:52:13 +0000 2011
- Size:
- 1241 Bytes
1 | = README |
2 | |
3 | revision:: $Rev: 1 $ |
4 | release:: $Release: 1.0.0 $ |
5 | copyright:: copyright(c) 2006 kuwata-lab.com all rights reserved. |
6 | |
7 | |
8 | == Introduction |
9 | |
10 | 'abstract.rb' is a library which enable you to define abstract method in Ruby. |
11 | |
12 | The followings are examples: |
13 | |
14 | ## example1. (shorter notation) |
15 | require 'rubygems' # if installed with 'gem install' |
16 | require 'abstract' |
17 | class Foo |
18 | abstract_method 'arg1, arg2=""', :method1, :method2, :method3 |
19 | end |
20 | |
21 | ## example2. (RDoc friendly notation) |
22 | require 'rubygems' # if installed with 'gem install' |
23 | require 'abstract' |
24 | class Bar |
25 | # ... method1 description ... |
26 | def method1(arg1, arg2="") |
27 | not_implemented |
28 | end |
29 | # ... method2 description ... |
30 | def method2(arg1, arg2="") |
31 | not_implemented |
32 | end |
33 | end |
34 | |
35 | |
36 | Abstract method makes your code more descriptive. |
37 | It is useful even for dynamic language such as Ruby. |
38 | |
39 | |
40 | == Installation |
41 | |
42 | |
43 | * Type 'gem install -r abstract' with root account if you have installed RubyGems. |
44 | |
45 | * Or type 'ruby setup.rb' with root account if you can be root account. |
46 | |
47 | * Or copy lib/abstract.rb into proper directory such as '/usr/local/lib/ruby/site_ruby'. |
48 | |
49 | |
50 | == License |
51 | |
52 | Ruby's |
53 | |
54 | |
55 | == Copyright |
56 | |
57 | copyright(c) 2006 kuwata-lab.com all rights reserved. |