Sha256: 13fd27635d79c030632e541fe7df8c9ecaaebc5478f0afecb5572ee44489484a

Contents?: true

Size: 413 Bytes

Versions: 3

Compression:

Stored size: 413 Bytes

Contents

class Slop
  attr_accessor :long_desc, :arg_list, :hidden
  def long_description desc = nil
    @long_desc = desc if desc
    @long_desc
  end

  def arg_list list = nil
    @arg_list = list if list
    @arg_list
  end

  def hidden value = nil
    @hidden = value if value
    @hidden
  end

  def project_only value = nil
    @config[:project_only] = value unless value.nil?
    @config[:project_only]
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hobo-inviqa-0.0.4 lib/hobo/patches/slop.rb
hobo-inviqa-0.0.3 lib/hobo/patches/slop.rb
hobo-inviqa-0.0.2 lib/hobo/patches/slop.rb