class RBT::Cookbooks::ExpandedCookbook

Public Class Methods

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

RBT::Cookbooks::ExpandedCookbook[]

#
# File lib/rbt/cookbooks/expanded_cookbook/expanded_cookbook.rb, line 71
def self.[](i = '')
  new(i)
end
new( commandline_arguments = nil, run_already = true ) click to toggle source
#

initialize

#
# File lib/rbt/cookbooks/expanded_cookbook/expanded_cookbook.rb, line 29
def initialize(
    commandline_arguments = nil,
    run_already           = true
  )
  reset
  set_commandline_arguments(
    commandline_arguments
  )
  run if run_already
end

Public Instance Methods

dataset?() click to toggle source
#

dataset?

#
# File lib/rbt/cookbooks/expanded_cookbook/expanded_cookbook.rb, line 64
def dataset?
  @dataset
end
program_path?() click to toggle source
#

program_path?

#
# File lib/rbt/cookbooks/expanded_cookbook/expanded_cookbook.rb, line 50
def program_path?
  @dataset['program_path']
end
reset() click to toggle source
#

reset (reset tag)

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

run (run tag)

#
# File lib/rbt/cookbooks/expanded_cookbook/expanded_cookbook.rb, line 57
def run
  @dataset = load_dataset_from_this_expanded_cookbook(first_argument?)
end