Sha256: c11a7368b99d88ccd18aa903511e5bae94cadefbdbbc3eb5148f459a5e6f07f2

Contents?: true

Size: 852 Bytes

Versions: 10

Compression:

Stored size: 852 Bytes

Contents

$: << File.dirname(__FILE__) + "/bin"
$: << File.dirname(__FILE__) + "/../lib"

require "caricature"
require 'bacon'
require 'mscorlib'




load_assembly 'ClrModels'

class Soldier

  def name
    "Tommy Boy"
  end

  def to_s
    "I'm a soldier"
  end

end

module Caricature

  module InterfaceIncludingModule
    include ClrModels::IWarrior
  end

  module PureRubyModule
    
  end

  module RubyModuleIncludingModule
    include PureRubyModule
  end

  module InterfaceUpTheWazoo
    include InterfaceIncludingModule
  end

  class InterfaceIncludingClass
    include ClrModels::IWarrior
  end

  class SubClassingClrClass < ClrModels::Ninja

  end

  class InterfaceUpTheWazooClass
    include InterfaceUpTheWazoo
  end

  class SubclassingRubyClass < Soldier

  end

  class ModuleIncludingClass
    include RubyModuleIncludingModule
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
casualjim-caricature-0.1.0 spec/bacon_helper.rb
casualjim-caricature-0.1.1 spec/bacon_helper.rb
casualjim-caricature-0.1.2 spec/bacon_helper.rb
casualjim-caricature-0.2.0 spec/bacon_helper.rb
casualjim-caricature-0.3.0 spec/bacon_helper.rb
caricature-0.1.0 spec/bacon_helper.rb
caricature-0.3.0 spec/bacon_helper.rb
caricature-0.2.0 spec/bacon_helper.rb
caricature-0.1.2 spec/bacon_helper.rb
caricature-0.1.1 spec/bacon_helper.rb