Module: RubyQC::API

Defined in:
lib/rubyqc.rb

Class Method Summary collapse

Class Method Details

.check(*args, &block) ⇒ Object



8
9
10
# File 'lib/rubyqc.rb', line 8

def check *args, &block
  RubyQC::Modifier.new(args, &block)
end

.one_of(*args) ⇒ Object



12
13
14
# File 'lib/rubyqc.rb', line 12

def one_of *args
  args.sample
end