ext/numo/gsl/cdf/erbpp_cdf.rb in numo-gsl-0.1.1 vs ext/numo/gsl/cdf/erbpp_cdf.rb in numo-gsl-0.1.2
- old
+ new
@@ -1,7 +1,6 @@
require_relative "../gen/erbpp_gsl"
-require "erbpp/line_number"
cdf_methods = ErbppGsl.read_func.select do |h|
h[:func_name] =~ /^gsl_cdf_(\w+)$/ &&
h[:func_type] == "double"
end
@@ -19,9 +18,10 @@
end
end
end
DefLib.new do
+ set line_number: true
set erb_dir: "../gen/tmpl"
set erb_suffix: ".c"
name = "Cdf"
set file_name: "gsl_#{name.downcase}.c"