Module: Refuge::Native

Defined in:
lib/refuge/native.rb

Defined Under Namespace

Classes: Base, Impl

Class Method Summary collapse

Class Method Details

.instanceObject



37
38
39
40
41
# File 'lib/refuge/native.rb', line 37

def instance
    @@success ||= require Refuge::LIBBASE_NATIVE + RbConfig::CONFIG[ 'host_os' ]
    Refuge::exit :os_not_supported unless @@success
    Impl.instance
end