module Refuge::Native

Public Instance Methods

instance() click to toggle source
# 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