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 }, :'and' => ->(left, right) { left and right }, :'or' => ->(left, right) { left or 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
46 47 48 |
# File 'lib/solid/parser.rb', line 46 def arguments @arguments end |
#name ⇒ Object
Returns the value of attribute name
46 47 48 |
# File 'lib/solid/parser.rb', line 46 def name @name end |
#receiver ⇒ Object
Returns the value of attribute receiver
46 47 48 |
# File 'lib/solid/parser.rb', line 46 def receiver @receiver end |