Class: ShuntingYard::ReversePolishNotation

Inherits:
Array
  • Object
show all
Defined in:
lib/shunting_yard/reverse_polish_notation.rb

Instance Method Summary collapse

Instance Method Details

#to_sObject



3
4
5
# File 'lib/shunting_yard/reverse_polish_notation.rb', line 3

def to_s
  self.map(&:value).join(" ")
end