Class: ActiveSupport::JSON::Encoding::JSONGemEncoder

Inherits:
Object
  • Object
show all
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_jsonifyObject



6
# File 'lib/breezy_template/active_support.rb', line 6

alias_method :original_jsonify, :jsonify