lib/skippy/lib_module.rb in skippy-0.4.1.a vs lib/skippy/lib_module.rb in skippy-0.4.2.a
- old
+ new
@@ -11,9 +11,10 @@
# @param [Skippy::Library] library
# @param [String] path
def initialize(library, path)
@path = Pathname.new(path)
raise ModuleNotFoundError, @path.to_s unless @path.file?
+
@library = library
end
def <=>(other)
other.is_a?(self.class) ? name <=> other.name : nil