Sha256: da24c92a0737f17ff8dac83c31848f659da00448fad818227cfd8b5733e673e8
Contents?: true
Size: 215 Bytes
Versions: 2
Compression:
Stored size: 215 Bytes
Contents
class Symbol def jsonify self.to_s.camelize(:lower).to_sym end def l ActiveSupport::JSON::Variable.new(self.to_s) end def action(config = {}) config.merge(:action => self.to_s) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
netzke-core-0.6.1 | lib/netzke/core_ext/symbol.rb |
netzke-core-0.6.0 | lib/netzke/core_ext/symbol.rb |