Class: Castle::Context::Sanitize

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

Overview

removes not proper active flag values

Class Method Summary collapse

Class Method Details

.call(context) ⇒ Object



8
9
10
# File 'lib/castle/context/sanitize.rb', line 8

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