Class: Rubycop::Analyzer::Ruby::Hash
- Defined in:
- lib/rubycop/analyzer/ruby/hash.rb
Instance Attribute Summary collapse
-
#assocs ⇒ Object
readonly
Returns the value of attribute assocs.
Instance Method Summary collapse
-
#initialize(assocs) ⇒ Hash
constructor
A new instance of Hash.
Methods inherited from Node
Constructor Details
#initialize(assocs) ⇒ Hash
Returns a new instance of Hash.
5 6 7 |
# File 'lib/rubycop/analyzer/ruby/hash.rb', line 5 def initialize(assocs) @assocs = assocs end |
Instance Attribute Details
#assocs ⇒ Object (readonly)
Returns the value of attribute assocs.
9 10 11 |
# File 'lib/rubycop/analyzer/ruby/hash.rb', line 9 def assocs @assocs end |