lib/grumlin/u.rb in grumlin-0.4.0 vs lib/grumlin/u.rb in grumlin-0.5.0
- old
+ new
@@ -1,18 +1,13 @@
# frozen_string_literal: true
module Grumlin
module U
- module U
- extend self # rubocop:disable Style/ModuleFunction
-
+ class << self
%w[addV V has count out values unfold].each do |step|
define_method step do |*args|
AnonymousStep.new(step, *args)
end
end
end
-
- # TODO: add alias __
- extend U
end
end