Class: OKF::Pro::Friction::Report

Inherits:
Struct
  • Object
show all
Defined in:
lib/okf/pro/friction.rb

Overview

What report hands back. available is the honest half: false means the count is not zero, it is unknown. events, not entries: a Struct member of that name overrides Struct#entries — Enumerable's alias for to_a — and a reader that got the Struct's own fields back instead of the recorded lines would be a silently wrong count, which is the one thing this must not be.

Instance Attribute Summary collapse

Instance Attribute Details

#availableObject

Returns the value of attribute available

Returns:

  • (Object)

    the current value of available



44
45
46
# File 'lib/okf/pro/friction.rb', line 44

def available
  @available
end

#eventsObject

Returns the value of attribute events

Returns:

  • (Object)

    the current value of events



44
45
46
# File 'lib/okf/pro/friction.rb', line 44

def events
  @events
end

#unreadableObject

Returns the value of attribute unreadable

Returns:

  • (Object)

    the current value of unreadable



44
45
46
# File 'lib/okf/pro/friction.rb', line 44

def unreadable
  @unreadable
end