sig/orthoses/builder.rbs in orthoses-1.6.0 vs sig/orthoses/builder.rbs in orthoses-1.7.0
- old
+ new
@@ -1,6 +1,15 @@
# THIS IS GENERATED CODE from `$ rake generate_self_sig`
+# Middleware builder like the Rack
+# Builder.new do
+# use Orthoses::CreateFileByName
+# use Orthoses::Constant
+# use Orthoses::Mixin
+# use Orthoses::Walk,
+# root: "Foo"
+# run ->() { require 'foo' }
+# end
class Orthoses::Builder
def initialize: () ?{ () -> untyped } -> void
def use: (untyped middleware, *untyped args, **untyped key) ?{ () -> untyped } -> untyped
def run: (untyped loader) -> untyped
def to_loader: () -> untyped