Sha256: 3cd79ea0b3d306087a624a4cd77c585831767352d96d7e36f41963176c499bdd

Contents?: true

Size: 340 Bytes

Versions: 2

Compression:

Stored size: 340 Bytes

Contents

if ! defined?( $options )
  require 'ostruct'
  $options = OpenStruct.new
  # $options.force = false
  $options.verbose = 0
  # $options.inputfilter = "rubyalbum"
  # $options.outputfilters = [ "html" ]
  # $options.inctemplate = nil
end

def ralbum_verbose( level, msg )
  if level < $options.verbose
    puts msg
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gf-ralbum-0.0.2 lib/ralbum/options.rb
gf-ralbum-0.0.5 lib/ralbum/options.rb