Sha256: 3a7559b68dbdb1fc7fda49033865c102bba1c3d82cb2ad420cf1f3e6647a4220
Contents?: true
Size: 559 Bytes
Versions: 6
Compression:
Stored size: 559 Bytes
Contents
# frozen_string_literal: true module FoundationRailsHelper class << self attr_writer :configuration end def self.configuration @configuration ||= Configuration.new end def self.reset @configuration = Configuration.new end def self.configure yield(configuration) end class Configuration attr_accessor :button_class attr_accessor :ignored_flash_keys attr_accessor :auto_labels def initialize @button_class = 'success button' @ignored_flash_keys = [] @auto_labels = true end end end
Version data entries
6 entries across 6 versions & 1 rubygems