Method: Rusql::Operand#initialize
- Defined in:
- lib/rusql/operand.rb
#initialize(op) ⇒ Operand
Returns a new instance of Operand.
3 4 5 6 |
# File 'lib/rusql/operand.rb', line 3 def initialize(op) raise TypeException.new(String, op.class) unless op.is_a?(String) @op = op end |