Sha256: df736d1ef659a63b4e4aacd5a748a3e9ec776d57e2b592fe0a9b865b3fa6c697
Contents?: true
Size: 552 Bytes
Versions: 15
Compression:
Stored size: 552 Bytes
Contents
module FilteredColumn module Macros class Base class << self def macro_name set_name self.name.demodulize.sub(/Macro$/, '') end def set_name(name) class << self; attr_reader :macro_name ; end @macro_name = name end def macro_key set_key self.name.demodulize.underscore.to_sym end def set_key(key) class << self; attr_reader :macro_key ; end @macro_key = key end end end end end
Version data entries
15 entries across 15 versions & 2 rubygems