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.7.2 lib/shared.rb
markdown_exec-2.7.1 lib/shared.rb
markdown_exec-2.7.0 lib/shared.rb
markdown_exec-2.6.0 lib/shared.rb
markdown_exec-2.5.0 lib/shared.rb
markdown_exec-2.4.0 lib/shared.rb
markdown_exec-2.3.0 lib/shared.rb
markdown_exec-2.2.0 lib/shared.rb
markdown_exec-2.1.0 lib/shared.rb
markdown_exec-2.0.8.4 lib/shared.rb
markdown_exec-2.0.8.3 lib/shared.rb
markdown_exec-2.0.8.2 lib/shared.rb
markdown_exec-2.0.8.1 lib/shared.rb
markdown_exec-2.0.8 lib/shared.rb
markdown_exec-2.0.7 lib/shared.rb
markdown_exec-2.0.6 lib/shared.rb
markdown_exec-2.0.5 lib/shared.rb
markdown_exec-2.0.4 lib/shared.rb
markdown_exec-2.0.3.2 lib/shared.rb
markdown_exec-2.0.3.1 lib/shared.rb