Class: Flatito::YAMLWithLineNumber::ValueWithLineNumbers

Inherits:
Struct
  • Object
show all
Defined in:
lib/flatito/yaml_with_line_number.rb

Instance Attribute Summary collapse

Instance Attribute Details

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



9
10
11
# File 'lib/flatito/yaml_with_line_number.rb', line 9

def line
  @line
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



9
10
11
# File 'lib/flatito/yaml_with_line_number.rb', line 9

def value
  @value
end