Class: Canopus::Workspace::View::TerminalPresentable::Link

Inherits:
Data
  • Object
show all
Defined in:
lib/canopus/workspace/view/terminal_presentable.rb,
sig/controller.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#column ⇒ Object (readonly)

Returns the value of attribute column

Returns:

  • (Object) —

    the current value of column



9
10
11
# File 'lib/canopus/workspace/view/terminal_presentable.rb', line 9

def column
  @column
end

#kind ⇒ Object (readonly)

Returns the value of attribute kind

Returns:

  • (Object) —

    the current value of kind



9
10
11
# File 'lib/canopus/workspace/view/terminal_presentable.rb', line 9

def kind
  @kind
end

#line ⇒ Object (readonly)

Returns the value of attribute line

Returns:

  • (Object) —

    the current value of line



9
10
11
# File 'lib/canopus/workspace/view/terminal_presentable.rb', line 9

def line
  @line
end

#target ⇒ Object (readonly)

Returns the value of attribute target

Returns:

  • (Object) —

    the current value of target



9
10
11
# File 'lib/canopus/workspace/view/terminal_presentable.rb', line 9

def target
  @target
end

Class Method Details

.new ⇒ instance

Parameters:

  • kind (:url, :file)
  • target (String)
  • line (Integer, nil)
  • column (Integer, nil)

Returns:

  • (instance)


27
# File 'sig/controller.rbs', line 27

def self.new: (:url | :file kind, String target, Integer? line, Integer? column) -> instance