Class: RackAfterReply::Adapter::Base
- Inherits:
-
Object
- Object
- RackAfterReply::Adapter::Base
- Defined in:
- lib/rack_after_reply/adapter/base.rb
Class Method Summary collapse
Class Method Details
.apply ⇒ Object
4 5 6 7 8 |
# File 'lib/rack_after_reply/adapter/base.rb', line 4 def self.apply return if defined?(@applied) instance.apply @applied = true end |
.instance ⇒ Object
10 11 12 |
# File 'lib/rack_after_reply/adapter/base.rb', line 10 def self.instance @instance ||= new end |