Sha256: b57b5ae3dcf43b0d0d838f1e0a44efac34273d5bfa820d828c943798483bd5bb

Contents?: true

Size: 300 Bytes

Versions: 35

Compression:

Stored size: 300 Bytes

Contents

# frozen_string_literal: true

module Grumlin
  class Path
    attr_reader :objects

    def initialize(path)
      @labels = Typing.cast(path[:labels])
      @objects = Typing.cast(path[:objects])
    end

    def inspect
      "p[#{@objects}]"
    end

    def to_s
      inspect
    end
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
grumlin-0.18.1 lib/grumlin/path.rb
grumlin-0.18.0 lib/grumlin/path.rb
grumlin-0.17.0 lib/grumlin/path.rb
grumlin-0.16.1 lib/grumlin/path.rb
grumlin-0.16.0 lib/grumlin/path.rb
grumlin-0.15.6 lib/grumlin/path.rb
grumlin-0.15.4 lib/grumlin/path.rb
grumlin-0.15.3 lib/grumlin/path.rb
grumlin-0.15.2 lib/grumlin/path.rb
grumlin-0.15.1 lib/grumlin/path.rb
grumlin-0.15.0 lib/grumlin/path.rb
grumlin-0.14.5 lib/grumlin/path.rb
grumlin-0.14.4 lib/grumlin/path.rb
grumlin-0.14.3 lib/grumlin/path.rb
grumlin-0.14.2 lib/grumlin/path.rb