Sha256: 25a3c8eaab1773f6cb20ec34c2a996308d8e700ba784564c339d62964d339d62
Contents?: true
Size: 545 Bytes
Versions: 4
Compression:
Stored size: 545 Bytes
Contents
# frozen_string_literal: true module Grumlin module Sugar HELPERS = [ 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::Tools::U end def g Grumlin::Traversal.new end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
grumlin-0.12.3 | lib/grumlin/sugar.rb |
grumlin-0.12.2 | lib/grumlin/sugar.rb |
grumlin-0.12.1 | lib/grumlin/sugar.rb |
grumlin-0.12.0 | lib/grumlin/sugar.rb |