lib/code/parser/multiplication.rb in code-ruby-0.7.3 vs lib/code/parser/multiplication.rb in code-ruby-0.7.4

- old
+ new

@@ -9,19 +9,27 @@ def asterisk str("*") end + def multiplication_sign + str("×") + end + def slash str("/") end def percent str("%") end + def division_sign + str("÷") + end + def operator - asterisk | slash | percent + asterisk | slash | percent | multiplication_sign | division_sign end end end end