Skip to content

Instantly share code, notes, and snippets.

@autarch
Created October 2, 2009 01:48
Show Gist options
  • Save autarch/199387 to your computer and use it in GitHub Desktop.
Save autarch/199387 to your computer and use it in GitHub Desktop.
== 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment