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:
- 1491 Bytes
1 | class InheritedHashHandler < YARD::Handlers::Ruby::Legacy::Base |
2 | handles /\Ainherited_hash(\s|\()/ |
3 | |
4 | def process |
5 | hash_name = tokval(statement.tokens[2]) |
6 | name = statement.comments.first.strip |
7 | type = statement.comments[1].strip |
8 | |
9 | o = register(MethodObject.new(namespace, hash_name, scope)) |
10 | o.docstring = [ |
11 | "Gets a #{name} from this {Environment} or one of its \\{#parent}s.", |
12 | "@param name [String] The name of the #{name}", |
13 | "@return [#{type}] The #{name} value", |
14 | ] |
15 | o.signature = true |
16 | o.parameters = ["name"] |
17 | |
18 | o = register(MethodObject.new(namespace, "set_#{hash_name}", scope)) |
19 | o.docstring = [ |
20 | "Sets a #{name} in this {Environment} or one of its \\{#parent}s.", |
21 | "If the #{name} is already defined in some environment,", |
22 | "that one is set; otherwise, a new one is created in this environment.", |
23 | "@param name [String] The name of the #{name}", |
24 | "@param value [#{type}] The value of the #{name}", |
25 | "@return [#{type}] `value`", |
26 | ] |
27 | o.signature = true |
28 | o.parameters = ["name", "value"] |
29 | |
30 | o = register(MethodObject.new(namespace, "set_local_#{hash_name}", scope)) |
31 | o.docstring = [ |
32 | "Sets a #{name} in this {Environment}.", |
33 | "Ignores any parent environments.", |
34 | "@param name [String] The name of the #{name}", |
35 | "@param value [#{type}] The value of the #{name}", |
36 | "@return [#{type}] `value`", |
37 | ] |
38 | o.signature = true |
39 | o.parameters = ["name", "value"] |
40 | end |
41 | end |