autarch (owner)

Revisions

gist: 199387 Download_button fork
public
Public Clone URL: git://gist.github.com/199387.git
Embed All Files: show embed
A modest proposal #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
== Methods
 
get_method($name)
-> method($name)
 
has_method($name)
-> has_method($name)
 
get_method_list - local names
-> method_names
 
get_all_methods - all method objects
-> all_methods
 
find_method_by_name($name) - first method object by name
-> lookup_method($name)
 
get_all_method_names - all unique method names
-> all_method_names
 
find_all_methods_by_name($name) - all method objects for a name
-> all_methods_by_name($name)
 
find_next_method_by_name($name)
-> next_method_by_name($name)
 
== Attributes
 
get_attribute($name)
-> attribute($name)
 
has_attribute($name)
-> has_attribute($name)
 
get_attribute_list - local names
-> attribute_names
 
get_all_attributes - all unique attr objects
-> all_attributes
 
find_attribute_by_name($name) - first attr by name
-> lookup_attribute($name)
 
-> all_attribute_names - new method