Sha256: 44133ce2c630e6596c100655cd6e954bb9c553f3e87c081e449c5d536f7cb8e8

Contents?: true

Size: 311 Bytes

Versions: 1

Compression:

Stored size: 311 Bytes

Contents

module Md2site
  class Info
    def initialize(env, mes)
      @env = env
      @mes = mes
    end

    def execute_subcommand(option)
      case option.name
      when "zlist"
        @env.make_zlist.map {|x| @mes.output_fatal(x) }
      when "zindex"
        @env.make_zindex_html
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
md2site-0.1.2 lib/md2site/info.rb