Module: StubFactory::ArrayExtensions
- Defined in:
- lib/stub_factory.rb
Instance Method Summary collapse
Instance Method Details
#extract_options! ⇒ Object
15 16 17 |
# File 'lib/stub_factory.rb', line 15 def last.is_a?(Hash) ? pop : {} end |
15 16 17 |
# File 'lib/stub_factory.rb', line 15 def last.is_a?(Hash) ? pop : {} end |