Class: RbsActivesupport::Parser::MethodCall
- Inherits:
-
Object
- Object
- RbsActivesupport::Parser::MethodCall
- Defined in:
- lib/rbs_activesupport/parser.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
: Array.
-
#included ⇒ Object
readonly
: bool.
-
#name ⇒ Object
readonly
: t.
-
#trailing_comment ⇒ Object
readonly
: String?.
Instance Method Summary collapse
-
#initialize(name, args, private, included: false, trailing_comment: nil) ⇒ MethodCall
constructor
A new instance of MethodCall.
-
#private? ⇒ Boolean
: bool.
Constructor Details
#initialize(name, args, private, included: false, trailing_comment: nil) ⇒ MethodCall
Returns a new instance of MethodCall.
23 24 25 26 27 28 29 |
# File 'lib/rbs_activesupport/parser.rb', line 23 def initialize(name, args, private, included: false, trailing_comment: nil) #: void @name = name @args = args @private = private @included = included @trailing_comment = trailing_comment end |
Instance Attribute Details
#args ⇒ Object (readonly)
: Array
12 13 14 |
# File 'lib/rbs_activesupport/parser.rb', line 12 def args @args end |
#included ⇒ Object (readonly)
: bool
13 14 15 |
# File 'lib/rbs_activesupport/parser.rb', line 13 def included @included end |
#name ⇒ Object (readonly)
: t
11 12 13 |
# File 'lib/rbs_activesupport/parser.rb', line 11 def name @name end |
#trailing_comment ⇒ Object (readonly)
: String?
14 15 16 |
# File 'lib/rbs_activesupport/parser.rb', line 14 def trailing_comment @trailing_comment end |
Instance Method Details
#private? ⇒ Boolean
: bool
31 32 33 |
# File 'lib/rbs_activesupport/parser.rb', line 31 def private? #: bool @private end |