Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 373
- Log:
Initial import of Radiant 0.9.1, which is now packaged as a gem. This is an
import of the tagged 0.9.1 source checked out from GitHub, which isn't quite
the same as the gem distribution - but it doesn't seem to be available in an
archived form and the installed gem already has modifications, so this is
the closest I can get.
- Author:
- rool
- Date:
- Mon Mar 21 13:40:05 +0000 2011
- Size:
- 387 Bytes
1 | module Simpleton |
2 | |
3 | def self.included(base) |
4 | base.extend(ClassMethods) |
5 | end |
6 | |
7 | module ClassMethods |
8 | |
9 | def instance(&block) |
10 | @instance ||= new |
11 | block.call(@instance) if block_given? |
12 | @instance |
13 | end |
14 | |
15 | def method_missing(method, *args, &block) |
16 | instance.respond_to?(method) ? instance.send(method, *args, &block) : super |
17 | end |
18 | |
19 | end |
20 | |
21 | end |