class Underware::BaseMW

Base class for middleware. Basically, it just demonstrates the interface that you need to support.

Public Instance Methods

call(*args) click to toggle source
# File lib/underware.rb, line 10
def call(*args)
  raise NotImplementedError
end
to_proc() click to toggle source
# File lib/underware.rb, line 14
def to_proc
  __other = self
  ->(*args){ __other.call(*args) }
end