Method: Rap::Declarations#instance

Defined in:
lib/rap/declarations.rb

#instance(klass) ⇒ Object

Returns the instance for the class, registered to app.



59
60
61
# File 'lib/rap/declarations.rb', line 59

def instance(klass)
  klass.instance(app)
end