Skip to content

Commit

Permalink
Annotate aasm instance method
Browse files Browse the repository at this point in the history
  • Loading branch information
bdewater committed Oct 29, 2023
1 parent f20fca3 commit 7405089
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rbi/annotations/aasm.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

module AASM
mixes_in_class_methods(AASM::ClassMethods)

sig { params(name: T.any(Symbol, String)).returns(AASM::InstanceBase) }
def aasm(name = :default); end
end

module AASM::ClassMethods
Expand Down

0 comments on commit 7405089

Please sign in to comment.