Class: Moult::FlagScanner::CallSite

Inherits:
Struct
  • Object
show all
Defined in:
lib/moult/flag_scanner.rb

Overview

One detected OpenFeature flag-evaluation call site. flag_key is nil when the key is not a string/symbol literal (a dynamic reference: counted by the report, never catalogued, since a static scan cannot resolve it).

Instance Attribute Summary collapse

Instance Attribute Details

#default_valueObject

Returns the value of attribute default_value

Returns:

  • (Object)

    the current value of default_value



60
61
62
# File 'lib/moult/flag_scanner.rb', line 60

def default_value
  @default_value
end

#flag_keyObject

Returns the value of attribute flag_key

Returns:

  • (Object)

    the current value of flag_key



60
61
62
# File 'lib/moult/flag_scanner.rb', line 60

def flag_key
  @flag_key
end

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



60
61
62
# File 'lib/moult/flag_scanner.rb', line 60

def line
  @line
end

#method_nameObject

Returns the value of attribute method_name

Returns:

  • (Object)

    the current value of method_name



60
61
62
# File 'lib/moult/flag_scanner.rb', line 60

def method_name
  @method_name
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



60
61
62
# File 'lib/moult/flag_scanner.rb', line 60

def path
  @path
end

#value_typeObject

Returns the value of attribute value_type

Returns:

  • (Object)

    the current value of value_type



60
61
62
# File 'lib/moult/flag_scanner.rb', line 60

def value_type
  @value_type
end