Skip to content

Commit 29b52dd

Browse files
committed
Export RBI signatures
1 parent 49a9aea commit 29b52dd

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

rbi/rbi.rbi

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1684,6 +1684,9 @@ class RBI::RBSPrinter < ::RBI::Visitor
16841684

16851685
private
16861686

1687+
sig { params(node: ::RBI::Method, sig: ::RBI::Sig).returns(T::Boolean) }
1688+
def method_sig_starts_on_next_line?(node, sig); end
1689+
16871690
sig { params(node: ::RBI::Node).returns(T::Boolean) }
16881691
def oneline?(node); end
16891692

@@ -1702,6 +1705,9 @@ class RBI::RBSPrinter < ::RBI::Visitor
17021705
sig { params(node: ::RBI::Param, last: T::Boolean).void }
17031706
def print_param_comment_leading_space(node, last:); end
17041707

1708+
sig { params(param: ::RBI::SigParam).returns(T::Boolean) }
1709+
def print_sig_block_param?(param); end
1710+
17051711
sig { params(node: ::RBI::Method, param: ::RBI::SigParam).void }
17061712
def print_sig_param(node, param); end
17071713

@@ -1713,6 +1719,9 @@ class RBI::RBSPrinter < ::RBI::Visitor
17131719

17141720
sig { params(node: ::RBI::Method, sig: ::RBI::Sig).returns(T::Boolean) }
17151721
def sig_params_have_comments?(node, sig); end
1722+
1723+
sig { params(node: ::RBI::Method, sig: ::RBI::Sig).returns(T::Boolean) }
1724+
def sig_params_have_printable_comments?(node, sig); end
17161725
end
17171726

17181727
class RBI::RBSPrinter::Error < ::RBI::Error; end

0 commit comments

Comments
 (0)