Class: Sinatra::Base
- Inherits:
-
Object
- Object
- Sinatra::Base
- Defined in:
- lib/sinatra/resource.rb
Class Method Summary collapse
Class Method Details
.helpers(*extensions, &block) ⇒ Object
105 106 107 108 |
# File 'lib/sinatra/resource.rb', line 105 def helpers(*extensions, &block) ResourceMapper::Helpers.class_eval(&block) if block_given? orig_helpers *extensions, &block end |
.orig_helpers ⇒ Object
104 |
# File 'lib/sinatra/resource.rb', line 104 alias_method :orig_helpers, :helpers |