Class: Castle::ContextSanitizer

Inherits:
Object
  • Object
show all
Defined in:
lib/castle/context_sanitizer.rb

Overview

removes not proper active flag values

Class Method Summary collapse

Class Method Details

.call(context) ⇒ Object



7
8
9
# File 'lib/castle/context_sanitizer.rb', line 7

def call(context)
  sanitized_active_mode(context) || {}
end