Sha256: 81903a4be31818428e1184228576a83426d3afd841e391a37e759c91b52e08ee

Contents?: true

Size: 287 Bytes

Versions: 10

Compression:

Stored size: 287 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
    alias to_s inspect
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
grumlin-0.14.1 lib/grumlin/path.rb
grumlin-0.14.0 lib/grumlin/path.rb
grumlin-0.13.1 lib/grumlin/path.rb
grumlin-0.13.0 lib/grumlin/path.rb
grumlin-0.12.5 lib/grumlin/path.rb
grumlin-0.12.4 lib/grumlin/path.rb
grumlin-0.12.3 lib/grumlin/path.rb
grumlin-0.12.2 lib/grumlin/path.rb
grumlin-0.12.1 lib/grumlin/path.rb
grumlin-0.12.0 lib/grumlin/path.rb