module Travis::Conditions

Constants

ArgumentError
Error
ParseError
VERSION

Public Class Methods

const(opts) click to toggle source
# File lib/travis/conditions.rb, line 19
def const(opts)
  opts[:version] == :v1 ? V1 : V0
end
eval(str, data, opts = {}) click to toggle source
# File lib/travis/conditions.rb, line 11
def eval(str, data, opts = {})
  const(opts).eval(str, data)
end
parse(str, opts = {}) click to toggle source
# File lib/travis/conditions.rb, line 15
def parse(str, opts = {})
  const(opts).parse(str, opts)
end