Class: Logfmt::Transformer::Pair

Inherits:
Struct
  • Object
show all
Defined in:
lib/logfmt/parser.rb

Instance Attribute Summary collapse

Instance Attribute Details

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



26
27
28
# File 'lib/logfmt/parser.rb', line 26

def key
  @key
end

#valObject

Returns the value of attribute val

Returns:

  • (Object)

    the current value of val



26
27
28
# File 'lib/logfmt/parser.rb', line 26

def val
  @val
end