intridea/hashie — pull request #88 by 7even (2013-03-14 16:09:28+00:00)
Title: Fix Hashie::Mash#respond_to? with a suffixed key

This simple change just modifies the `Hashie::Mash#respond_to?` method so that it complies with the `#method_missing` behaviour.

Before the fix:

``` ruby
Hashie::Mash.new(abc: true).respond_to?(:abc?) # => false
Hashie::Mash.new(abc: true).respond_to?(:abc=) # => false
```

After the fix:

``` ruby
Hashie::Mash.new(abc: true).respond_to?(:abc?) # => true
```