Sha256: a81515f29283619eb2e0b84830fb971c509771f91a70347a90ebf0e59e2e90a7
Contents?: true
Size: 1.65 KB
Versions: 1
Compression:
Stored size: 1.65 KB
Contents
# frozen_string_literal: true # # ronin-code-sql - A Ruby DSL for crafting SQL Injections. # # Copyright (c) 2007-2023 Hal Brodigan (postmodern.mod3 at gmail.com) # # ronin-code-sql is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published # by the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # ronin-code-sql is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License # along with ronin-code-sql. If not, see <https://www.gnu.org/licenses/>. # require 'ronin/code/sql/operators' require 'ronin/code/sql/emittable' module Ronin module Code module SQL # # Represents a SQL function call. # # @api semipublic # class Function include Operators include Emittable # The function's name. # # @return [Symbol] attr_reader :name # The function's arguments. # # @return [Array] attr_reader :arguments # # Creates a new Function object. # # @param [Symbol] name # The name of the function. # # @param [Array] arguments # The arguments being passed to the function. # def initialize(name,*arguments) @name = name @arguments = arguments end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ronin-code-sql-2.1.0 | lib/ronin/code/sql/function.rb |