class Fried::Test::Autorun

Attributes

execute[RW]

Public Class Methods

build() click to toggle source
# File lib/fried/test/autorun.rb, line 22
def self.build
  new.tap do |instance|
    instance.execute = method(:require)
  end
end
call() click to toggle source
# File lib/fried/test/autorun.rb, line 32
def self.call
  instance = build
  instance.()
end
new() click to toggle source
# File lib/fried/test/autorun.rb, line 18
def initialize
  @execute = Noop
end

Public Instance Methods

call() click to toggle source
# File lib/fried/test/autorun.rb, line 28
def call
  execute.("minitest/autorun")
end