Sha256: ff994bf77b9f7c21474fd3896b21aa78353aac263329e1a5e76185f7773ddde6

Contents?: true

Size: 517 Bytes

Versions: 9

Compression:

Stored size: 517 Bytes

Contents

module MyScripts

  # This script converts text copied from MSND function or struct description
  # into RDoc-compatible comment format. It also adds function and spec stub
  # (both are used by Win gem). This reduces dramatically amount of manual work
  # needed to convert MSDN info into RDoc
  #
  class Msdn < Script
    VERSION = '0.0.1'

    def run
      usage "[in_file] File containing MSDN text (reads from stdin if no infile)" if @argv.size > 1

      puts MsdnHelper.convert @argf.read
    end


  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
my_scripts-0.1.15 lib/my_scripts/scripts/msdn.rb
my_scripts-0.1.14 lib/my_scripts/scripts/msdn.rb
my_scripts-0.1.13 lib/my_scripts/scripts/msdn.rb
my_scripts-0.1.12 lib/my_scripts/scripts/msdn.rb
my_scripts-0.1.11 lib/my_scripts/scripts/msdn.rb
my_scripts-0.1.10 lib/my_scripts/scripts/msdn.rb
my_scripts-0.1.9 lib/my_scripts/scripts/msdn.rb
my_scripts-0.1.8 lib/my_scripts/scripts/msdn.rb
my_scripts-0.1.7 lib/my_scripts/scripts/msdn.rb