Sha256: 436e8de65ccd65389db01fe8cfecb22994cc2aacf0f911fb8db58b911f2786df
Contents?: true
Size: 548 Bytes
Versions: 9
Compression:
Stored size: 548 Bytes
Contents
require "human_attributes/engine" module HumanAttributes extend self # You can add, in this module, your own configuration options as in the example below... # # attr_writer :my_option # # def my_option # return "Default Value" unless @my_option # @my_option # end # # Then, you can customize the default behaviour (typically in a Rails initializer) like this: # # HumanAttributes.setup do |config| # config.root_url = "Another value" # end def setup yield self require "human_attributes" end end
Version data entries
9 entries across 9 versions & 1 rubygems