Class: Diagnostics::Data::List

Inherits:
Struct
  • Object
show all
Defined in:
lib/diagnostics/data/list.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#valuesObject

Returns the value of attribute values

Returns:

  • (Object)

    the current value of values



3
4
5
# File 'lib/diagnostics/data/list.rb', line 3

def values
  @values
end

Instance Method Details

#htmlObject



9
10
11
# File 'lib/diagnostics/data/list.rb', line 9

def html
  values.join('<br />')
end

#plainObject



5
6
7
# File 'lib/diagnostics/data/list.rb', line 5

def plain
  values.join("\n")
end