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.18.1 lib/grumlin/traverser.rb
grumlin-0.18.0 lib/grumlin/traverser.rb
grumlin-0.17.0 lib/grumlin/traverser.rb
grumlin-0.16.1 lib/grumlin/traverser.rb
grumlin-0.16.0 lib/grumlin/traverser.rb
grumlin-0.15.6 lib/grumlin/traverser.rb
grumlin-0.15.4 lib/grumlin/traverser.rb
grumlin-0.15.3 lib/grumlin/traverser.rb
grumlin-0.15.2 lib/grumlin/traverser.rb
grumlin-0.15.1 lib/grumlin/traverser.rb
grumlin-0.15.0 lib/grumlin/traverser.rb