Sha256: 583ee954383729ac36c1293cf48bb5332d8f82934c86577b796ecd5522e30151

Contents?: true

Size: 196 Bytes

Versions: 210

Compression:

Stored size: 196 Bytes

Contents

module ActiveSupport
  module JSON
    # A string that returns itself as its JSON-encoded form.
    class Variable < String
      def to_json(options=nil)
        self
      end
    end
  end
end

Version data entries

210 entries across 177 versions & 26 rubygems

Version Path
spree-0.0.9 vendor/rails/activesupport/lib/active_support/json/variable.rb
spree-0.2.0 vendor/rails/activesupport/lib/active_support/json/variable.rb
swivel-0.0.149 vendor/activesupport-2.0.2-/lib/active_support/json/variable.rb
swivel-0.0.150 vendor/activesupport-2.0.2-/lib/active_support/json/variable.rb
swivel-0.0.175 vendor/activesupport-2.0.2-/lib/active_support/json/variable.rb
swivel-0.0.156 vendor/activesupport-2.0.2-/lib/active_support/json/variable.rb
swivel-0.0.152 vendor/activesupport-2.0.2-/lib/active_support/json/variable.rb
swivel-0.0.155 vendor/activesupport-2.0.2-/lib/active_support/json/variable.rb
swivel-0.0.160 vendor/activesupport-2.0.2-/lib/active_support/json/variable.rb
swivel-0.0.157 vendor/activesupport-2.0.2-/lib/active_support/json/variable.rb