Class: Webhookdb::SpecHelpers::Service::Rewindable
- Inherits:
-
String
- Object
- String
- Webhookdb::SpecHelpers::Service::Rewindable
- Defined in:
- lib/webhookdb/spec_helpers/service.rb
Instance Method Summary collapse
-
#initialize(s) ⇒ Rewindable
constructor
A new instance of Rewindable.
- #read ⇒ Object
- #rewind ⇒ Object
Constructor Details
#initialize(s) ⇒ Rewindable
Returns a new instance of Rewindable.
64 65 66 67 |
# File 'lib/webhookdb/spec_helpers/service.rb', line 64 def initialize(s) super @s = s end |
Instance Method Details
#read ⇒ Object
69 70 71 |
# File 'lib/webhookdb/spec_helpers/service.rb', line 69 def read(*) return @s end |
#rewind ⇒ Object
73 74 75 |
# File 'lib/webhookdb/spec_helpers/service.rb', line 73 def rewind(*) nil end |