Class: ShuntingYard::ReversePolishNotation
- Inherits:
-
Array
- Object
- Array
- ShuntingYard::ReversePolishNotation
- Defined in:
- lib/shunting_yard/reverse_polish_notation.rb
Instance Method Summary collapse
Instance Method Details
#to_s ⇒ Object
3 4 5 |
# File 'lib/shunting_yard/reverse_polish_notation.rb', line 3 def to_s self.map(&:value).join(" ") end |