Class: Travis::Conditions::V0::Eval

Inherits:
Struct
  • Object
show all
Defined in:
lib/travis/conditions/v0/eval.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



4
5
6
# File 'lib/travis/conditions/v0/eval.rb', line 4

def data
  @data
end

#sexpObject

Returns the value of attribute sexp

Returns:

  • (Object)

    the current value of sexp



4
5
6
# File 'lib/travis/conditions/v0/eval.rb', line 4

def sexp
  @sexp
end

Instance Method Details

#applyObject



5
6
7
# File 'lib/travis/conditions/v0/eval.rb', line 5

def apply
  !!evl(sexp)
end