extendis mixing in instance or class methods?
Foo.new.is_a? MyModule # => true, but if you extend the module it affects the type of
Foo.classnot the actual instance type
src/myproject/, and in a
src/myproject.crI basically just do
require "./src/myproject/*. Now I would like to add a "common.cr" file with common functionality between all the structs, implementing mostly class methods, and also available to users of the library. I can't seem to figure out how to get that to work.
nearly_equal?(x, y, rel_tol, abs_tol)method I wrote yesterday. This would be used in the implementation of several of each of the structs' instance methods.
AlwaysInlineannotation was implied, or a way to opt in/out
undefined macro method 'Path#instance_vars'confused me way longer than i wanna admit... it refers to