Class: ActiveSupport::JSON::Encoding::JSONGemEncoder
- Inherits:
-
Object
- Object
- ActiveSupport::JSON::Encoding::JSONGemEncoder
- Defined in:
- lib/breezy_template/active_support.rb
Instance Method Summary collapse
Instance Method Details
#jsonify(value) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/breezy_template/active_support.rb', line 8 def jsonify(value) if ::BreezyTemplate::Var === value value else original_jsonify(value) end end |
#original_jsonify ⇒ Object
6 |
# File 'lib/breezy_template/active_support.rb', line 6 alias_method :original_jsonify, :jsonify |