Class: OurEelHacks::Middleware
- Inherits:
-
Object
- Object
- OurEelHacks::Middleware
- Defined in:
- lib/our-eel-hacks/middleware.rb
Instance Method Summary collapse
-
#initialize(flavor) ⇒ Middleware
constructor
A new instance of Middleware.
Constructor Details
#initialize(flavor) ⇒ Middleware
Returns a new instance of Middleware.
5 6 7 8 |
# File 'lib/our-eel-hacks/middleware.rb', line 5 def initialize(flavor) @flavor = flavor @canary_string = "Canary: #{Time.now.to_s}" end |