Sha256: 8800813d4058b32600abd157b3bfcba4534f924c09e38b2cdf73c07a89e6026c

Contents?: true

Size: 525 Bytes

Versions: 3

Compression:

Stored size: 525 Bytes

Contents

# frozen_string_literal: true

require 'sparrow/version'
require 'active_support'
require 'active_model'
require 'activemodel_object_info'
require 'sparrow/boolean'
require 'sparrow/class_methods'
require 'sparrow/base'

#
# 实体总模组,统括所有支持基于 **ActiveModel** 的实体类的内容。
#
# @author Shiner <shiner527@hotmail.com>
#
module Sparrow
  # 加载本插件自带默认的 i18n 信息内容
  ::Dir[::File.expand_path('lib/config/locales/sparrow/*.yml')].each { |f| ::I18n.load_path << f }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sparrow-entity-0.2.0 lib/sparrow.rb
sparrow-entity-0.1.4 lib/sparrow.rb
sparrow-entity-0.1.3 lib/sparrow.rb