Exception: ActionControllerTweaks::Session::InvalidOptionValue
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- ActionControllerTweaks::Session::InvalidOptionValue
- Defined in:
- lib/action_controller_tweaks/session.rb
Class Method Summary collapse
Class Method Details
.new(option_key, options_value, expected_types) ⇒ Object
48 49 50 51 |
# File 'lib/action_controller_tweaks/session.rb', line 48 def self.new(option_key, , expected_types) super("option key `#{option_key}` should contain value with type(s): #{expected_types}, "\ "but got <#{.inspect}> (#{.class})") end |