code
stringlengths
1
1.73M
language
stringclasses
1 value
p "Hello, world!"
Ruby
def processblock(block) if (block.match(/.*\?\?\?.*/) == nil) puts block end end tmpblock = "" File.open("valgrindout.txt").each { |line| tmpblock << line if (line.match(/==\d+== [\r\n]/)) processblock(tmpblock) tmpblock = "" end }
Ruby
class RubyLibraryExample def get_server_language 'ruby' end # Basic communication def passing end def failing(message) raise message end def logging(message, level='INFO') puts "*#{level}* #{message}" end def returning 'returned string' end # Logging def one_message_w...
Ruby
# Copyright 2008-2009 Nokia Siemens Networks Oyj # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
Ruby
#!/usr/bin/env ruby class ExampleRemoteLibrary def count_items_in_directory(path) Dir.entries(path).find_all{|i| not i.match('^\.')}.length end def strings_should_be_equal(str1, str2) puts "Comparing '#{str1}' to '#{str2}'" if str1 != str2 raise RuntimeError, "Given strings are not equal" ...
Ruby
require 'mkmf' $CPPFLAGS = $CPPFLAGS + " -I../../include" $LDFLAGS = $LDFLAGS + " -L../../" $LIBS = $LIBS + " -lhpdf -lpng -lz" create_makefile 'hpdf'
Ruby
# # << Haru Free PDF Library 2.0.0 >> -- demo.rb # # Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> # # Permission to use, copy, modify, distribute and sell this software # and its documentation for any purpose is hereby granted without fee, # provided that the above copyright notice appea...
Ruby
# # << Haru Free PDF Library 2.0.0 >> -- encryption.rb # # Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> # # Permission to use, copy, modify, distribute and sell this software # and its documentation for any purpose is hereby granted without fee, # provided that the above copyright notice...
Ruby
# # << Haru Free PDF Library 2.0.0 >> -- font_example.rb # # Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> # # Permission to use, copy, modify, distribute and sell this software # and its documentation for any purpose is hereby granted without fee, # provided that the above copyright noti...
Ruby
# # << Haru Free PDF Library 2.0.2 >> -- arc_demo.rb # # http://libharu.org/ # # Copyright (c) 1999-2006 Takeshi Kanno # # Permission to use, copy, modify, distribute and sell this software # and its documentation for any purpose is hereby granted without fee, # provided that the above copyright notice appear ...
Ruby
# # << Haru Free PDF Library 2.0.6 >> -- ext_gstate_demo.rb # # http://libharu.org/ # # Copyright (c) 1999-2006 Takeshi Kanno # # Permission to use, copy, modify, distribute and sell this software # and its documentation for any purpose is hereby granted without fee, # provided that the above copyright notice ...
Ruby
# # << Haru Free PDF Library 2.0.2 >> -- ttfont_demo.rb # # http://libharu.org/ # # Copyright (c) 1999-2006 Takeshi Kanno # # Permission to use, copy, modify, distribute and sell this software # and its documentation for any purpose is hereby granted without fee, # provided that the above copyright notice appe...
Ruby
# # << Haru Free PDF Library 2.0.0 >> -- text_demo2.rb # # Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp> # # Permission to use, copy, modify, distribute and sell this software # and its documentation for any purpose is hereby granted without fee, # provided that the above copyright notice...
Ruby
# # << Haru Free PDF Library 2.0.2 >> -- line_demo.rb # # http://libharu.org/ # # Copyright (c) 1999-2006 Takeshi Kanno # # Permission to use, copy, modify, distribute and sell this software # and its documentation for any purpose is hereby granted without fee, # provided that the above copyright notice appear...
Ruby
# # << Haru Free PDF Library 2.0.6 >> -- slideshow_demo.rb # # http://libharu.org/ # # Copyright (c) 1999-2006 Takeshi Kanno # # Permission to use, copy, modify, distribute and sell this software # and its documentation for any purpose is hereby granted without fee, # provided that the above copyright notice a...
Ruby
# Settings specified here will take precedence over those in config/environment.rb # The production environment is meant for finished, "live" apps. # Code is not reloaded between requests config.cache_classes = true # Use a different logger for distributed setups # config.logger = SyslogLogger.new # Full error repor...
Ruby
# Settings specified here will take precedence over those in config/environment.rb # In the development environment your application's code is reloaded on # every request. This slows down response time but is perfect for development # since you don't have to restart the webserver when you make code changes. config.ca...
Ruby
# Settings specified here will take precedence over those in config/environment.rb # The test environment is used exclusively to run your application's # test suite. You never need to work with it otherwise. Remember that # your test database is "scratch space" for the test suite and is wiped # and recreated between...
Ruby
# Be sure to restart your web server when you modify this file. # Uncomment below to force Rails into production mode when # you don't control web/app server and can't set it the proper way # ENV['RAILS_ENV'] ||= 'production' # Specifies gem version of Rails to use when vendor/rails is not present RAILS_GEM_VERSION ...
Ruby
# Don't change this file. Configuration is done in config/environment.rb and config/environments/*.rb unless defined?(RAILS_ROOT) root_path = File.join(File.dirname(__FILE__), '..') unless RUBY_PLATFORM =~ /mswin32/ require 'pathname' root_path = Pathname.new(root_path).cleanpath(true).to_s end RAILS...
Ruby
ActionController::Routing::Routes.draw do |map| # The priority is based upon order of creation: first created -> highest priority. # Sample of regular route: # map.connect 'products/:id', :controller => 'catalog', :action => 'view' # Keep in mind you can assign values other than :controller and :action # ...
Ruby
# Methods added to this helper will be available to all templates in the application. module ApplicationHelper end
Ruby
module GameHelper include ActsWithMetaDataHelper end
Ruby
module PositionHelper def get_image(value) case value when 'bp' 'bPawn46.gif' when 'br' 'bRook46.gif' when 'bn' 'bKnight46.gif' when 'bb' 'bBishop46.gif' when 'bk' 'bKing46.gif' when 'bq' 'bQueen46.gif' when 'wp' 'wPawn46.gif' ...
Ruby
require "Board" class Position < ActiveRecord::Base belongs_to :game #has_one :parent, # :class_name => "Position", # :foreign_key => :parent_id has_one :entry_move, :class_name => "Move", :foreign_key => :ending_position_id, :dependent => true has_many :exit_moves, :class_name => "Move", ...
Ruby
class Move < ActiveRecord::Base belongs_to :starting_position, :class_name => "Position", :foreign_key => :starting_position_id belongs_to :ending_position, :class_name => "Position", :foreign_key => :ending_position_id #def initialize(*args) # super() #if args.size == 1 then # self...
Ruby
class Game < ActiveRecord::Base has_many :positions, :dependent => true def create_side(position, color, pawn_row, major_piece_row) ("a".."h").each {|file| position.send("#{file}#{pawn_row}=", "#{color}p")} ["r", "n", "b", "q", "k", "b", "n", "r"].each_with_index {|piece, index| position.send("#{(?a +index...
Ruby
class GameController < ActionController::Base def list @games = Game.find(:all) end def show @game = Game.find(params[:id], :include => [:positions] ) redirect_to :controller => 'position', :action => 'show', :id => @game.positions[0] end def edit @game = Game.find(params[:id]) end ...
Ruby
require 'pp' class PositionController < ActionController::Base def show @position = Position.find(params[:id]) end def move #flash[:entered_move] = params[:entered_move] # validate move initial_position = Position.find(params[:id]) begin @position = initial_position.make_move(params[:en...
Ruby
# Filters added to this controller will be run for all controllers in the application. # Likewise, all the methods added will be available for all controllers. class ApplicationController < ActionController::Base end
Ruby
# Add your own tasks in files placed in lib/tasks ending in .rake, # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. require(File.join(File.dirname(__FILE__), 'config', 'boot')) require 'rake' require 'rake/testtask' require 'rake/rdoctask' require 'tasks/rails'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/breakpointer'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/console'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/runner'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../../config/boot' require 'commands/performance/benchmarker'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../../config/boot' require 'commands/performance/benchmarker'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../../config/boot' require 'commands/performance/profiler'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../../config/boot' require 'commands/performance/profiler'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/plugin'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/destroy'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/about'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/runner'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/breakpointer'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/server'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/generate'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/console'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../../config/boot' require 'commands/process/reaper'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../../config/boot' require 'commands/process/spawner'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../../config/boot' require 'commands/process/reaper'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../../config/boot' require 'commands/process/spawner'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/destroy'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/generate'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/server'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/about'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/plugin'
Ruby
class AddLast2pawnMove < ActiveRecord::Migration def self.up add_column "positions", "last_2pawn_move_x", :integer add_column "positions", "last_2pawn_move_y", :integer end def self.down remove_column "positions", "last_2pawn_move_x" remove_column "positions", "last_2pawn_move_y" end end
Ruby
class FixPieceSizeLimitation < ActiveRecord::Migration def self.up ("a".."h").each do |col| (1..8).each do |row| change_column :positions, "#{col}#{row}", :string, :limit => 2, :default => " " end end end def self.down ("a".."h").each do |col| (1..8).each do |row| change_...
Ruby
class Startup < ActiveRecord::Migration def self.up create_table "positions" do |t| ("a".."h").each do |col| (1..8).each do |row| t.column "#{col}#{row}", :string, :limit => 1, :default => " " end end t.column "move", :string, :limit => 6 t.column "parent_id", :integer t.column "game...
Ruby
class AddTurn < ActiveRecord::Migration def self.up add_column "positions", "turn", :string, :limit=> 1 end def self.down remove_column "positions", "turn" end end
Ruby
class ChangeToCoord < ActiveRecord::Migration def self.up add_column "positions", "last_2pawn_move_coord", :string, :limit => 2 remove_column "positions", "last_2pawn_move_x" remove_column "positions", "last_2pawn_move_y" end def self.down remove_column "positions", "last_2pawn_move_coord" add_col...
Ruby
class AddMoveDetail < ActiveRecord::Migration def self.up add_column :moves, :detail, :string, :limit => 5 end def self.down remove_column :moves, :detail end end
Ruby
class AddPositionState < ActiveRecord::Migration def self.up add_column :positions, :rook_a_moved, :integer add_column :positions, :rook_h_moved, :integer add_column :positions, :king_moved, :integer end def self.down remove_column :positions, :rook_a_moved remove_column :positions, :ro...
Ruby
class ChangeDefault2pawnMove < ActiveRecord::Migration def self.up change_column "positions", "last_2pawn_move_x", :integer, {:default => nil} change_column "positions", "last_2pawn_move_y", :integer, {:default => nil} end def self.down end end
Ruby
class AddMoves < ActiveRecord::Migration def self.up create_table :moves do |t| t.column :starting_position_id, :integer t.column :ending_position_id, :integer t.column :rating, :integer t.column :description, :string end end def self.down drop_table :moves end end
Ruby
require 'chess.rb' require "position" class Chess_Board attr_reader :board, :history, :taken, :turn, :last_2pawn_move_x, :last_2pawn_move_y PIECE_XLATE_TABLE = { "k" => King, "q" => Queen, "r" => Rook, "b" => Bishop, "n" => Knight, "p" => Pawn } COLOR_XLATE_TABLE = { "w" => "white",...
Ruby
class Chess_Piece attr_reader :color, :x, :y, :dead, :value attr_writer :dead, :x, :y def initialize( chess_board, xpos, ypos, clr, piece_initial ) @board = chess_board @color = clr @x = xpos @y = ypos @dead = false @piece_initial = piece_initial end # # the default attack for most piece...
Ruby
#!c:/ruby/bin/ruby require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT) # If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like: # "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impaired...
Ruby
#!c:/ruby/bin/ruby require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT) # If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like: # "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impaired...
Ruby
#!/usr/local/bin/ruby # # You may specify the path to the FastCGI crash log (a log of unhandled # exceptions which forced the FastCGI instance to exit, great for debugging) # and the number of requests to process before running garbage collection. # # By default, the FastCGI crash log is RAILS_ROOT/log/fastcgi.crash.lo...
Ruby
#!c:/ruby/bin/ruby require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT) # If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like: # "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impaired...
Ruby
#!c:/ruby/bin/ruby require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT) # If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like: # "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impaired...
Ruby
#!/usr/local/bin/ruby # # You may specify the path to the FastCGI crash log (a log of unhandled # exceptions which forced the FastCGI instance to exit, great for debugging) # and the number of requests to process before running garbage collection. # # By default, the FastCGI crash log is RAILS_ROOT/log/fastcgi.crash.lo...
Ruby
ENV["RAILS_ENV"] = "test" require File.expand_path(File.dirname(__FILE__) + "/../config/environment") require 'test_help' class Test::Unit::TestCase # Transactional fixtures accelerate your tests by wrapping each test method # in a transaction that's rolled back on completion. This ensures that the # test datab...
Ruby
# Require any additional compass plugins here. # Set this to the root of your project when deployed: http_path = "/" css_dir = "theme/css" sass_dir = "theme/scss" images_dir = "images" javascripts_dir = "js" # You can select your preferred output style here (can be overridden via the command line): output_style = :co...
Ruby
load File.dirname(__FILE__) + '/Rakefile' gem_spec
Ruby
module XbrlTest class SchemaValidator def self.validate (xml_file, xsd_file) return end end end
Ruby
require 'test/unit' require 'xbrlware' require 'edgar' require 'tmpdir' begin require 'java' require File.dirname(__FILE__) + '/schema_validator_jruby' rescue Exception ENV["SCHEMA_VALIDATION"]="False" require File.dirname(__FILE__) + '/schema_validator_ruby' end $LOG.level = Logger::INFO
Ruby
def first(name, &block) block = lambda{ puts "lambda"} if block.nil? second &block end def second(&block) yield end first("blk") { puts "Hello"} first("blk") def dummy(count, snipet=StringIO.new, &block) return snipet.string if count > 5 yield snipet count += 1 dummy(count, snipet, &block) end dummy(...
Ruby
java_import javax.xml.XMLConstants java_import javax.xml.parsers.DocumentBuilder java_import javax.xml.parsers.DocumentBuilderFactory java_import javax.xml.transform.Source java_import javax.xml.transform.dom.DOMSource java_import javax.xml.transform.stream.StreamSource java_import javax.xml.validation.Schema java_impo...
Ruby
module LinkbaseTestUtil def print_arc(arcs, indent=0) arcs.each do |arc| if arc.items.nil? || arc.items.size==0 puts " " * indent * 2 + arc.item_id + "[" + (arc.label if arc.respond_to?(:label)).to_s+"][role "+arc.role.to_s+"][order "+arc.order.to_s+"] = None .. ctx undefined.." else ...
Ruby
#!/usr/bin/ruby # # Author:: xbrlware@bitstat.com # # Copyright:: 2009, 2010 bitstat (http://www.bitstat.com). All Rights Reserved. # # License:: Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy...
Ruby
require 'rubygems' # you need this when xbrlware is installed as gem require 'xbrlware' instance_file="c-20091230.xml" instance = Xbrlware.ins(instance_file) # Create parser instance item_name="NetIncomeLoss" # This is the item we are interested in. net_incomes = instance.item(item_name) # Extracts "NetIncomeLoss" i...
Ruby
require 'edgar' require 'xbrlware' d=Edgar::HTMLFeedDownloader.new url="http://www.sec.gov/Archives/edgar/data/1281761/000119312510036446/0001193125-10-036446-index.htm" download_dir=url.split("/")[-2] # download dir is : 000119312510036446 d.download(url, download_dir) ins=Xbrlware.ins(Xbrlware.file_grep(download_di...
Ruby
require 'rubygems' # you need this when xbrlware is installed as gem require 'edgar' require 'xbrlware' dl=Edgar::HTMLFeedDownloader.new() url="http://www.sec.gov/Archives/edgar/data/843006/000135448809002030/0001354488-09-002030-index.htm" download_dir=url.split("/")[-2] # download dir is : 000135448809002030 dl.dow...
Ruby
require 'rubygems' # you need this when xbrlware is installed as gem require 'xbrlware' instance=Xbrlware.ins("foo.xml") items=instance.item("ProfitLoss") puts "Profit-Loss \t Context" items.each do |item| puts item.value+" \t "+item.context.id end
Ruby
require 'rubygems' # you need this when xbrlware is installed as gem require 'edgar' require 'xbrlware' dl=Edgar::HTMLFeedDownloader.new() url="http://www.sec.gov/Archives/edgar/data/843006/000135448809002030/0001354488-09-002030-index.htm" download_dir=url.split("/")[-2] # download dir is : 000135448809002030 dl.dow...
Ruby
require 'xbrlware' ## Assuming you have table "calculations" with below structure # id # element_name # element_value # element_label # period_start_date # period_end_date # parent_id def format_timeline(timeline) ## date format function return Xbrlware::DateUtil.stringify_date(timeline.value) unless timeline.is_du...
Ruby
require 'xbrlware' def format_timeline(timeline) ## date format function return Xbrlware::DateUtil.stringify_date(timeline.value) unless timeline.is_duration? header = StringIO.new header << Xbrlware::DateUtil.stringify_date(timeline.value["end_date"]) << " : " header << Xbrlware::DateUtil.months_between(timel...
Ruby
require 'xbrlware' r=Xbrlware::Report.new class << r public :xbrl_files end files=r.xbrl_files("../../../xbrlware-wiki/sample_reports/edgar_data") output = StringIO.new output << "|| *Instance + Taxonomy file size (KB)* || *Time (Seconds)* ||" output << "\n" files.each do |file_map| m=Benchmark.measure do in...
Ruby
$:.push('gen-rb') require 'thrift' require 'thrift/transport/server_socket' require 'thrift/transport/buffered_transport' require 'thrift/server/simple_server' require 'rating' require 'rating-impl' # Thrift provides mutiple communication endpoints # - Here we will expose our service via a TCP socket # - Web-serv...
Ruby
# provide an implementation of Rating service class RatingImpl def piotroski(entity_name) # Code that use xbrlware goes here return 1 # return some dummy value end def altman_z(entity_name) # Code that use xbrlware goes here return 2.2567 # return some dummy value end end
Ruby
#!/usr/bin/ruby # # Author:: xbrlware@bitstat.com # # Copyright:: 2009, 2010 bitstat (http://www.bitstat.com). All Rights Reserved. # # License:: Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy...
Ruby
# # setup.rb # # Copyright (c) 2000-2005 Minero Aoki # # This program is free software. # You can distribute/modify this program under the terms of # the GNU LGPL, Lesser General Public License version 2.1. # unless Enumerable.method_defined?(:map) # Ruby 1.4.6 module Enumerable alias map collect end end un...
Ruby
#!/usr/bin/ruby # # Author:: xbrlware@bitstat.com # # Copyright:: 2009, 2010 bitstat (http://www.bitstat.com). All Rights Reserved. # # License:: Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy...
Ruby
#!/usr/bin/ruby # # Author:: xbrlware@bitstat.com # # Copyright:: 2009, 2010 bitstat (http://www.bitstat.com). All Rights Reserved. # # License:: Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy...
Ruby
#!/usr/bin/ruby # # Author:: xbrlware@bitstat.com # # Copyright:: 2009, 2010 bitstat (http://www.bitstat.com). All Rights Reserved. # # License:: Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy...
Ruby
#!/usr/bin/ruby # # Author:: xbrlware@bitstat.com # # Copyright:: 2009, 2010 bitstat (http://www.bitstat.com). All Rights Reserved. # # License:: Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy...
Ruby
#!/usr/bin/ruby # # Author:: xbrlware@bitstat.com # # Copyright:: 2009, 2010 bitstat (http://www.bitstat.com). All Rights Reserved. # # License:: Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy...
Ruby
#!/usr/bin/ruby # # Author:: xbrlware@bitstat.com # # Copyright:: 2009, 2010 bitstat (http://www.bitstat.com). All Rights Reserved. # # License:: Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy...
Ruby
#!/usr/bin/ruby # # Author:: xbrlware@bitstat.com # # Copyright:: 2009, 2010 bitstat (http://www.bitstat.com). All Rights Reserved. # # License:: Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy...
Ruby