lib/lite/ruby.rb in lite-ruby-1.0.30 vs lib/lite/ruby.rb in lite-ruby-1.0.31
- old
+ new
@@ -2,14 +2,17 @@
%w[version configuration].each do |filename|
require "lite/ruby/#{filename}"
end
+%w[date time].each do |filename|
+ require "lite/ruby/helpers/#{filename}_helper"
+end
+
%w[
array boolean date enumerable hash integer kernel numeric object open_struct range string
struct time
].each do |filename|
- require "lite/ruby/helpers/#{filename}_helper" if %w[date time].include?(filename)
require "lite/ruby/#{filename}"
end
require 'generators/lite/ruby/install_generator'