lib/tee_logger/utils.rb in tee_logger-3.2.2 vs lib/tee_logger/utils.rb in tee_logger-3.2.3
- old
+ new
@@ -6,10 +6,10 @@
# @return [ParsedOption]
def extract_options(options)
options.each_with_object(ParsedOption.new(nil, 0)) do |val, obj|
case val
when Symbol then obj.logdev_name = name_reverse(val)
- when Fixnum then obj.indent_level = val
+ when Integer then obj.indent_level = val
else incorrect_option_error(val)
end
end
end