Sha256: 41cefd0db9c4d75e0676888d0ac52d58904cb37d45c19945f74c0e7cfc072319
Contents?: true
Size: 181 Bytes
Versions: 1
Compression:
Stored size: 181 Bytes
Contents
module Superstore module Types class Base < ActiveModel::Type::Value def type self.class.name.demodulize.sub(/Type$/, '').underscore end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
superstore-3.0.0 | lib/superstore/types/base.rb |