Class: Canopus::Snippet::Occurrence
- Inherits:
-
Data
- Object
- Data
- Canopus::Snippet::Occurrence
- Defined in:
- lib/canopus/snippet.rb,
sig/snippet.rbs
Instance Attribute Summary collapse
-
#index ⇒ Object
readonly
Returns the value of attribute index.
-
#parents ⇒ Object
readonly
Returns the value of attribute parents.
-
#range ⇒ Object
readonly
Returns the value of attribute range.
-
#transform ⇒ Object
readonly
Returns the value of attribute transform.
Class Method Summary collapse
Instance Attribute Details
#index ⇒ Object (readonly)
Returns the value of attribute index
19 20 21 |
# File 'lib/canopus/snippet.rb', line 19 def index @index end |
#parents ⇒ Object (readonly)
Returns the value of attribute parents
19 20 21 |
# File 'lib/canopus/snippet.rb', line 19 def parents @parents end |
#range ⇒ Object (readonly)
Returns the value of attribute range
19 20 21 |
# File 'lib/canopus/snippet.rb', line 19 def range @range end |
#transform ⇒ Object (readonly)
Returns the value of attribute transform
19 20 21 |
# File 'lib/canopus/snippet.rb', line 19 def transform @transform end |
Class Method Details
.new ⇒ instance
21 |
# File 'sig/snippet.rbs', line 21
def self.new: (Integer index, Range[Integer] range, Transform? transform, Array[Integer] parents) -> instance
|