Class: Class

Inherits:
Module show all
Defined in:
lib/laser/standard_library/class_definitions.rb

Class Method Summary (collapse)

Instance Method Summary (collapse)

Methods inherited from Module

#===, #const_defined?, #const_get, #const_set, #define_method, #instance_method, #instance_methods, #method_defined?, #module_eval, #name, #private_instance_methods, #protected_instance_methods, #public_instance_method, #public_instance_methods, #remove_method, #undef_method

Class Method Details

+ (Object) new(superklass = Object)

special: true pure: true



4
5
# File 'lib/laser/standard_library/class_definitions.rb', line 4

def self.new(superklass=Object)
end

Instance Method Details

- (Object) new(*args)



6
7
8
9
10
# File 'lib/laser/standard_library/class_definitions.rb', line 6

def new(*args)
  result = allocate
  result.send(:initialize, *args)
  result
end

- (Object) superclass

pure: true builtin: true



13
14
# File 'lib/laser/standard_library/class_definitions.rb', line 13

def superclass
end