Sha256: 19223e38f25182308500eaec8a5d70d8066be11cfd0a7de51e25ccec03eb8d4f
Contents?: true
Size: 416 Bytes
Versions: 10
Compression:
Stored size: 416 Bytes
Contents
# @type var params: t params = _ = nil id = params[:id] # !expects NoMethodError: type=::Integer, method=abcdefg id.abcdefg name = params[:name] # !expects NoMethodError: type=::String, method=abcdefg name.abcdefg # !expects NoMethodError: type=(::Integer | ::String | nil), method=abcdefg params[(_=nil) ? :id : :name].abcdefg # @type var controller: Controller controller = _ = nil controller.params[:id] + 3
Version data entries
10 entries across 10 versions & 1 rubygems