Sha256: 02f7e04533e6ba2380dbc9a3016e7aec1d576c3712d15eb8ae80ddc54f75d0f6
Contents?: true
Size: 411 Bytes
Versions: 7
Compression:
Stored size: 411 Bytes
Contents
require 'erb' require 'rexml/document' require 'core_data' require 'fwtoolkit/version' require 'fwtoolkit/test/frank_model' Dir["tasks/**/*.rake"].each { |ext| load ext } if defined?(Rake) # add as_json to Array class Array def to_json(*) contents = "" self.each_index do |i| contents << self[i].to_json contents << ',' unless i == self.length - 1 end "[#{contents}]" end end
Version data entries
7 entries across 7 versions & 1 rubygems