class RBT::Cookbooks::RawCookbook

Constants

DIRECTORY_EXPANDED_COOKBOOKS
#

DIRECTORY_EXPANDED_COOKBOOKS

#

Public Class Methods

[](i = ARGV) click to toggle source
#

RBT::RawCookbook[]

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 1076
def self.[](i = ARGV)
  new(i)
end
new( commandline_arguments = nil, run_already = true ) { || ... } click to toggle source
#

initialize

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 49
def initialize(
    commandline_arguments = nil,
    run_already           = true,
    &block
  )
  reset
  set_commandline_arguments(
    commandline_arguments
  )
  # ======================================================================= #
  # === Handle blocks next
  # ======================================================================= #
  if block_given?
    yielded = yield
    case yielded
    # ===================================================================== #
    # === :simple
    # ===================================================================== #
    when :simple,
         :simple_cookbook
      set_load_what(:simple_cookbook)
    # ===================================================================== #
    # === :use_expanded_dataset
    #
    # This variant is significantly faster than the :simple variant.
    # ===================================================================== #
    when :use_expanded_dataset,
         :fast,
         :complex
      set_complex
    # ===================================================================== #
    # === :be_quiet_if_the_file_was_not_found
    # ===================================================================== #
    when :be_quiet_if_the_file_was_not_found
      @be_quiet_if_the_file_was_not_found = true
    end
  end
  run if run_already
end

Public Instance Methods

apply_patch?() click to toggle source
#

apply_patch?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 351
def apply_patch?
  obtain(__method__.to_s.delete('?'))
end
Also aliased as: set_apply_patch?
archive_size?() click to toggle source
#

archive_size?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 690
def archive_size?
  obtain(__method__.to_s.delete('?'))
end
archive_type?() click to toggle source
#

archive_type?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 484
def archive_type?
  obtain(__method__.to_s.delete('?'))
end
base_dir?() click to toggle source
#

base_dir?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 858
def base_dir?
  obtain(__method__.to_s.delete('?'))
end
binaries?() click to toggle source
#

binaries?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 323
def binaries?
  obtain(__method__.to_s.delete('?'))
end
blfs?() click to toggle source
#

blfs?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 252
def blfs?
  obtain(__method__.to_s.delete('?'))
end
build_static?() click to toggle source
#

build_static?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 470
def build_static?
  obtain(__method__.to_s.delete('?'))
end
can_be_compiled_statically?() click to toggle source
#

can_be_compiled_statically?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 519
def can_be_compiled_statically?
  obtain(__method__.to_s.delete('?'))
end
clear()
Alias for: reset_the_main_hash
cmake_configure_options?() click to toggle source
#

cmake_configure_options?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 1062
def cmake_configure_options?
  obtain(__method__.to_s.delete('?'))
end
configure_base_dir?() click to toggle source
#

configure_base_dir?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 669
def configure_base_dir?
  obtain(__method__.to_s.delete('?'))
end
configure_command_to_use?() click to toggle source
#

configure_command_to_use?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 533
def configure_command_to_use?
  obtain(__method__.to_s.delete('?'))
end
configure_options?() click to toggle source
#

configure_options?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 1069
def configure_options?
  obtain(__method__.to_s.delete('?'))
end
configure_options_explained?() click to toggle source
#

configure_options_explained?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 1048
def configure_options_explained?
  obtain(__method__.to_s.delete('?'))
end
cookbook_file?() click to toggle source
#

cookbook_file?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 865
def cookbook_file?
  @internal_hash[:cookbook_file]
end
Also aliased as: yaml_file?, file?
copy_source?() click to toggle source
#

copy_source?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 697
def copy_source?
  obtain(__method__.to_s.delete('?'))
end
dataset()
Alias for: dataset?
dataset?() click to toggle source
#

dataset?

Query method over the main dataset - the most important dataset for this class.

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 185
def dataset?
  @internal_hash[:dataset]
end
Also aliased as: raw_data?, hash?, dataset
deps?()
Alias for: required_deps_on?
description?() click to toggle source
#

description?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 295
def description?
  obtain(__method__.to_s.delete('?'))
end
do_not_download?() click to toggle source
#

do_not_download?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 512
def do_not_download?
  obtain(__method__.to_s.delete('?'))
end
echo_yes?() click to toggle source
#

echo_yes?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 491
def echo_yes?
  obtain(__method__.to_s.delete('?'))
end
enable_shared?() click to toggle source
#

enable_shared?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 498
def enable_shared?
  obtain(__method__.to_s.delete('?'))
end
enable_static?() click to toggle source
#

enable_static?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 505
def enable_static?
  obtain(__method__.to_s.delete('?'))
end
extra_information?() click to toggle source
#

extra_information?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 245
def extra_information?
  obtain(__method__.to_s.delete('?'))
end
extract_to?() click to toggle source
#

extract_to?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 844
def extract_to?
  obtain(__method__.to_s.delete('?'))
end
file?()
Alias for: cookbook_file?
find( for_this_program = first_argument? ) click to toggle source
#

find (find tag)

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 659
def find(
    for_this_program = first_argument?
  )
  reset_the_internal_variables
  load_up_the_dataset(for_this_program)
end
flatpak_url?() click to toggle source
#

flatpak_url?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 596
def flatpak_url?
  obtain(__method__.to_s.delete('?'))
end
gir_files?() click to toggle source
#

gir_files?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 442
def gir_files?
  obtain(__method__.to_s.delete('?'))
end
git_url?() click to toggle source
#

git_url?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 449
def git_url?
  obtain(__method__.to_s.delete('?'))
end
github?() click to toggle source
#

github?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 851
def github?
  obtain(__method__.to_s.delete('?'))
end
has_key?(i) click to toggle source
#

has_key?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 159
def has_key?(i)
  dataset?.has_key?(i)
end
has_to_be_compiled?() click to toggle source
#

has_to_be_compiled?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 302
def has_to_be_compiled?
  obtain(__method__.to_s.delete('?'))
end
hash?()
Alias for: dataset?
headers?() click to toggle source
#

headers?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 358
def headers?
  obtain(__method__.to_s.delete('?'))
end
homepage?() click to toggle source
#

homepage?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 1000
def homepage?
  obtain(__method__.to_s.delete('?'))
end
installation_steps?() click to toggle source
#

installation_steps?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 365
def installation_steps?
  obtain(__method__.to_s.delete('?'))
end
is_an_active_project?() click to toggle source
#

is_an_active_project?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 540
def is_an_active_project?
  obtain(__method__.to_s.delete('?'))
end
is_the_program_included?() click to toggle source
#

is_the_program_included?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 166
def is_the_program_included?
  @internal_hash[:is_the_program_included]
end
keep_extracted?() click to toggle source
#

keep_extracted?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 561
def keep_extracted?
  obtain(__method__.to_s.delete('?'))
end
last_update?() click to toggle source
#

last_update?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 330
def last_update?
  obtain(__method__.to_s.delete('?'))
end
libexec?() click to toggle source
#

libexec?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 582
def libexec?
  obtain(__method__.to_s.delete('?'))
end
libraries?() click to toggle source
#

libraries?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 259
def libraries?
  obtain(__method__.to_s.delete('?'))
end
licence?() click to toggle source
#

licence?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 208
def licence?
  obtain(__method__.to_s.delete('?'))
end
load_this_cookbook_file( for_this_program = first_argument? )
Alias for: load_up_the_dataset
load_this_file( for_this_program = first_argument? )
Alias for: load_up_the_dataset
load_this_program( for_this_program = first_argument? )
Alias for: load_up_the_dataset
load_up_the_dataset( for_this_program = first_argument? ) click to toggle source
#

load_up_the_dataset

This method will load the dataset from the .yml file.

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 912
def load_up_the_dataset(
    for_this_program = first_argument?
  )
  unless for_this_program.is_a? String
    for_this_program = for_this_program.to_s
  end
  # ======================================================================= #
  # End early here if the program is not included.
  # ======================================================================= #
  return unless ::RBT.is_this_program_included?(for_this_program)
  original_name = for_this_program.dup
  case load_what?
  # ======================================================================= #
  # === :simple_cookbook
  #
  # This refers to the unsanitized cookbook-dataset.
  # ======================================================================= #
  when :simple_cookbook,
       :default,
       :simple
    _ = RBT.cookbook_directory?+
        for_this_program.to_s
  # ======================================================================= #
  # === :expanded_cookbook
  #
  # This is also known as :complex.
  # ======================================================================= #
  when :expanded_cookbook,
       :complex
    _ = ::RBT.directory_expanded_cookbooks?+
        for_this_program.to_s
  end
  _ = _.dup
  _ << '.yml' unless _.end_with?('.yml') or _.empty?
  # ======================================================================= #
  # The file exists, so we continue here.
  # ======================================================================= #
  if File.exist? _
    the_program_is_included
    @internal_hash[:cookbook_file] = _
    require 'rbt/checks_and_validations/check_for_invalid_entries_in_this_cookbook.rb'
    if RBT.does_this_yaml_file_have_two_url1_entries?(cookbook_file?)
      opne 'Please fix the above issue first before we can continue here.'
      exit
    end
    # ===================================================================== #
    # Next, load the yaml file.
    # ===================================================================== #
    yaml_dataset = load_yaml(cookbook_file?)
    if dataset?.frozen?
      @internal_hash[:dataset] = @internal_hash[:dataset].dup
    end
    if yaml_dataset.nil?
      e "No value found for the file #{sfile(cookbook_file?)}."
    end
    @internal_hash[:dataset].update(yaml_dataset) if yaml_dataset
    if @internal_hash[:dataset].has_key?(original_name) and # Sync it down one level in this case.
      !@internal_hash[:dataset].has_value?(original_name)
      # =================================================================== #
      # Note that this will fail for "sed" because it may have an entry
      # called sed. :D
      # This explains the above ! check in use.
      # =================================================================== #
      @internal_hash[:dataset] = @internal_hash[:dataset][original_name]
    end
    @internal_hash[:dataset].freeze
  else
    the_program_is_not_included
    unless @be_quiet_if_the_file_was_not_found
      no_file_exists_at(_)
    end
  end
  return @internal_hash[:dataset] # Always return the dataset as-is.
end
load_what?() click to toggle source
#

load_what?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 215
def load_what?
  @internal_hash[:load_what]
end
Also aliased as: mode?
localstatedir?() click to toggle source
#

localstatedir?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 575
def localstatedir?
  obtain(__method__.to_s.delete('?'))
end
m4_files?() click to toggle source
#

m4_files?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 568
def m4_files?
  obtain(__method__.to_s.delete('?'))
end
maintainer?() click to toggle source
#

maintainer?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 837
def maintainer?
  obtain(__method__.to_s.delete('?'))
end
manual_steps?() click to toggle source
#

manual_steps?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 830
def manual_steps?
  obtain(__method__.to_s.delete('?'))
end
may_we_modify_the_configure_options?() click to toggle source
#

may_we_modify_the_configure_options?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 610
def may_we_modify_the_configure_options?
  obtain(__method__.to_s.delete('?'))
end
md5sum?() click to toggle source
#

md5sum?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 823
def md5sum?
  obtain(__method__.to_s.delete('?'))
end
menu( i = return_hyphened_commandline_arguments ) click to toggle source
#

menu (menu tag)

#
meson_configure_options?() click to toggle source
#

meson_configure_options?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 1055
def meson_configure_options?
  obtain(__method__.to_s.delete('?'))
end
mirror?() click to toggle source
#

mirror?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 603
def mirror?
  obtain(__method__.to_s.delete('?'))
end
mode?()
Alias for: load_what?
modify_the_makefile?() click to toggle source
#

modify_the_makefile?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 704
def modify_the_makefile?
  obtain(__method__.to_s.delete('?'))
end
obtain(i) click to toggle source
#

obtain (obtain tag)

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 1016
def obtain(i)
  result = nil
  dataset = dataset?
  if dataset
    string_key = i.to_s
    # ===================================================================== #
    # First, we try to query the main Hash via string-key.
    # ===================================================================== #
    if dataset.has_key? string_key
      result = dataset[i]
    elsif dataset.has_key? string_key.to_sym
      result = dataset[string_key.to_sym]
    else
      # e 'The key is not available: '+i.to_s
    end
    return result
  end
end
optional_start_message?() click to toggle source
#

optional_start_message?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 711
def optional_start_message?
  obtain(__method__.to_s.delete('?'))
end
override?() click to toggle source
#

override?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 718
def override?
  obtain(__method__.to_s.delete('?'))
end
parameters_to_make?() click to toggle source
#

parameters_to_make?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 428
def parameters_to_make?
  obtain(__method__.to_s.delete('?'))
end
pkgconfig_files?() click to toggle source
#

pkgconfig_files?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 456
def pkgconfig_files?
  obtain(__method__.to_s.delete('?'))
end
postinstall?() click to toggle source
#

postinstall?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 372
def postinstall?
  obtain(__method__.to_s.delete('?'))
end
pre_configure_steps?() click to toggle source
#

pre_configure_steps?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 435
def pre_configure_steps?
  obtain(__method__.to_s.delete('?'))
end
pre_make_commands?() click to toggle source
#

pre_make_commands?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 386
def pre_make_commands?
  obtain(__method__.to_s.delete('?'))
end
pre_make_install_sed?() click to toggle source
#

pre_make_install_sed?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 732
def pre_make_install_sed?
  obtain(__method__.to_s.delete('?'))
end
prefix?() click to toggle source
#

prefix?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 725
def prefix?
  obtain(__method__.to_s.delete('?'))
end
preinstall?() click to toggle source
#

preinstall?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 414
def preinstall?
  obtain(__method__.to_s.delete('?'))
end
program_name?() click to toggle source
#

program_name?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 194
def program_name?
  obtain(__method__.to_s.delete('?'))
end
program_name_and_program_version?() click to toggle source
#

program_name_and_program_version?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 683
def program_name_and_program_version?
  obtain(__method__.to_s.delete('?'))
end
program_path?() click to toggle source
#

program_path?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 316
def program_path?
  obtain(__method__.to_s.delete('?'))
end
program_version?() click to toggle source
#

program_version?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 273
def program_version?
  obtain(__method__.to_s.delete('?'))
end
rating?() click to toggle source
#

rating?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 739
def rating?
  obtain(__method__.to_s.delete('?'))
end
raw_data?()
Alias for: dataset?
required_dependencies_on?()
Alias for: required_deps_on?
required_deps_on?() click to toggle source
#

required_deps_on?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 266
def required_deps_on?
  obtain(__method__.to_s.delete('?'))
end
Also aliased as: deps?, deps?, required_dependencies_on?
reset() click to toggle source
#

reset (reset tag)

#
Calls superclass method RBT::Base#reset
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 92
def reset
  super()
  reset_the_internal_variables
end
reset_the_internal_variables() click to toggle source
#

reset_the_internal_variables

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 100
def reset_the_internal_variables
  # ======================================================================= #
  # === :dataset
  #
  # We will store all data into the following variable. The data
  # comes from a .yml file typically.
  #
  # Initialize the variable to an empty Hash.
  # ======================================================================= #
  @internal_hash[:dataset] = {}
  # ======================================================================= #
  # === :cookbook_file
  #
  # This variable will store from which location the dataset was read.
  # ======================================================================= #
  @internal_hash[:cookbook_file] = nil
  # ======================================================================= #
  # === :load_what
  #
  # The next variable will determine whether we will load from the
  # expanded cookbook-dataset or from a raw, simple .yml file. The
  # latter may contain less data. Ideally we should load from the
  # expanded_cookbook if possible and available.
  #
  # The two allowed states for the variable are:
  #
  #   :simple_cookbook
  #   :expanded_cookbook
  #
  # ======================================================================= #
  @internal_hash[:load_what] = :simple_cookbook
  # @internal_hash[:load_what] = :expanded_cookbook
  # ======================================================================= #
  # === @be_quiet_if_the_file_was_not_found
  # ======================================================================= #
  @be_quiet_if_the_file_was_not_found = false
  # ======================================================================= #
  # === :is_the_program_included
  # ======================================================================= #
  @internal_hash[:is_the_program_included] = false
end
reset_the_main_hash() click to toggle source
#

reset_the_main_hash

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 237
def reset_the_main_hash
  @internal_hash[:dataset] = {}
end
Also aliased as: clear, unfreeze
ruby_premake_commands?() click to toggle source
#

ruby_premake_commands?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 753
def ruby_premake_commands?
  obtain(__method__.to_s.delete('?'))
end
run() click to toggle source
#

run (run tag)

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 1038
def run
  menu(
    return_hyphened_commandline_arguments
  )
  load_up_the_dataset
end
run_configure?() click to toggle source
#

run_configure?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 379
def run_configure?
  obtain(__method__.to_s.delete('?'))
end
run_ldconfig?() click to toggle source
#

run_ldconfig?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 589
def run_ldconfig?
  obtain(__method__.to_s.delete('?'))
end
run_make?() click to toggle source
#

run_make?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 760
def run_make?
  obtain(__method__.to_s.delete('?'))
end
run_make_check?() click to toggle source
#

run_make_check?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 767
def run_make_check?
  obtain(__method__.to_s.delete('?'))
end
sed?() click to toggle source
#

sed?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 774
def sed?
  obtain(__method__.to_s.delete('?'))
end
set_apply_patch?()
Alias for: apply_patch?
set_complex() click to toggle source
#

set_complex

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 1007
def set_complex
  reset_the_internal_variables
  set_load_what(:expanded_cookbook)
  load_up_the_dataset
end
set_env_variables?() click to toggle source
#

set_env_variables?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 344
def set_env_variables?
  obtain(__method__.to_s.delete('?'))
end
set_load_what( i = :expanded_cookbook ) click to toggle source
#

set_load_what

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 173
def set_load_what(
    i = :expanded_cookbook
  )
  @internal_hash[:load_what] = i
end
Also aliased as: set_mode
set_mode( i = :expanded_cookbook )
Alias for: set_load_what
short_desc?()
Alias for: short_description?
short_description?() click to toggle source
#

short_description?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 400
def short_description?
  obtain(__method__.to_s.delete('?'))
end
Also aliased as: short_desc?
short_name?() click to toggle source
#

short_name?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 547
def short_name?
  obtain(__method__.to_s.delete('?'))
end
show_help() click to toggle source
#

show_help

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 873
def show_help
  e 'Available options:'
  e
  eparse '  --complex # use the expanded dataset rather '\
         'than the simple .yml file'
  e
end
sub_dir?() click to toggle source
#

sub_dir?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 781
def sub_dir?
  obtain(__method__.to_s.delete('?'))
end
svn_url?() click to toggle source
#

svn_url?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 638
def svn_url?
  obtain(__method__.to_s.delete('?'))
end
tags?() click to toggle source
#

tags?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 201
def tags?
  obtain(__method__.to_s.delete('?'))
end
the_program_is_included() click to toggle source
#

the_program_is_included

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 152
def the_program_is_included
  @internal_hash[:is_the_program_included] = true
end
the_program_is_not_included() click to toggle source
#

the_program_is_not_included

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 145
def the_program_is_not_included
  @internal_hash[:is_the_program_included] = false
end
this_file=( for_this_program = first_argument? )
Alias for: load_up_the_dataset
toggle( i = load_what? )
Alias for: toggle_the_state
toggle_the_state( i = load_what? ) click to toggle source
#

toggle_the_state (toggle tag)

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 222
def toggle_the_state(
    i = load_what?
  )
  case i
  # === :expanded_cookbook
  when :expanded_cookbook
    @internal_hash[:load_what] = :simple_cookbook
  else
    @internal_hash[:load_what] = :expanded_cookbook
  end
end
Also aliased as: toggle
unfreeze()
Alias for: reset_the_main_hash
url1?() click to toggle source
#

url1?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 280
def url1?
  obtain(__method__.to_s.delete('?'))
end
url2?() click to toggle source
#

url2?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 309
def url2?
  obtain(__method__.to_s.delete('?'))
end
url3?() click to toggle source
#

url3?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 788
def url3?
  obtain(__method__.to_s.delete('?'))
end
url4?() click to toggle source
#

url4?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 795
def url4?
  obtain(__method__.to_s.delete('?'))
end
url5?() click to toggle source
#

url5?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 802
def url5?
  obtain(__method__.to_s.delete('?'))
end
use_autoconf?() click to toggle source
#

use_autoconf?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 645
def use_autoconf?
  obtain(__method__.to_s.delete('?'))
end
use_autogen?() click to toggle source
#

use_autogen?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 393
def use_autogen?
  obtain(__method__.to_s.delete('?'))
end
use_build_directory?() click to toggle source
#

use_build_directory?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 337
def use_build_directory?
  obtain(__method__.to_s.delete('?'))
end
use_glib_schema?() click to toggle source
#

use_glib_schema?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 809
def use_glib_schema?
  obtain(__method__.to_s.delete('?'))
end
use_this_build_directory?() click to toggle source
#

use_this_build_directory?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 652
def use_this_build_directory?
  obtain(__method__.to_s.delete('?'))
end
use_this_build_system?() click to toggle source
#

use_this_build_system?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 676
def use_this_build_system?
  obtain(__method__.to_s.delete('?'))
end
use_this_make_command?() click to toggle source
#

use_this_make_command?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 421
def use_this_make_command?
  obtain(__method__.to_s.delete('?'))
end
use_this_make_install_command?() click to toggle source
#

use_this_make_install_command?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 631
def use_this_make_install_command?
  obtain(__method__.to_s.delete('?'))
end
use_this_program_name?() click to toggle source
#

use_this_program_name?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 816
def use_this_program_name?
  obtain(__method__.to_s.delete('?'))
end
use_this_program_name_on_gobolinux?() click to toggle source
#

use_this_program_name_on_gobolinux?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 407
def use_this_program_name_on_gobolinux?
  obtain(__method__.to_s.delete('?'))
end
wikipedia?() click to toggle source
#

wikipedia?

#
# File lib/rbt/cookbooks/raw_cookbook/raw_cookbook.rb, line 624
def wikipedia?
  obtain(__method__.to_s.delete('?'))
end
yaml_file?()
Alias for: cookbook_file?