Class: ValidData::Result

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

Overview

Result serves as a data structure between Runner and Printer

Instance Attribute Summary collapse

Instance Attribute Details

#invalid_countObject

Returns the value of attribute invalid_count



10
11
12
# File 'lib/valid_data.rb', line 10

def invalid_count
  @invalid_count
end

#nameObject

Returns the value of attribute name



10
11
12
# File 'lib/valid_data.rb', line 10

def name
  @name
end

#totalObject

Returns the value of attribute total



10
11
12
# File 'lib/valid_data.rb', line 10

def total
  @total
end