Class: ImproveYourCode::Context::SingletonAttributeContext

Inherits:
AttributeContext show all
Defined in:
lib/improve_your_code/context/singleton_attribute_context.rb

Instance Attribute Summary

Attributes inherited from AttributeContext

#visibility

Attributes inherited from CodeContext

#children, #exp, #parent, #statement_counter

Instance Method Summary collapse

Methods inherited from AttributeContext

#apply_current_visibility, #full_comment, #initialize

Methods inherited from CodeContext

#append_child_context, #apply_current_visibility, #config_for, #each, #full_name, #initialize, #local_nodes, #matches?, #number_of_statements, #record_call_to, #record_use_of_self, #register_with_parent, #singleton_method?

Constructor Details

This class inherits a constructor from ImproveYourCode::Context::AttributeContext

Instance Method Details

#instance_method?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/improve_your_code/context/singleton_attribute_context.rb', line 8

def instance_method?
  false
end