Class: Refinement

Inherits:
Module show all
Defined in:
opal/opal/corelib/module.rb

Instance Method Summary collapse

Methods inherited from Module

#<, #<=, #<=>, #===, #>, #>=, #__marshal__, #alias_method, #alias_native, allocate, #ancestors, #append_features, #attr, #attr_accessor, #attr_reader, #attr_writer, #autoload, #autoload?, #class_variable_defined?, #class_variable_get, #class_variable_set, #class_variables, #const_defined?, #const_get, #const_missing, #const_set, constants, #constants, #copy_class_variables, #copy_constants, #define_method, #dup, #extend_object, #extended, #freeze, #include, #include?, #included, #included_modules, #initialize, #instance_method, #instance_methods, #instance_variables, #method_added, #method_defined?, #method_removed, #method_undefined, #module_eval, #module_exec, #module_function, #name, nesting, #prepend, #prepend_features, #prepended, #private_class_method, #private_constant, #private_method_defined?, #public, #public_constant, #refine, #remove_class_variable, #remove_const, #remove_method, #singleton_class?, #to_s, #undef_method, #using

Constructor Details

This class inherits a constructor from Module

Instance Method Details

#inspectObject



783
784
785
786
787
788
789
# File 'opal/opal/corelib/module.rb', line 783

def inspect
  if @refinement_module
    "#<refinement:#{@refined_class.inspect}@#{@refinement_module.inspect}>"
  else
    super
  end
end