module Snapme
  class ImagesnapCommand
    def call(filename)
      `#{command_name} #{filename}`
    end

    private

    def command_name
      'bin/imagesnap'
    end
  end
end

module Snapme
  class ImagesnapCommand
    def call(filename)
      `#{command_name} #{filename}`
    end

    private

    def command_name
      'imagesnap'
    end
  end
end

Remove 'bin/' prefix from imagesnap command name
Remove 'bin/' prefix from imagesnap command name

* It will not require this because it should be in PATH for the
  executing user.
