Class: Lexy::CLI

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

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.exit_on_failure?Boolean

Returns:

  • (Boolean)


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

def self.exit_on_failure?
  false
end

Instance Method Details

#find_spec_file(path) ⇒ Object



6
7
8
9
10
# File 'lib/lexy/cli.rb', line 6

def find_spec_file(path)
  result = Lexy::SpecFinder.new.call(path)

  puts result
end