Class: Rigor::ModuleGraph::PackwerkOverlay::Package

Inherits:
Data
  • Object
show all
Defined in:
lib/rigor/module_graph/packwerk_overlay.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



23
24
25
# File 'lib/rigor/module_graph/packwerk_overlay.rb', line 23

def name
  @name
end

#rootObject (readonly)

Returns the value of attribute root

Returns:

  • (Object)

    the current value of root



23
24
25
# File 'lib/rigor/module_graph/packwerk_overlay.rb', line 23

def root
  @root
end

Instance Method Details

#to_sObject

Stable rendering for snapshot / debug output.



25
26
27
# File 'lib/rigor/module_graph/packwerk_overlay.rb', line 25

def to_s
  "Package(#{name})"
end