Project

General

Profile

Feature #4893 ยป strings.rb

wishdev (John Higgins), 06/26/2011 12:43 PM

 
1
class String
2
  def initialize(val)
3
    self.replace(val)
4
  end
5
end
6

    
7
String.call_initialize = TRUE
8

    
9
puts String.call_initialize
10

    
11
require_relative 'empty_file'