Class: Solid::Parser::MethodCall
- Inherits:
-
Struct
- Object
- Struct
- Solid::Parser::MethodCall
- Includes:
- MethodWhitelist
- Defined in:
- lib/solid/parser.rb
Constant Summary collapse
- BUILTIN_HANDLERS =
{ :'&&' => ->(left, right) { left && right }, :'||' => ->(left, right) { left || right } }
Constants included from MethodWhitelist
MethodWhitelist::METHODS_BLACKLIST, MethodWhitelist::METHODS_WHITELIST
Instance Attribute Summary collapse
-
#arguments ⇒ Object
Returns the value of attribute arguments.
-
#name ⇒ Object
Returns the value of attribute name.
-
#receiver ⇒ Object
Returns the value of attribute receiver.
Instance Method Summary collapse
Methods included from MethodWhitelist
allow, deny, safely_respond_to?
Instance Attribute Details
#arguments ⇒ Object
Returns the value of attribute arguments
36 37 38 |
# File 'lib/solid/parser.rb', line 36 def arguments @arguments end |
#name ⇒ Object
Returns the value of attribute name
36 37 38 |
# File 'lib/solid/parser.rb', line 36 def name @name end |
#receiver ⇒ Object
Returns the value of attribute receiver
36 37 38 |
# File 'lib/solid/parser.rb', line 36 def receiver @receiver end |