Class: RSpex::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/rspex/cli.rb

Instance Method Summary collapse

Instance Method Details

#context(word) ⇒ Object



12
13
14
# File 'lib/rspex/cli.rb', line 12

def context(word)
  search word, 'context'
end

#describe(word) ⇒ Object



17
18
19
# File 'lib/rspex/cli.rb', line 17

def describe(word)
  search word, 'describe'
end

#it(word) ⇒ Object



7
8
9
# File 'lib/rspex/cli.rb', line 7

def it(word)
  search word, 'it'
end