Sha256: 47faf6cd5b96d21f44e08eab5f0478967cc2982482906e780e4f7e49e1c43b55

Contents?: true

Size: 466 Bytes

Versions: 34

Compression:

Stored size: 466 Bytes

Contents

# frozen_string_literal: true

# encoding=utf-8

require 'shellwords'

public

BF = 'bin'

# display_level values
DISPLAY_LEVEL_BASE = 0 # required output
DISPLAY_LEVEL_ADMIN = 1 # monit
DISPLAY_LEVEL_DEBUG = 2
DISPLAY_LEVEL_DUMP = 3
DISPLAY_LEVEL_DEFAULT = DISPLAY_LEVEL_ADMIN
DISPLAY_LEVEL_MAX = DISPLAY_LEVEL_DUMP

LOCAL_YML = 'menu.yml'
MENU_YML = "lib/#{LOCAL_YML}"

def menu_from_yaml
  YAML.load File.open(File.join(File.expand_path(__dir__), LOCAL_YML))
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
markdown_exec-2.0.3 lib/shared.rb
markdown_exec-2.0.2 lib/shared.rb
markdown_exec-2.0.1 lib/shared.rb
markdown_exec-2.0.0 lib/shared.rb
markdown_exec-1.8.9 lib/shared.rb
markdown_exec-1.8.8 lib/shared.rb
markdown_exec-1.8.7 lib/shared.rb
markdown_exec-1.8.6 lib/shared.rb
markdown_exec-1.8.5 lib/shared.rb
markdown_exec-1.8.4 lib/shared.rb
markdown_exec-1.8.2 lib/shared.rb
markdown_exec-1.8.1 lib/shared.rb
markdown_exec-1.8 lib/shared.rb
markdown_exec-1.7 lib/shared.rb