Class: Travis::Lock::None

Inherits:
Struct
  • Object
show all
Defined in:
lib/travis/lock/none.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



3
4
5
# File 'lib/travis/lock/none.rb', line 3

def name
  @name
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



3
4
5
# File 'lib/travis/lock/none.rb', line 3

def options
  @options
end

Instance Method Details

#exclusiveObject



4
5
6
# File 'lib/travis/lock/none.rb', line 4

def exclusive
  yield
end