Sha256: 8190071f2e2e3b42e5096e198a20ef0950dde65b915d4fd7f48a2d9681032211
Contents?: true
Size: 212 Bytes
Versions: 3
Compression:
Stored size: 212 Bytes
Contents
class Base include ClazzMethods attr_accessor :name def initialize name @name = name self.class.send :add, self end def to_s name end def model_name self.class.to_s end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
context_exposer-0.4.1 | spec/support/models/base.rb |
context_exposer-0.4.0 | spec/support/models/base.rb |
context_exposer-0.3.0 | spec/support/models/base.rb |