Methods
Instance Public methods
_warn_()
Link
Source: show
# File lib/rbconfig/obsolete.rb, line 5 def _warn_ loc, = caller_locations(2, 1) loc = "#{loc.to_s}: " if loc warn "#{loc}Use RbConfig instead of obsolete and deprecated Config." self end
const_missing(name)
Link
Source: show
# File lib/rbconfig/obsolete.rb, line 12 def const_missing(name) _warn_ ::RbConfig.const_get(name) end