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
depengine-0.0.21 etc/isolate/ruby-1.8/gems/activesupport-2.3.8/lib/active_support/json/variable.rb
depengine-0.0.21 etc/isolate/jruby-1.8/gems/activesupport-2.3.8/lib/active_support/json/variable.rb
depengine-0.0.20 etc/isolate/jruby-1.8/gems/activesupport-2.3.8/lib/active_support/json/variable.rb
depengine-0.0.20 etc/isolate/ruby-1.8/gems/activesupport-2.3.8/lib/active_support/json/variable.rb
depengine-0.0.19 etc/isolate/jruby-1.8/gems/activesupport-2.3.8/lib/active_support/json/variable.rb
depengine-0.0.19 etc/isolate/ruby-1.8/gems/activesupport-2.3.8/lib/active_support/json/variable.rb
depengine-0.0.18 etc/isolate/jruby-1.8/gems/activesupport-2.3.8/lib/active_support/json/variable.rb
depengine-0.0.18 etc/isolate/ruby-1.8/gems/activesupport-2.3.8/lib/active_support/json/variable.rb
depengine-0.0.17 etc/isolate/jruby-1.8/gems/activesupport-2.3.8/lib/active_support/json/variable.rb
depengine-0.0.17 etc/isolate/ruby-1.8/gems/activesupport-2.3.8/lib/active_support/json/variable.rb
depengine-0.0.16 etc/isolate/jruby-1.8/gems/activesupport-2.3.8/lib/active_support/json/variable.rb
depengine-0.0.16 etc/isolate/ruby-1.8/gems/activesupport-2.3.8/lib/active_support/json/variable.rb
depengine-0.0.15 etc/isolate/ruby-1.8/gems/activesupport-2.3.8/lib/active_support/json/variable.rb
depengine-0.0.15 etc/isolate/jruby-1.8/gems/activesupport-2.3.8/lib/active_support/json/variable.rb
depengine-0.0.14 etc/isolate/ruby-1.8/gems/activesupport-2.3.8/lib/active_support/json/variable.rb
depengine-0.0.14 etc/isolate/jruby-1.8/gems/activesupport-2.3.8/lib/active_support/json/variable.rb
depengine-0.0.13 etc/isolate/jruby-1.8/gems/activesupport-2.3.8/lib/active_support/json/variable.rb
depengine-0.0.13 etc/isolate/ruby-1.8/gems/activesupport-2.3.8/lib/active_support/json/variable.rb
depengine-0.0.12 etc/isolate/ruby-1.8/gems/activesupport-2.3.8/lib/active_support/json/variable.rb
depengine-0.0.12 etc/isolate/jruby-1.8/gems/activesupport-2.3.8/lib/active_support/json/variable.rb