Sha256: 94c79ec18915781d0ce5643bd2202d9629af034067833598bb0eba92877858cc

Contents?: true

Size: 352 Bytes

Versions: 13

Compression:

Stored size: 352 Bytes

Contents

# frozen_string_literal: true

module Grumlin
  module Sugar
    def self.included(base)
      base.include(Grumlin::Expressions)
    end

    def __(shortcuts = {})
      Grumlin::TraversalStart.new(shortcuts) # TODO: allow only regular and start steps
    end

    def g(shortcuts = {})
      Grumlin::TraversalStart.new(shortcuts)
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
grumlin-0.19.7 lib/grumlin/sugar.rb
grumlin-0.19.6 lib/grumlin/sugar.rb
grumlin-0.19.5 lib/grumlin/sugar.rb
grumlin-0.19.4 lib/grumlin/sugar.rb
grumlin-0.19.3 lib/grumlin/sugar.rb
grumlin-0.19.2 lib/grumlin/sugar.rb
grumlin-0.19.1 lib/grumlin/sugar.rb
grumlin-0.19.0 lib/grumlin/sugar.rb
grumlin-0.18.1 lib/grumlin/sugar.rb
grumlin-0.18.0 lib/grumlin/sugar.rb
grumlin-0.17.0 lib/grumlin/sugar.rb
grumlin-0.16.1 lib/grumlin/sugar.rb
grumlin-0.16.0 lib/grumlin/sugar.rb