Created
August 8, 2019 04:50
-
-
Save panthomakos/ef5264269bcd568755a5d01182433417 to your computer and use it in GitHub Desktop.
suggest-typed and todo hang
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 Hi | |
def self.meta(arg) | |
define_method(arg) { nil } | |
end | |
meta :a | |
end |
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
gem 'sorbet' |
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
--dir | |
. | |
--dsl-plugins | |
sorbet/triggers.yml |
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
source = ARGV[5] | |
/meta\s*:([\w]+)$/m.match(source) do |data| | |
puts "def #{data[1]}; end" | |
end |
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
ruby_extra_args: | |
- '--disable-gems' | |
triggers: | |
meta: sorbet/meta.rb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment