Class: Flatito::FlattenYaml::Item

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

Instance Attribute Summary collapse

Instance Attribute Details

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



8
9
10
# File 'lib/flatito/flatten_yaml.rb', line 8

def key
  @key
end

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



8
9
10
# File 'lib/flatito/flatten_yaml.rb', line 8

def line
  @line
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



8
9
10
# File 'lib/flatito/flatten_yaml.rb', line 8

def value
  @value
end