Sha256: 6c66eb2a7332754d42b393dd0255ca6c9910d1b02c21cae22651ec7e5d631eaf
Contents?: true
Size: 327 Bytes
Versions: 1
Compression:
Stored size: 327 Bytes
Contents
class Symbol def jsonify self.to_s.jsonify.to_sym end def l ActiveSupport::JSON::Variable.new(self.to_s) end def action(config = {}) config.merge(:action => self) end def component(config = {}) config.merge(:netzke_component => self) end def to_cls_attr "__#{self}__".to_sym end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
netzke-core-0.7.7 | lib/netzke/core_ext/symbol.rb |