lib/rouge/builtins.rb in rouge-lang-0.0.13 vs lib/rouge/builtins.rb in rouge-lang-0.0.14
- old
+ new
@@ -261,10 +261,10 @@
ns.refer Rouge[use.name]
end
when :require
params.each do |param|
if param.is_a? Rouge::Symbol
- Object.send.require param.name.to_s
+ Object.send :require, param.name.to_s
elsif param.is_a? Array and
param.length == 3 and
param[0].is_a? Rouge::Symbol and
param[1] == :as and
param[2].is_a? Rouge::Symbol