Class: Vimrunner::RSpec::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/vimrunner/rspec.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#reuse_serverObject

Returns the value of attribute reuse_server.



7
8
9
# File 'lib/vimrunner/rspec.rb', line 7

def reuse_server
  @reuse_server
end

Instance Method Details

#start_vim(&block) ⇒ Object



9
10
11
# File 'lib/vimrunner/rspec.rb', line 9

def start_vim(&block)
  @start_vim_method = block
end

#start_vim_methodObject



13
14
15
# File 'lib/vimrunner/rspec.rb', line 13

def start_vim_method
  @start_vim_method || lambda { Vimrunner.start }
end