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
3mix-castronaut-0.5.0.2 vendor/activesupport/lib/active_support/json/variable.rb
masover-castronaut-0.4.4.4 vendor/activesupport/lib/active_support/json/variable.rb
masover-castronaut-0.4.4.5 vendor/activesupport/lib/active_support/json/variable.rb
masover-castronaut-0.5.0.1 vendor/activesupport/lib/active_support/json/variable.rb
p8-castronaut-0.6.1.1 vendor/activesupport/lib/active_support/json/variable.rb
relevance-castronaut-0.4.1 vendor/activesupport/lib/active_support/json/variable.rb
relevance-castronaut-0.4.2 vendor/activesupport/lib/active_support/json/variable.rb
relevance-castronaut-0.4.3 vendor/activesupport/lib/active_support/json/variable.rb
relevance-castronaut-0.4.4 vendor/activesupport/lib/active_support/json/variable.rb
relevance-castronaut-0.4.5 vendor/activesupport/lib/active_support/json/variable.rb
relevance-castronaut-0.4.6 vendor/activesupport/lib/active_support/json/variable.rb
relevance-castronaut-0.5.0 vendor/activesupport/lib/active_support/json/variable.rb
relevance-castronaut-0.5.1 vendor/activesupport/lib/active_support/json/variable.rb
relevance-castronaut-0.5.2 vendor/activesupport/lib/active_support/json/variable.rb
relevance-castronaut-0.5.3 vendor/activesupport/lib/active_support/json/variable.rb
relevance-castronaut-0.5.4 vendor/activesupport/lib/active_support/json/variable.rb
relevance-castronaut-0.6.0 vendor/activesupport/lib/active_support/json/variable.rb
relevance-castronaut-0.6.1 vendor/activesupport/lib/active_support/json/variable.rb
relevance-castronaut-0.7.4 vendor/activesupport/lib/active_support/json/variable.rb
relevance-castronaut-0.7.5 vendor/activesupport/lib/active_support/json/variable.rb