Class: Insta::Redaction::Selector::Segment
- Inherits:
-
Struct
- Object
- Struct
- Insta::Redaction::Selector::Segment
- Defined in:
- lib/insta/redaction/selector.rb,
sig/insta/redaction/selector.rbs
Overview
: Struct[Symbol, untyped]
Instance Attribute Summary collapse
-
#type ⇒ Object
Returns the value of attribute type.
-
#value ⇒ Object
Returns the value of attribute value.
Class Method Summary collapse
Instance Attribute Details
#type ⇒ Object
Returns the value of attribute type
6 7 8 |
# File 'lib/insta/redaction/selector.rb', line 6 def type @type end |
#value ⇒ Object
Returns the value of attribute value
6 7 8 |
# File 'lib/insta/redaction/selector.rb', line 6 def value @value end |
Class Method Details
.new(type:, value:) ⇒ instance .new(arg0) ⇒ instance
11 12 |
# File 'sig/insta/redaction/selector.rbs', line 11
def self.new: (?type: untyped, ?value: untyped) -> instance
| ({ ?type: untyped, ?value: untyped }) -> instance
|