Test Ruby
Ruby
code posted
created at 08 May 01:29
Edit
|
Back
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
require 'uri' class Site < ActiveRecord::Base @@default_aaa = { :aaa => "2#{asd}323#{RA}dasd #{@dassd.to_s}", :baa => 'sasd' } TYPE = "asds" has_many :asdsd # asdsad def self.extensions(aasd, ewew = "sads") @extencions.each do |a, b, c| a = 2323 + b end return a =~ /(.*)\/.([\d]+)/ rescue nil end def asds self.to_s end end |
401 Bytes in 2 ms with coderay