method parameters might be passed as array or object
Merge pull request #4 from mloy/master

method parameters might be passed as array or object