Sha256: 8fc8dafb5757611e192c644855ce01115e1b1fe9d2d884e7ce7fbbbe861480dd

Contents?: true

Size: 211 Bytes

Versions: 15

Compression:

Stored size: 211 Bytes

Contents

# frozen_string_literal: true

class Grumlin::Traverser
  attr_reader :bulk, :value

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

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
grumlin-1.2.0 lib/grumlin/traverser.rb
grumlin-1.1.0 lib/grumlin/traverser.rb
grumlin-1.0.4 lib/grumlin/traverser.rb
grumlin-1.0.3 lib/grumlin/traverser.rb
grumlin-1.0.3.beta1 lib/grumlin/traverser.rb
grumlin-1.0.2 lib/grumlin/traverser.rb
grumlin-1.0.1 lib/grumlin/traverser.rb
grumlin-1.0.0 lib/grumlin/traverser.rb
grumlin-1.0.0.rc7 lib/grumlin/traverser.rb
grumlin-1.0.0.rc6 lib/grumlin/traverser.rb
grumlin-1.0.0.rc5 lib/grumlin/traverser.rb
grumlin-1.0.0.rc4 lib/grumlin/traverser.rb
grumlin-1.0.0.rc3 lib/grumlin/traverser.rb
grumlin-1.0.0.rc2 lib/grumlin/traverser.rb
grumlin-1.0.0.rc1 lib/grumlin/traverser.rb