Class: Rx::Check::FileSystemCheck
- Inherits:
-
Object
- Object
- Rx::Check::FileSystemCheck
- Defined in:
- lib/rx/check/file_system_check.rb
Constant Summary collapse
- FILENAME =
"rx".freeze
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#timeout ⇒ Object
readonly
Returns the value of attribute timeout.
Instance Method Summary collapse
- #check ⇒ Object
-
#initialize(name = "fs", timeout = 0) ⇒ FileSystemCheck
constructor
A new instance of FileSystemCheck.
Constructor Details
#initialize(name = "fs", timeout = 0) ⇒ FileSystemCheck
Returns a new instance of FileSystemCheck.
8 9 10 11 |
# File 'lib/rx/check/file_system_check.rb', line 8 def initialize(name = "fs", timeout = 0) @name = name @timeout = 0 end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
6 7 8 |
# File 'lib/rx/check/file_system_check.rb', line 6 def name @name end |
#timeout ⇒ Object (readonly)
Returns the value of attribute timeout.
6 7 8 |
# File 'lib/rx/check/file_system_check.rb', line 6 def timeout @timeout end |