Sha256: 59fb590faacb3594ad48a9c0c00af1c7d6384afe94dd9f766d0dc5071ac61fc0

Contents?: true

Size: 244 Bytes

Versions: 9

Compression:

Stored size: 244 Bytes

Contents

module Samples
  class Foo
    def foo(a, b)
      "the real foo: #{a} #{b}"
    end

    def bar
      "the real bar"
    end

    def with_optional_args(a, b = :opt)
    end
  end

  FooFake = Bogus::Injector.new.copies_classes.copy(Foo)
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
bogus-0.1.7 spec/support/sample_fake.rb
bogus-0.1.6 spec/support/sample_fake.rb
bogus-0.1.5 spec/support/sample_fake.rb
bogus-0.1.4 spec/support/sample_fake.rb
bogus-0.1.3 spec/support/sample_fake.rb
bogus-0.1.2 spec/support/sample_fake.rb
bogus-0.1.1 spec/support/sample_fake.rb
bogus-0.1.0 spec/support/sample_fake.rb
bogus-0.0.4 spec/support/sample_fake.rb