module DTK::Client::FileHelper

Public Class Methods

get_content?(file_path) click to toggle source
# File lib/client/util/file_helper.rb, line 3
def self.get_content?(file_path)
  File.open(file_path).read if file_path && File.exists?(file_path)
end