Class: Class
- Inherits:
-
Object
- Object
- Class
- Defined in:
- lib/micon/support.rb
Instance Method Summary collapse
-
#register_as(*args) ⇒ Object
Usage: register_as :session, scope: :request register_as :loggger.
Instance Method Details
#register_as(*args) ⇒ Object
Usage:
register_as :session, scope: :request
register_as :loggger
5 6 7 |
# File 'lib/micon/support.rb', line 5 def register_as *args ::MICON.register(*args){self.new} end |