Class: LaunchDarkly::Impl::FileData::Poller::FileState Private

Inherits:
Struct
  • Object
show all
Defined in:
lib/ldclient-rb/impl/file_data/poller.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

The observed state of one file, or its absence.

Since:

  • 5.5.0

Instance Attribute Summary collapse

Instance Attribute Details

#exists ⇒ Object

Returns the value of attribute exists

Returns:

  • (Object) —

    the current value of exists



25
26
27
# File 'lib/ldclient-rb/impl/file_data/poller.rb', line 25

def exists
  @exists
end

#mtime ⇒ Object

Returns the value of attribute mtime

Returns:

  • (Object) —

    the current value of mtime



25
26
27
# File 'lib/ldclient-rb/impl/file_data/poller.rb', line 25

def mtime
  @mtime
end

#size ⇒ Object

Returns the value of attribute size

Returns:

  • (Object) —

    the current value of size



25
26
27
# File 'lib/ldclient-rb/impl/file_data/poller.rb', line 25

def size
  @size
end