Sha256: 0a00cceaf2695c701cb898006b2e2316857877120b7b741b3d363bd99250eebd
Contents?: true
Size: 575 Bytes
Versions: 3
Compression:
Stored size: 575 Bytes
Contents
# typed: true module Parlour class DetachedRbiGenerator < RbiGenerator sig { returns(T.untyped) } def detached! raise "cannot call methods on a detached RBI generator" end sig { override.returns(Options) } def options detached! end sig { override.returns(Namespace) } def root detached! end sig { override.returns(T.nilable(Plugin)) } def current_plugin nil end sig { override.params(strictness: String).returns(String) } def rbi(strictness = 'strong') detached! end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
parlour-3.0.0 | lib/parlour/detached_rbi_generator.rb |
parlour-2.1.0 | lib/parlour/detached_rbi_generator.rb |
parlour-2.0.0 | lib/parlour/detached_rbi_generator.rb |