lib/nydp/builtin.rb in nydp-0.1.1 vs lib/nydp/builtin.rb in nydp-0.1.2
- old
+ new
@@ -38,11 +38,12 @@
cname = cname.gsub(/([a-z])([A-Z])/) { |m| "#{m[0]}-#{m[1].downcase}" }
cname = cname.gsub(/^([A-Z])/) { |m| m.downcase }
cname
end
- def inspect ; "builtin/#{name}" ; end
- def to_s ; name ; end
+ def inspect ; "builtin/#{name}" ; end
+ def to_s ; name ; end
+ def nydp_type ; "fn" ; end
end
end
Dir[File.join(File.dirname(__FILE__), "builtin", "**/*.rb")].each {|f|
require f