Class: Nitlink::Link

Inherits:
Struct
  • Object
show all
Defined in:
lib/nitlink/link.rb

Instance Attribute Summary collapse

Instance Attribute Details

#contextObject

Returns the value of attribute context

Returns:

  • (Object)

    the current value of context



2
3
4
# File 'lib/nitlink/link.rb', line 2

def context
  @context
end

#relation_typeObject

Returns the value of attribute relation_type

Returns:

  • (Object)

    the current value of relation_type



2
3
4
# File 'lib/nitlink/link.rb', line 2

def relation_type
  @relation_type
end

#targetObject

Returns the value of attribute target

Returns:

  • (Object)

    the current value of target



2
3
4
# File 'lib/nitlink/link.rb', line 2

def target
  @target
end

#target_attributesObject

Returns the value of attribute target_attributes

Returns:

  • (Object)

    the current value of target_attributes



2
3
4
# File 'lib/nitlink/link.rb', line 2

def target_attributes
  @target_attributes
end