Class: Rubycop::Analyzer::Ruby::Defined
- Defined in:
- lib/rubycop/analyzer/ruby/definitions.rb
Instance Attribute Summary collapse
-
#expression ⇒ Object
readonly
Returns the value of attribute expression.
Instance Method Summary collapse
-
#initialize(expression) ⇒ Defined
constructor
A new instance of Defined.
Methods inherited from Node
Constructor Details
#initialize(expression) ⇒ Defined
Returns a new instance of Defined.
19 20 21 |
# File 'lib/rubycop/analyzer/ruby/definitions.rb', line 19 def initialize(expression) @expression = expression end |
Instance Attribute Details
#expression ⇒ Object (readonly)
Returns the value of attribute expression.
23 24 25 |
# File 'lib/rubycop/analyzer/ruby/definitions.rb', line 23 def expression @expression end |