Skip to content

Commit aed4325

Browse files
committed
Ruby: Remove unused class
1 parent b66ea6e commit aed4325

File tree

3 files changed

+0
-12
lines changed

3 files changed

+0
-12
lines changed

ruby/ql/lib/codeql/ruby/frameworks/ActionMailbox.qll

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,6 @@ module ActionMailbox {
1717
result = DataFlow::getConstant("ActionMailbox").getConstant("Base").getADescendentModule()
1818
}
1919

20-
/**
21-
* A method in a mailbox which receives incoming mail.
22-
*/
23-
class Process extends DataFlow::MethodNode {
24-
Process() { this = controller().getAnInstanceMethod() and this.getMethodName() = "process" }
25-
}
26-
2720
/**
2821
* A call to `mail` on the return value of
2922
* `ActionMailbox::Base#inbound_email`, or a direct call to

ruby/ql/test/library-tests/frameworks/action_mailbox/ActionMailbox.expected

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
processMethods
2-
| action_mailbox.rb:2:3:7:5 | process |
3-
| action_mailbox.rb:15:5:17:7 | process |
41
messageInstances
52
| action_mailbox.rb:3:5:3:8 | call to mail |
63
| action_mailbox.rb:4:5:4:8 | call to mail |

ruby/ql/test/library-tests/frameworks/action_mailbox/ActionMailbox.ql

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ private import codeql.ruby.frameworks.ActionMailbox
22
private import codeql.ruby.DataFlow
33
private import codeql.ruby.dataflow.RemoteFlowSources
44

5-
query predicate processMethods(ActionMailbox::Process p) { any() }
6-
75
query predicate messageInstances(ActionMailbox::Mail c) { any() }
86

97
query predicate remoteFlowSources(RemoteFlowSource r) { any() }

0 commit comments

Comments
 (0)