Class: PlatformosCheck::GraphqlInForLoop::PartialInfo
- Inherits:
-
Object
- Object
- PlatformosCheck::GraphqlInForLoop::PartialInfo
- Defined in:
- lib/platformos_check/checks/graphql_in_for_loop.rb
Instance Attribute Summary collapse
-
#app_file ⇒ Object
readonly
Returns the value of attribute app_file.
-
#node ⇒ Object
readonly
Returns the value of attribute node.
Instance Method Summary collapse
-
#initialize(node:, app_file:) ⇒ PartialInfo
constructor
A new instance of PartialInfo.
Constructor Details
#initialize(node:, app_file:) ⇒ PartialInfo
Returns a new instance of PartialInfo.
15 16 17 18 |
# File 'lib/platformos_check/checks/graphql_in_for_loop.rb', line 15 def initialize(node:, app_file:) @node = node @app_file = app_file end |
Instance Attribute Details
#app_file ⇒ Object (readonly)
Returns the value of attribute app_file.
13 14 15 |
# File 'lib/platformos_check/checks/graphql_in_for_loop.rb', line 13 def app_file @app_file end |
#node ⇒ Object (readonly)
Returns the value of attribute node.
13 14 15 |
# File 'lib/platformos_check/checks/graphql_in_for_loop.rb', line 13 def node @node end |