Sha256: 2d975688ebe22b11ca419952de223fc38920221278928216a5aa5fec2b8120ae

Contents?: true

Size: 562 Bytes

Versions: 15

Compression:

Stored size: 562 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

# @execute_files[ind] = @execute_files[ind] + [block]
EF_STDOUT = 0
EF_STDERR = 1
EF_STDIN = 2

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

15 entries across 15 versions & 1 rubygems

Version Path
markdown_exec-1.6 lib/shared.rb
markdown_exec-1.5 lib/shared.rb
markdown_exec-1.4.1 lib/shared.rb
markdown_exec-1.4 lib/shared.rb
markdown_exec-1.3.9 lib/shared.rb
markdown_exec-1.3.8 lib/shared.rb
markdown_exec-1.3.7 lib/shared.rb
markdown_exec-1.3.6 lib/shared.rb
markdown_exec-1.3.3.5 lib/shared.rb
markdown_exec-1.3.3.4 lib/shared.rb
markdown_exec-1.3.3.3 lib/shared.rb
markdown_exec-1.3.3.2 lib/shared.rb
markdown_exec-1.3.3.1 lib/shared.rb
markdown_exec-1.3.2 lib/shared.rb
markdown_exec-1.3.1 lib/shared.rb