lib/how_is.rb in how_is-4.0.0 vs lib/how_is.rb in how_is-5.0.0
- old
+ new
@@ -31,17 +31,15 @@
end
def self.can_export_to?(file)
supported_formats.include?(file.split('.').last)
end
-private
-
-Contract C::KeywordArgs[repository: String,
- from_file: C::Optional[C::Or[String, nil]],
- fetcher: C::Optional[Class],
- analyzer: C::Optional[Class],
- github: C::Optional[C::Any]] => C::Any
+ Contract C::KeywordArgs[repository: String,
+ from_file: C::Optional[C::Or[String, nil]],
+ fetcher: C::Optional[Class],
+ analyzer: C::Optional[Class],
+ github: C::Optional[C::Any]] => C::Any
def self.generate_analysis(repository:,
from_file: nil,
fetcher: Fetcher.new,
analyzer: Analyzer.new,
github: nil)