Class: Rubycop::Analyzer::Ruby::Arg
- Defined in:
- lib/rubycop/analyzer/ruby/args.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#arg ⇒ Object
readonly
Returns the value of attribute arg.
Instance Method Summary collapse
-
#initialize(arg) ⇒ Arg
constructor
A new instance of Arg.
Methods inherited from Node
Constructor Details
#initialize(arg) ⇒ Arg
Returns a new instance of Arg.
17 18 19 |
# File 'lib/rubycop/analyzer/ruby/args.rb', line 17 def initialize(arg) @arg = arg end |
Instance Attribute Details
#arg ⇒ Object (readonly)
Returns the value of attribute arg.
21 22 23 |
# File 'lib/rubycop/analyzer/ruby/args.rb', line 21 def arg @arg end |