> 
> **Possible Duplicate:**  
> 
> [Getting Argument Names In Ruby Reflection](https://stackoverflow.com/questions/622324/getting-argument-names-in-ruby-reflection) 
> 
> 
> 

Is it possible to get the parameter names of a method ?

Example with:

```
def method_called(arg1, arg2)
  puts my_method.inspect
end

```

I would like to know what method (my\_method) should I call to get the following output:

```
["arg1", "arg2"]

```