lib/rbi.rb in rbi-0.1.13 vs lib/rbi.rb in rbi-0.1.14
- old
+ new
@@ -1,10 +1,17 @@
# typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "stringio"
+
+module RBI
+ class Error < StandardError
+ extend T::Sig
+ end
+end
+
require "rbi/loc"
require "rbi/model"
require "rbi/visitor"
require "rbi/index"
require "rbi/rewriters/add_sig_templates"
@@ -14,9 +21,10 @@
require "rbi/rewriters/merge_trees"
require "rbi/rewriters/nest_singleton_methods"
require "rbi/rewriters/nest_non_public_methods"
require "rbi/rewriters/group_nodes"
require "rbi/rewriters/remove_known_definitions"
+require "rbi/rewriters/attr_to_methods"
require "rbi/rewriters/sort_nodes"
require "rbi/parser"
require "rbi/printer"
require "rbi/formatter"
require "rbi/version"