Class: GoFigure::StubHttpFetcher::HashStruct
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- GoFigure::StubHttpFetcher::HashStruct
- Defined in:
- lib/go_figure/test/stub_http_fetcher.rb
Overview
Careful : this will respond to any call with nil
Instance Method Summary collapse
Instance Method Details
#[](key) ⇒ Object
6 7 8 |
# File 'lib/go_figure/test/stub_http_fetcher.rb', line 6 def [](key) self.headers[key] end |