Class: EndpointSecurity::Stat

Inherits:
Data
  • Object
show all
Defined in:
lib/endpoint_security/object_model.rb

Overview

Immutable copy of a native stat structure.

Instance Attribute Summary collapse

Instance Attribute Details

#atime ⇒ Object (readonly)

Returns the value of attribute atime

Returns:

  • the current value of atime



7
8
9
# File 'lib/endpoint_security/object_model.rb', line 7

def atime
  @atime
end

#birthtime ⇒ Object (readonly)

Returns the value of attribute birthtime

Returns:

  • the current value of birthtime



7
8
9
# File 'lib/endpoint_security/object_model.rb', line 7

def birthtime
  @birthtime
end

#block_size ⇒ Object (readonly)

Returns the value of attribute block_size

Returns:

  • the current value of block_size



7
8
9
# File 'lib/endpoint_security/object_model.rb', line 7

def block_size
  @block_size
end

#blocks ⇒ Object (readonly)

Returns the value of attribute blocks

Returns:

  • the current value of blocks



7
8
9
# File 'lib/endpoint_security/object_model.rb', line 7

def blocks
  @blocks
end

#ctime ⇒ Object (readonly)

Returns the value of attribute ctime

Returns:

  • the current value of ctime



7
8
9
# File 'lib/endpoint_security/object_model.rb', line 7

def ctime
  @ctime
end

#dev ⇒ Object (readonly)

Returns the value of attribute dev

Returns:

  • the current value of dev



7
8
9
# File 'lib/endpoint_security/object_model.rb', line 7

def dev
  @dev
end

#gid ⇒ Object (readonly)

Returns the value of attribute gid

Returns:

  • the current value of gid



7
8
9
# File 'lib/endpoint_security/object_model.rb', line 7

def gid
  @gid
end

#ino ⇒ Object (readonly)

Returns the value of attribute ino

Returns:

  • the current value of ino



7
8
9
# File 'lib/endpoint_security/object_model.rb', line 7

def ino
  @ino
end

#mode ⇒ Object (readonly)

Returns the value of attribute mode

Returns:

  • the current value of mode



7
8
9
# File 'lib/endpoint_security/object_model.rb', line 7

def mode
  @mode
end

#mtime ⇒ Object (readonly)

Returns the value of attribute mtime

Returns:

  • the current value of mtime



7
8
9
# File 'lib/endpoint_security/object_model.rb', line 7

def mtime
  @mtime
end

Returns the value of attribute nlink

Returns:

  • the current value of nlink



7
8
9
# File 'lib/endpoint_security/object_model.rb', line 7

def nlink
  @nlink
end

#rdev ⇒ Object (readonly)

Returns the value of attribute rdev

Returns:

  • the current value of rdev



7
8
9
# File 'lib/endpoint_security/object_model.rb', line 7

def rdev
  @rdev
end

#size ⇒ Object (readonly)

Returns the value of attribute size

Returns:

  • the current value of size



7
8
9
# File 'lib/endpoint_security/object_model.rb', line 7

def size
  @size
end

#uid ⇒ Object (readonly)

Returns the value of attribute uid

Returns:

  • the current value of uid



7
8
9
# File 'lib/endpoint_security/object_model.rb', line 7

def uid
  @uid
end