Sha256: 840a2434291ddb313ea3f16e15c35843703cf505441420a96fbcabbe1b066ede

Contents?: true

Size: 327 Bytes

Versions: 1

Compression:

Stored size: 327 Bytes

Contents

module ActiveData
  module Model
    module Extensions
      module String
        extend ActiveSupport::Concern

        module ClassMethods
          def modelize value
            value.to_s if value.present?
          end
        end
      end
    end
  end
end

String.send :include, ActiveData::Model::Extensions::String

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
active_data-0.0.1 lib/active_data/model/extensions/string.rb