Class: BreezyPDF::Intercept::Base
- Inherits:
-
Object
- Object
- BreezyPDF::Intercept::Base
- Defined in:
- lib/breezy_pdf/intercept/base.rb
Overview
:nodoc
Direct Known Subclasses
Instance Attribute Summary collapse
-
#app ⇒ Object
readonly
Returns the value of attribute app.
-
#env ⇒ Object
readonly
Returns the value of attribute env.
Instance Method Summary collapse
-
#initialize(app, env) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(app, env) ⇒ Base
Returns a new instance of Base.
8 9 10 11 12 |
# File 'lib/breezy_pdf/intercept/base.rb', line 8 def initialize(app, env) @app = app @env = env @start_time = Process.clock_gettime(Process::CLOCK_MONOTONIC) end |
Instance Attribute Details
#app ⇒ Object (readonly)
Returns the value of attribute app.
6 7 8 |
# File 'lib/breezy_pdf/intercept/base.rb', line 6 def app @app end |
#env ⇒ Object (readonly)
Returns the value of attribute env.
6 7 8 |
# File 'lib/breezy_pdf/intercept/base.rb', line 6 def env @env end |