Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
…922-ce17-0410-93af-c5f0f3c483be
  • Loading branch information
keithm committed Aug 4, 2006
1 parent 4666ac6 commit aaacc1b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/test_injector.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ def all_descendants(tree_node, id_only = true)
return id_only ? nodes.collect {|node| node.id} : nodes
end

def method_name
return $1 if /`(.*)'/.match(caller.first)
end

module ClassMethods

def klass
Expand Down

0 comments on commit aaacc1b

Please sign in to comment.