Sha256: 2486f8565a1fcf21f8673259dd2ab361ef5aa21e4c12c85e60b8085f01f370f2

Contents?: true

Size: 689 Bytes

Versions: 3

Compression:

Stored size: 689 Bytes

Contents

#! ruby
# -*- coding: UTF-8 -*-
#
# Narou.rb ― 小説家になろうダウンロード&整形スクリプト
#
# Copyright 2013 whiteleaf. All rights reserved.
#

$debug = File.exists?(File.join(File.expand_path(__FILE__), "debug"))
Encoding.default_external = Encoding::UTF_8

require_relative "lib/logger"         # 標準出力と標準エラーのロギング開始
require_relative "lib/version"
require_relative "lib/commandline"

if $debug
  begin
    CommandLine.run(ARGV)
  rescue Exception => e
    puts $@.shift + ": #{e.message} (#{e.class})"
    $@.each do |b|
      warn "  from #{b}"
    end
    exit 1
  end
else
  CommandLine.run(ARGV)
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
narou-1.0.2 narou.rb
narou-1.0.1 narou.rb
narou-1.0.0 narou.rb