Class: Canopus::Workspace::ClosedTab

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#index ⇒ Object (readonly)

Returns the value of attribute index

Returns:

  • (Object) —

    the current value of index



23
24
25
# File 'lib/canopus/workspace.rb', line 23

def index
  @index
end

#pane_id ⇒ Object (readonly)

Returns the value of attribute pane_id

Returns:

  • (Object) —

    the current value of pane_id



23
24
25
# File 'lib/canopus/workspace.rb', line 23

def pane_id
  @pane_id
end

#path ⇒ Object (readonly)

Returns the value of attribute path

Returns:

  • (Object) —

    the current value of path



23
24
25
# File 'lib/canopus/workspace.rb', line 23

def path
  @path
end

#scroll_x ⇒ Object (readonly)

Returns the value of attribute scroll_x

Returns:

  • (Object) —

    the current value of scroll_x



23
24
25
# File 'lib/canopus/workspace.rb', line 23

def scroll_x
  @scroll_x
end

#scroll_y ⇒ Object (readonly)

Returns the value of attribute scroll_y

Returns:

  • (Object) —

    the current value of scroll_y



23
24
25
# File 'lib/canopus/workspace.rb', line 23

def scroll_y
  @scroll_y
end

#selections ⇒ Object (readonly)

Returns the value of attribute selections

Returns:

  • (Object) —

    the current value of selections



23
24
25
# File 'lib/canopus/workspace.rb', line 23

def selections
  @selections
end

Class Method Details

.new ⇒ instance

Parameters:

  • path (String)
  • selections (Array[[Integer, Integer]])
  • scroll_x (Numeric)
  • scroll_y (Numeric)
  • pane_id (Integer)
  • index (Integer)

Returns:

  • (instance)


356
# File 'sig/canopus.rbs', line 356

def self.new: (String path, Array[[Integer, Integer]] selections, Numeric scroll_x, Numeric scroll_y, Integer pane_id, Integer index) -> instance