Class: Arel::Nodes::SquareRoot
- Inherits:
-
UnaryOperation
- Object
- UnaryOperation
- Arel::Nodes::SquareRoot
- Defined in:
- lib/arel/extensions/square_root.rb
Overview
Instance Method Summary collapse
-
#initialize(operand) ⇒ SquareRoot
constructor
A new instance of SquareRoot.
Constructor Details
#initialize(operand) ⇒ SquareRoot
Returns a new instance of SquareRoot.
5 6 7 |
# File 'lib/arel/extensions/square_root.rb', line 5 def initialize(operand) super('|/', operand) end |