Class: MendixBridge::DependencyIndex::Edge

Inherits:
Data
  • Object
show all
Defined in:
lib/mendix_bridge/dependency_index.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#from ⇒ Object (readonly)

Returns the value of attribute from



5
6
7
# File 'lib/mendix_bridge/dependency_index.rb', line 5

def from
  @from
end

#kind ⇒ Object (readonly)

Returns the value of attribute kind



5
6
7
# File 'lib/mendix_bridge/dependency_index.rb', line 5

def kind
  @kind
end

#path ⇒ Object (readonly)

Returns the value of attribute path



5
6
7
# File 'lib/mendix_bridge/dependency_index.rb', line 5

def path
  @path
end

#to ⇒ Object (readonly)

Returns the value of attribute to



5
6
7
# File 'lib/mendix_bridge/dependency_index.rb', line 5

def to
  @to
end

Instance Method Details

#to_h ⇒ Object



6
7
8
# File 'lib/mendix_bridge/dependency_index.rb', line 6

def to_h
  { from:, to:, kind:, path: }
end