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

Version Path
human_attributes-1.1.0 lib/human_attributes.rb
human_attributes-1.0.0 lib/human_attributes.rb
human_attributes-0.7.1 lib/human_attributes.rb
human_attributes-0.7.0 lib/human_attributes.rb
human_attributes-0.6.0 lib/human_attributes.rb
human_attributes-0.5.0 lib/human_attributes.rb
human_attributes-0.4.0 lib/human_attributes.rb
human_attributes-0.3.1 lib/human_attributes.rb
human_attributes-0.3.0 lib/human_attributes.rb