class ApiBomb::Path::Sequence

Attributes

paths[R]

Public Class Methods

new(paths) click to toggle source
# File lib/api_bomb/path.rb, line 8
def initialize(paths)
  @paths = paths
end

Public Instance Methods

pick() click to toggle source
# File lib/api_bomb/path.rb, line 12
def pick
  return paths.sample
end