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
abiquo-etk-0.4.33 vendor/activesupport-2.3.8/lib/active_support/json/variable.rb
abiquo-etk-0.4.32 vendor/activesupport-2.3.8/lib/active_support/json/variable.rb
abiquo-etk-0.4.29 vendor/activesupport-2.3.8/lib/active_support/json/variable.rb
abiquo-etk-0.4.25 vendor/activesupport-2.3.8/lib/active_support/json/variable.rb
abiquo-etk-0.4.24 vendor/activesupport-2.3.8/lib/active_support/json/variable.rb
abiquo-etk-0.4.23 vendor/activesupport-2.3.8/lib/active_support/json/variable.rb
abiquo-etk-0.4.22 vendor/activesupport-2.3.8/lib/active_support/json/variable.rb
abiquo-etk-0.4.20 vendor/activesupport-2.3.8/lib/active_support/json/variable.rb
abiquo-etk-0.4.19 vendor/activesupport-2.3.8/lib/active_support/json/variable.rb
abiquo-etk-0.4.18 vendor/activesupport-2.3.8/lib/active_support/json/variable.rb
abiquo-etk-0.4.17 vendor/activesupport-2.3.8/lib/active_support/json/variable.rb
abiquo-etk-0.4.16 vendor/activesupport-2.3.8/lib/active_support/json/variable.rb
abiquo-etk-0.4.15 vendor/activesupport-2.3.8/lib/active_support/json/variable.rb
abiquo-etk-0.4.14 vendor/activesupport-2.3.8/lib/active_support/json/variable.rb
abiquo-etk-0.4.13 vendor/activesupport-2.3.8/lib/active_support/json/variable.rb
activesupport-2.3.10 lib/active_support/json/variable.rb
activesupport-2.3.9 lib/active_support/json/variable.rb
activesupport-2.3.9.pre lib/active_support/json/variable.rb
vibes-bj-1.2.2 spec/rails_root/vendor/rails/activesupport/lib/active_support/json/variable.rb
vibes-bj-1.2.1 spec/rails_root/vendor/rails/activesupport/lib/active_support/json/variable.rb