Sha256: 41d28276fb82bf9fb7ae0f59d7d16dfb38ff860f46635ce6152a9f19a615168f
Contents?: true
Size: 793 Bytes
Versions: 2
Compression:
Stored size: 793 Bytes
Contents
module PlantumlBuilder module Cli class Args def initialize(args_hash) self.args_hash = args_hash end def svg? args_hash['svg'] end def png? args_hash['png'] end def txt? args_hash['txt'] end def source args_hash['<source>'] end def destination args_hash['<destination>'] end def recursive? args_hash['-R'] end def source_dir args_hash["<source_dir>"] end def destination_dir args_hash["<destination_dir>"] end def version? args_hash['--version'] end def endpoint args_hash['--endpoint'] end private attr_accessor :args_hash end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
plantuml_builder-0.3.0 | lib/plantuml_builder/cli/args.rb |
plantuml_builder-0.2.0 | lib/plantuml_builder/cli/args.rb |