Sha256: 8cd9ff5a9d9841a1ecda0c09711ba6e30d11836af19e3d7d3db30b5274105f47
Contents?: true
Size: 593 Bytes
Versions: 1
Compression:
Stored size: 593 Bytes
Contents
Feature: Using reek programmatically In order to use reek from inside my program As a developer I want to be able to use its classes Scenario: Given a smelly file called 'smelly.rb' And a file named "examine.rb" with: """ require 'reek' examiner = Reek::Examiner.new(['smelly.rb']) examiner.smells.each do |smell| puts smell.message end """ When I run `ruby examine.rb` Then it reports no errors And it reports: """ calls @foo.bar 2 times calls puts(@foo.bar) 2 times has the name 'm' """
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
reek-2.1.0 | features/programmatic_access.feature |