Sha256: 8982f98f64caf4da4c61806bf12d5bc42e64b48aa16ea50966d6618a21d337ac

Contents?: true

Size: 457 Bytes

Versions: 1

Compression:

Stored size: 457 Bytes

Contents

# encoding: UTF-8

class Ohm < Thor
  desc "doc", "Generate YARD documentation"
  method_options :open => false
  def doc
    require "yard"

    opts = ["--protected", "--title", "Ohm – Object-hash mapping library for Redis"]

    YARD::CLI::Yardoc.run(*opts)

    system "open doc/index.html" if options[:open]
  end

  desc "deploy", "Deploy documentation"
  def deploy
    system "rsync -az doc/* ohm.keyvalue.org:deploys/ohm.keyvalue.org/"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ohm-0.0.34 Thorfile