Class: Envdoctor::Scanner::Definition

Inherits:
Struct
  • Object
show all
Defined in:
lib/envdoctor/scanner.rb

Overview

A single .env definition occurrence: its line and parsed value.

Instance Attribute Summary collapse

Instance Attribute Details

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



29
30
31
# File 'lib/envdoctor/scanner.rb', line 29

def line
  @line
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



29
30
31
# File 'lib/envdoctor/scanner.rb', line 29

def value
  @value
end