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

Version Path
steep-0.11.1 smoke/hash/c.rb
steep-0.11.0 smoke/hash/c.rb
steep-0.10.0 smoke/hash/c.rb
steep-0.9.0 smoke/hash/c.rb
steep-0.8.2 smoke/hash/c.rb
steep-0.8.1 smoke/hash/c.rb
steep-0.8.0 smoke/hash/c.rb
steep-0.7.1 smoke/hash/c.rb
steep-0.7.0 smoke/hash/c.rb
steep-0.6.0 smoke/hash/c.rb