Class: Boolean::Expression::Group

Inherits:
Array
  • Object
show all
Defined in:
lib/boolean/expression/group.rb

Overview

– Copyleft meh. [meh.paranoid.pk | [email protected]]

This file is part of boolean-expression.

boolean-expression is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

boolean-expression 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 Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with boolean-expression. If not, see <www.gnu.org/licenses/>. ++

Instance Method Summary collapse

Instance Method Details

#to_sObject Also known as: inspect



21
22
23
# File 'lib/boolean/expression/group.rb', line 21

def to_s
	'(' + map { |e| e.inspect }.join(' ') + ')'
end