Sha256: 657c6e1762ce4c03839aabda2af4d0bac02ebb8a1c526f8fb905dcfc34772941

Contents?: true

Size: 536 Bytes

Versions: 1

Compression:

Stored size: 536 Bytes

Contents

# (c) 2017 Ribose Inc.
#

# Adds attr_accessors that mask an object's attributes
module AttrMasker
  autoload :Version, "attr_masker/version"
  autoload :Attribute, "attr_masker/attribute"
  autoload :Model, "attr_masker/model"

  autoload :Error, "attr_masker/error"
  autoload :Performer, "attr_masker/performer"

  module Maskers
    autoload :Replacing, "attr_masker/maskers/replacing"
    autoload :SIMPLE, "attr_masker/maskers/simple"
  end

  require "attr_masker/railtie" if defined?(Rails)
end

Object.extend AttrMasker::Model

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
attr_masker-0.1.1 lib/attr_masker.rb