Class: ImmediateTaskQueue::Future

Inherits:
Object
  • Object
show all
Defined in:
plugins/project_search/spec/spec_helper.rb

Instance Method Summary (collapse)

Constructor Details

- (Future) initialize(value)

A new instance of Future



6
7
8
# File 'plugins/project_search/spec/spec_helper.rb', line 6

def initialize(value)
  @value = value
end

Instance Method Details

- (Object) get



10
11
12
# File 'plugins/project_search/spec/spec_helper.rb', line 10

def get
  @value
end