Module: Ronin::Code::SQL::Mixin
- Included in:
- Ronin::Code::SQL, Ronin::Code::SQL
- Defined in:
- lib/ronin/code/sql/mixin.rb
Overview
Adds helper methods for building SQL or SQL injections.
Instance Method Summary collapse
-
#sql {|(statements)| ... } ⇒ StatementList
Creates a new SQL statement list.
-
#sqli(**kwargs) {|(injection)| ... } ⇒ Injection
Creates a new SQL injection (SQLi).
Instance Method Details
#sql {|(statements)| ... } ⇒ StatementList
Creates a new SQL statement list.
53 54 55 |
# File 'lib/ronin/code/sql/mixin.rb', line 53 def sql(&block) StatementList.new(&block) end |