Module: RubyLanguageServer::ScopeParserCommands::RspecCommands

Included in:
RubyLanguageServer::SEXPProcessor
Defined in:
lib/ruby_language_server/scope_parser_commands/rspec_commands.rb

Instance Method Summary collapse

Instance Method Details

#on_context_command(line, args, rest) ⇒ Object



10
11
12
# File 'lib/ruby_language_server/scope_parser_commands/rspec_commands.rb', line 10

def on_context_command(line, args, rest)
  rspec_block_command('context', line, args, rest)
end

#on_describe_command(line, args, rest) ⇒ Object



6
7
8
# File 'lib/ruby_language_server/scope_parser_commands/rspec_commands.rb', line 6

def on_describe_command(line, args, rest)
  rspec_block_command('describe', line, args, rest)
end

#on_it_command(line, args, rest) ⇒ Object



14
15
16
# File 'lib/ruby_language_server/scope_parser_commands/rspec_commands.rb', line 14

def on_it_command(line, args, rest)
  rspec_block_command('it', line, args, rest)
end