module Micro
Public Class Methods
case?(arg)
click to toggle source
# File lib/micro/case.rb, line 282 def self.case?(arg) arg.is_a?(Class) && arg < Case end
case_or_flow?(arg)
click to toggle source
# File lib/micro/case.rb, line 286 def self.case_or_flow?(arg) case?(arg) || arg.is_a?(Cases::Flow) end