Class: Lowkey::ClassProxy
- Inherits:
-
ModuleProxy
- Object
- Proxy
- ModuleProxy
- Lowkey::ClassProxy
- Defined in:
- lib/proxies/class_proxy.rb
Instance Attribute Summary collapse
-
#class_binding ⇒ Object
Returns the value of attribute class_binding.
-
#instance_methods ⇒ Object
Returns the value of attribute instance_methods.
Attributes inherited from ModuleProxy
#class_methods, #keyed_methods, #method_calls, #namespace, #private_start_line
Attributes inherited from Proxy
Instance Method Summary collapse
-
#initialize(node:, name:, namespace:, source:) ⇒ ClassProxy
constructor
A new instance of ClassProxy.
Methods inherited from ModuleProxy
Methods included from Query
Constructor Details
#initialize(node:, name:, namespace:, source:) ⇒ ClassProxy
Returns a new instance of ClassProxy.
9 10 11 12 13 14 |
# File 'lib/proxies/class_proxy.rb', line 9 def initialize(node:, name:, namespace:, source:) super(node:, name:, namespace:, source:) @instance_methods = {} @class_binding = nil end |
Instance Attribute Details
#class_binding ⇒ Object
Returns the value of attribute class_binding.
7 8 9 |
# File 'lib/proxies/class_proxy.rb', line 7 def class_binding @class_binding end |
#instance_methods ⇒ Object
Returns the value of attribute instance_methods.
7 8 9 |
# File 'lib/proxies/class_proxy.rb', line 7 def instance_methods @instance_methods end |