Class: Reissue::NullFragmentHandler
- Inherits:
-
FragmentHandler
- Object
- FragmentHandler
- Reissue::NullFragmentHandler
- Defined in:
- lib/reissue/fragment_handler/null_fragment_handler.rb
Overview
Handler for when no fragment source is configured
Instance Method Summary collapse
-
#clear ⇒ nil
Clear fragments (no-op since no source is configured).
-
#read ⇒ Hash
Read fragments (returns empty hash since no source is configured).
Methods inherited from FragmentHandler
Instance Method Details
#clear ⇒ nil
Clear fragments (no-op since no source is configured)
16 17 18 |
# File 'lib/reissue/fragment_handler/null_fragment_handler.rb', line 16 def clear nil end |
#read ⇒ Hash
Read fragments (returns empty hash since no source is configured)
9 10 11 |
# File 'lib/reissue/fragment_handler/null_fragment_handler.rb', line 9 def read {} end |