lib/parlour/rbs_generator/include.rb in parlour-6.0.1 vs lib/parlour/rbs_generator/include.rb in parlour-7.0.0

- old
+ new

@@ -78,15 +78,12 @@ # @return [void] def merge_into_self(others) # We don't need to change anything! We only merge identical includes end - sig { override.returns(String) } - # Returns a human-readable brief string description of this code. - # - # @return [String] - def describe - "Include (#{@type})" + sig { override.returns(T::Array[T.any(Symbol, T::Hash[Symbol, String])]) } + def describe_attrs + [{type: type}] # avoid quotes end end end end