lib/patternmatching/pattern.rb in patternmatching-0.1.0 vs lib/patternmatching/pattern.rb in patternmatching-0.1.1
- old
+ new
@@ -192,15 +192,16 @@
fragments
end
end
=begin
+# If installed from rubygems
+require "rubygems"
+gem "patternmatching"
+
# for use
require "patternmatching"
-# or from rubygems
-require "rubygems"
-gem "patternmatching"
# partial func example
class Calc
extend PatternMatching