Module: KUtil

Defined in:
lib/k_util.rb,
lib/k_util/version.rb,
lib/k_util/data_helper.rb,
lib/k_util/file_helper.rb,
lib/k_util/open3_helper.rb,
lib/k_util/console_helper.rb,
lib/k_util/data/instance_variables_to_h.rb

Overview

Provide data object helper functions include KUtil::Data::InstanceVariablesToH

Defined Under Namespace

Modules: Data Classes: ConsoleHelper, DataHelper, FileHelper, Open3Helper

Constant Summary collapse

Open3Error =

raise KUtil::Open3Error, ‘Sample message’

Class.new(StandardError)
VERSION =
'0.0.29'

Class Attribute Summary collapse

Class Attribute Details

.consoleObject

Returns the value of attribute console.



18
19
20
# File 'lib/k_util.rb', line 18

def console
  @console
end

.dataObject

Returns the value of attribute data.



19
20
21
# File 'lib/k_util.rb', line 19

def data
  @data
end

.fileObject

Returns the value of attribute file.



20
21
22
# File 'lib/k_util.rb', line 20

def file
  @file
end

.open3Object

Returns the value of attribute open3.



21
22
23
# File 'lib/k_util.rb', line 21

def open3
  @open3
end