Class: Hilbert::Parser::LangEqualizer
- Inherits:
-
Object
- Object
- Hilbert::Parser::LangEqualizer
- Defined in:
- lib/hilbert/parser.rb
Overview
FIXIT
Class Method Summary collapse
Class Method Details
.execute(str) ⇒ Object
105 106 107 108 109 110 111 112 |
# File 'lib/hilbert/parser.rb', line 105 def self.execute(str) case .lang when :ruby str.gsub(/\^/, '**') else str end end |