lib/lite/ruby.rb in lite-ruby-1.3.2 vs lib/lite/ruby.rb in lite-ruby-1.3.3
- old
+ new
@@ -1,7 +1,9 @@
# frozen_string_literal: true
+require 'generators/lite/ruby/install_generator' if defined?(Rails::Generators)
+
%w[version configuration].each do |filename|
require "lite/ruby/#{filename}"
end
%w[date time].each do |filename|
@@ -12,7 +14,5 @@
array boolean date enumerable hash integer kernel numeric object open_struct range string
struct time
].each do |filename|
require "lite/ruby/#{filename}"
end
-
-require 'generators/lite/ruby/install_generator'