I'm experimenting with LowType.
I have this:
require "low_type"
[...]
class Something
include LowType
def initialize(hash)
Do I need to include that Module everywhere or just require it once? I adjusted the signature like so:
def initialize(hash: Hash[String => String])
And now I see this when I run tests:
ArgumentError: wrong number of arguments (given 1, expected 0)
lib/sidekiq/api.rb:1075:in 'initialize'