Class: Moult::FlagsReport::Occurrence
- Inherits:
-
Struct
- Object
- Struct
- Moult::FlagsReport::Occurrence
- Defined in:
- lib/moult/flags_report.rb
Overview
One reference site of a flag. symbol_id is the best-effort enclosing-method
join key (shared across contracts), nil for a top-level reference. line is
the call-site line; method is the OpenFeature fetch method used (it implies
the value type and whether the _details variant was called).
Instance Attribute Summary collapse
-
#line ⇒ Object
Returns the value of attribute line.
-
#method_name ⇒ Object
Returns the value of attribute method_name.
-
#path ⇒ Object
Returns the value of attribute path.
-
#symbol_id ⇒ Object
Returns the value of attribute symbol_id.
Instance Method Summary collapse
Instance Attribute Details
#line ⇒ Object
Returns the value of attribute line
31 32 33 |
# File 'lib/moult/flags_report.rb', line 31 def line @line end |
#method_name ⇒ Object
Returns the value of attribute method_name
31 32 33 |
# File 'lib/moult/flags_report.rb', line 31 def method_name @method_name end |
#path ⇒ Object
Returns the value of attribute path
31 32 33 |
# File 'lib/moult/flags_report.rb', line 31 def path @path end |
#symbol_id ⇒ Object
Returns the value of attribute symbol_id
31 32 33 |
# File 'lib/moult/flags_report.rb', line 31 def symbol_id @symbol_id end |
Instance Method Details
#to_h ⇒ Object
32 33 34 |
# File 'lib/moult/flags_report.rb', line 32 def to_h {symbol_id: symbol_id, path: path, line: line, method: method_name} end |