Top Level Namespace

Defined Under Namespace

Modules: Binlog, Fluent, FlyDataModel, Flydata, FlydataCore, Hapyrus, JSON, Kodama

Instance Method Summary collapse

Instance Method Details

#append_load_path_if_not_exist(new_lib_path) ⇒ Object

load_path settings



2
3
4
5
# File 'lib/flydata.rb', line 2

def append_load_path_if_not_exist(new_lib_path)
  expanded_path = File.expand_path(new_lib_path)
  $LOAD_PATH.unshift expanded_path unless $LOAD_PATH.include? expanded_path
end