class Rx::Check::FileSystemCheck
Constants
- FILENAME
Attributes
name[R]
Public Class Methods
new(name = "fs")
click to toggle source
# File lib/rx/check/file_system_check.rb, line 8 def initialize(name = "fs") @name = name end
Public Instance Methods
check()
click to toggle source
# File lib/rx/check/file_system_check.rb, line 12 def check Result.from(name) do !!Tempfile.open(FILENAME) do |f| f.write("ok") f.flush end end end