lib/grumlin/sugar.rb in grumlin-0.11.0 vs lib/grumlin/sugar.rb in grumlin-0.12.0

- old
+ new

@@ -1,25 +1,27 @@ # frozen_string_literal: true module Grumlin module Sugar HELPERS = [ - Grumlin::U, - Grumlin::T, - Grumlin::P, - Grumlin::Pop, - Grumlin::Order + Grumlin::Tools::Order, + Grumlin::Tools::P, + Grumlin::Tools::Pop, + Grumlin::Tools::Scope, + Grumlin::Tools::T, + Grumlin::Tools::U, + Grumlin::Tools::WithOptions ].freeze def self.included(base) HELPERS.each do |helper| name = helper.name.split("::").last base.const_set(name, helper) end end def __ - Grumlin::U + Grumlin::Tools::U end def g Grumlin::Traversal.new end