lib/lite/ruby/configuration.rb in lite-ruby-1.0.0 vs lib/lite/ruby/configuration.rb in lite-ruby-1.0.1

- old
+ new

@@ -3,27 +3,16 @@ module Lite module Ruby class Configuration - attr_accessor :array, :date, :enumerable, :hash, :integer, :kernel, :numeric, :object, :range, - :string, :time + attr_accessor :monkey_patches - # rubocop:disable Metrics/MethodLength def initialize - @array = true - @date = true - @enumerable = true - @hash = true - @integer = true - @kernel = true - @numeric = true - @object = true - @range = true - @string = true - @time = true + @monkey_patches = %w[ + array date enumerable hash integer kernel numeric object range string struct time + ] end - # rubocop:enable Metrics/MethodLength end def self.configuration @configuration ||= Configuration.new