Sha256: 680723c3698134b529d9e6d571fa712a2b987076733958355cfb6bd9de37535c

Contents?: true

Size: 226 Bytes

Versions: 31

Compression:

Stored size: 226 Bytes

Contents

# frozen_string_literal: true

module Grumlin
  class Traverser
    attr_reader :bulk, :value

    def initialize(value)
      @bulk = value.dig(:bulk, :@value) || 1
      @value = Typing.cast(value[:value])
    end
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
grumlin-0.23.0 lib/grumlin/traverser.rb
grumlin-0.22.5 lib/grumlin/traverser.rb
grumlin-0.22.4 lib/grumlin/traverser.rb
grumlin-0.22.3 lib/grumlin/traverser.rb
grumlin-0.22.2 lib/grumlin/traverser.rb
grumlin-0.22.1 lib/grumlin/traverser.rb
grumlin-0.22.0 lib/grumlin/traverser.rb
grumlin-0.21.1 lib/grumlin/traverser.rb
grumlin-0.21.0 lib/grumlin/traverser.rb
grumlin-0.20.2 lib/grumlin/traverser.rb
grumlin-0.20.1 lib/grumlin/traverser.rb
grumlin-0.20.0 lib/grumlin/traverser.rb
grumlin-0.19.7 lib/grumlin/traverser.rb
grumlin-0.19.6 lib/grumlin/traverser.rb
grumlin-0.19.5 lib/grumlin/traverser.rb
grumlin-0.19.4 lib/grumlin/traverser.rb
grumlin-0.19.3 lib/grumlin/traverser.rb
grumlin-0.19.2 lib/grumlin/traverser.rb
grumlin-0.19.1 lib/grumlin/traverser.rb
grumlin-0.19.0 lib/grumlin/traverser.rb