Created
December 21, 2020 10:52
-
-
Save chalmagean/e466cc3e263cde70f59591af900b0c23 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# typed: true | |
class Printer | |
extend T::Sig | |
sig { params(person: Person).returns(String) } | |
def self.full_name(person); end | |
end | |
class Person | |
extend T::Sig | |
sig { params(fname: String, lname: String).void } | |
def initialize(fname, lname); end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment