opal/corelib/marshal/read_buffer.rb
# Returns a constant by passed const_name,
#  re-raises Marshal-specific error when it's missing
#
Returns a constant by passed const_name,
re-raises Marshal-specific error when it's missing
Returns a constant by passed const_name re - raises Marshal - specific error when it ' s missing
def safe_const_get(const_name)
      Object.const_get(const_name)
    rescue NameError
      raise ArgumentError, "undefined class/module #{const_name}"
    end
def safe_const_get ( const_name ) Object . const_get ( const_name ) rescue NameError raise ArgumentError , "undefined class/module #{const_name}" end
Returns a constant by passed const_name,
re-raises Marshal-specific error when it's missing
Returns a constant by passed const_name re - raises Marshal - specific error when it ' s missing
const_name
<not_specific>