class RBT::Cookbooks::Registered

Constants

SHOW_PROGRAM_NAME
#

SHOW_PROGRAM_NAME

If true then we will show the program in question.

#

Public Class Methods

new( optional_args = ARGV ) click to toggle source
#

initialize

#
# File lib/rbt/registered/registered.rb, line 33
def initialize(
    optional_args = ARGV
  )
end

Public Instance Methods

also_storing_into() click to toggle source
#

also_storing_into

#
# File lib/rbt/registered/registered.rb, line 63
def also_storing_into
  e "#{rev}Also storing into:"
end
hash()
Alias for: hash_to_be_stored?
hash?()
Alias for: hash_to_be_stored?
hash_to_be_stored?() click to toggle source
#

hash_to_be_stored?

This is our main dataset.

#
# File lib/rbt/registered/registered.rb, line 72
def hash_to_be_stored?
  @hash_to_be_stored
end
Also aliased as: hash?, hash
input?()
Alias for: this_program?
it_is_part_of_the_package(i) click to toggle source
#

it_is_part_of_the_package

#
# File lib/rbt/registered/registered.rb, line 100
def it_is_part_of_the_package(i)
  opne "#{rev}It is part of the package → `#{simp(i)}#{rev}`."
end
reset() click to toggle source
#

reset

#
Calls superclass method RBT::LeanPrototype#reset
# File lib/rbt/registered/registered.rb, line 41
def reset
  super()
  infer_the_namespace
end
ruby_src_dir?() click to toggle source
#

ruby_src_dir?

This refers to the ruby files on my home directory; it’s not useful for other users of this project.

#
# File lib/rbt/registered/registered.rb, line 83
def ruby_src_dir?
  RUBY_SRC_DIR_AT_HOME
end
ruby_src_dir_for_the_registered_yaml_files?() click to toggle source
#

ruby_src_dir_for_the_registered_yaml_files?

This is specifically for my home directory, the registered/ subdirectory.

#
# File lib/rbt/registered/registered.rb, line 93
def ruby_src_dir_for_the_registered_yaml_files?
  "#{ruby_src_dir?}rbt/lib/rbt/yaml/registered/"
end
set_this_program(i) click to toggle source
#

set_this_program

#
# File lib/rbt/registered/registered.rb, line 49
def set_this_program(i)
  @this_program = i
end
this_program?() click to toggle source
#

this_program?

#
# File lib/rbt/registered/registered.rb, line 56
def this_program?
  @this_program
end
Also aliased as: input?