module Modware

Constants

VERSION

Public Class Methods

is_middleware?(mod) click to toggle source
# File lib/modware.rb, line 6
def self.is_middleware?(mod)
  (mod.instance_methods & [:before, :around, :after, :implement]).any?
end