Class: Refinement
Instance Attribute Summary collapse
-
#refined_class ⇒ Object
readonly
Returns the value of attribute refined_class.
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_added, #const_defined?, #const_get, #const_missing, #const_set, constants, #constants, #copy_class_variables, #copy_constants, #define_method, #extend_object, #extended, #freeze, #include, #include?, #included, #included_modules, #initialize, #initialize_copy, #initialize_dup, #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, #refinements, #remove_class_variable, #remove_const, #remove_method, #singleton_class?, #to_s, #undef_method, #using
Constructor Details
This class inherits a constructor from Module
Instance Attribute Details
#refined_class ⇒ Object (readonly)
Returns the value of attribute refined_class.
842 843 844 |
# File 'opal/opal/corelib/module.rb', line 842 def refined_class @refined_class end |
Instance Method Details
#inspect ⇒ Object
844 845 846 847 848 849 850 |
# File 'opal/opal/corelib/module.rb', line 844 def inspect if @refinement_module "#<refinement:#{@refined_class.inspect}@#{@refinement_module.inspect}>" else super end end |