Sha256: 7ee398a1338d945427c574a387f8f9fd10a1e904732eeed0b805b55c74bbcb7c

Contents?: true

Size: 220 Bytes

Versions: 1

Compression:

Stored size: 220 Bytes

Contents

module Buckley 

class Foo
   def initialize(*a)  
   end   
   
   def to_s
     "A Foo object"
   end
   
   attr_accessor :dob, :dot
end           

end 

class Object
  def to_foo
    Buckley::Foo.new self
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bbuckley-foo-0.2.1 lib/foo.rb