Sha256: a11adf21d8edc0007fd9d01986b3af277a5bd3323e326efdb920f2b730b49fa2

Contents?: true

Size: 393 Bytes

Versions: 8

Compression:

Stored size: 393 Bytes

Contents

module ForemanStatistics
  module GeneralSettingDecorations
    def self.prepended(base)
      class << base
        prepend ClassMethodsPrepend
      end
    end

    module ClassMethodsPrepend
      def default_settings
        super.concat([
                       set('max_trend', N_('Max days for Trends graphs'), 30, N_('Max trends'))
                     ])
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
foreman_statistics-1.2.0 app/models/concerns/foreman_statistics/general_setting_decorations.rb
foreman_statistics-1.1.1 app/models/concerns/foreman_statistics/general_setting_decorations.rb
foreman_statistics-1.1.0 app/models/concerns/foreman_statistics/general_setting_decorations.rb
foreman_statistics-1.0.0 app/models/concerns/foreman_statistics/general_setting_decorations.rb
foreman_statistics-0.1.3 app/models/concerns/foreman_statistics/general_setting_decorations.rb
foreman_statistics-0.1.2 app/models/concerns/foreman_statistics/general_setting_decorations.rb
foreman_statistics-0.1.1 app/models/concerns/foreman_statistics/general_setting_decorations.rb
foreman_statistics-0.1.0 app/models/concerns/foreman_statistics/general_setting_decorations.rb