SYMBOL INDEX (972 symbols across 72 files) FILE: examples/chef_cloud/chef_repo/cookbooks/ec2/attributes/ec2_metadata.rb function get_from_ec2 (line 22) | def get_from_ec2(thing="/") FILE: lib/cloud_providers.rb type CloudProviders (line 4) | module CloudProviders function all (line 7) | def self.all FILE: lib/cloud_providers/cloud_provider.rb type CloudProviders (line 4) | module CloudProviders class CloudProvider (line 5) | class CloudProvider method initialize (line 16) | def initialize(name, init_opts={}, &block) method after_initialized (line 28) | def after_initialized method run (line 31) | def run method default_keypair_path (line 35) | def default_keypair_path method default_keypair_path (line 39) | def self.default_keypair_path method bootstrap_nodes! (line 43) | def bootstrap_nodes! method method_missing (line 46) | def method_missing(m,*a,&block) method proper_name (line 56) | def proper_name method cloud (line 60) | def cloud method maybe (line 64) | def maybe(action_description, default='Y', &block) FILE: lib/cloud_providers/connections.rb type CloudProviders (line 3) | module CloudProviders type Connections (line 4) | module Connections function host (line 7) | def host(n=nil) function ping_port (line 15) | def ping_port(host, port=22, retry_times=400) function run (line 27) | def run(commands, o={}) function shell_escape (line 31) | def shell_escape(str) function ssh (line 37) | def ssh( commands=[], extra_ssh_ops={}) function ssh_cleanup_known_hosts! (line 83) | def ssh_cleanup_known_hosts!(hosts=[host, public_ip]) function ssh_options (line 94) | def ssh_options(opts={}) function rsync (line 102) | def rsync( opts={} ) function scp (line 115) | def scp(opts={}) function system_run (line 131) | def system_run(cmd, o={}) FILE: lib/cloud_providers/default/base.rb type CloudProviders (line 1) | module CloudProviders class Base (line 2) | class Base < CloudProvider FILE: lib/cloud_providers/ec2/ec2.rb type CloudProviders (line 6) | module CloudProviders class Ec2 (line 7) | class Ec2 < CloudProvider method default_access_key (line 9) | def self.default_access_key method default_secret_access_key (line 13) | def self.default_secret_access_key method default_private_key (line 17) | def self.default_private_key method default_cert (line 21) | def self.default_cert method default_user_id (line 25) | def self.default_user_id method default_ec2_url (line 29) | def self.default_ec2_url method default_s3_url (line 33) | def self.default_s3_url method default_cloud_cert (line 37) | def self.default_cloud_cert method default_credential_file (line 41) | def self.default_credential_file method load_keys_from_file (line 46) | def self.load_keys_from_file(filename=POOLPARTY_CONFIG_FILE, caching... method load_keys_from_credential_file (line 54) | def self.load_keys_from_credential_file(filename=default_credential_... method create! (line 95) | def create! method run (line 101) | def run method teardown (line 184) | def teardown method expand_by (line 191) | def expand_by(num=1) method decoded_user_data (line 218) | def decoded_user_data method wait_for_node (line 228) | def wait_for_node(instance) method contract_by (line 234) | def contract_by(num=1) method bootstrap_nodes! (line 245) | def bootstrap_nodes!(tmp_path=nil) method configure_nodes! (line 260) | def configure_nodes!(tmp_path=nil) method assign_elastic_ips (line 271) | def assign_elastic_ips method cleanup_ssh_known_hosts! (line 295) | def cleanup_ssh_known_hosts!(nodes_to_cleanup=nodes, method nodes (line 305) | def nodes method tags (line 317) | def tags(instance) method all_nodes (line 322) | def all_nodes method describe_instances (line 335) | def describe_instances(id=nil) method block_device_mapping (line 353) | def block_device_mapping(o=[], given_name=cloud.proper_name ) method load_balancer (line 357) | def load_balancer(given_name=cloud.proper_name, o={}, &block) method autoscale (line 360) | def autoscale(given_name=cloud.proper_name, o={}, &block) method security_group (line 363) | def security_group(given_name=cloud.proper_name, o={}, &block) method elastic_ip (line 371) | def elastic_ip(*ips) method rds (line 375) | def rds(given_name=cloud.proper_name, o={}, &block) method available_rds_instances (line 379) | def available_rds_instances method aws_options (line 384) | def aws_options(opts={}) method ec2 (line 397) | def ec2 method as (line 409) | def as method elb (line 414) | def elb method awsrds (line 418) | def awsrds method security_group_names (line 422) | def security_group_names method security_groups (line 425) | def security_groups method load_balancers (line 428) | def load_balancers method autoscalers (line 431) | def autoscalers method elastic_ips (line 434) | def elastic_ips method ebs_volume_groups (line 438) | def ebs_volume_groups method ebs_volumes (line 449) | def ebs_volumes(name=nil, &block) method assign_ebs_volumes (line 453) | def assign_ebs_volumes method rds_instances (line 457) | def rds_instances method reset! (line 462) | def reset! method list_ec2_volumes (line 468) | def list_ec2_volumes(filters=nil) method credential_file (line 489) | def credential_file(file=nil) method sub_opts (line 500) | def sub_opts method generate_keypair (line 503) | def generate_keypair(n=nil) FILE: lib/cloud_providers/ec2/ec2_instance.rb type CloudProviders (line 1) | module CloudProviders class Ec2Instance (line 2) | class Ec2Instance < RemoteInstance method initialize (line 22) | def initialize(raw_response={}) method keypair (line 44) | def keypair(n=nil) method security_group_names (line 49) | def security_group_names method zone (line 53) | def zone method reachable? (line 57) | def reachable? method ssh_available? (line 61) | def ssh_available? method in_service? (line 70) | def in_service? method run! (line 74) | def run! method run! (line 81) | def self.run!(hsh); new(hsh).run!; end method launch_instances! (line 83) | def launch_instances! method request_spot_instances! (line 103) | def request_spot_instances! method terminate! (line 123) | def terminate! method terminate! (line 127) | def self.terminate!(hsh={}); new(hsh).terminate!; end method rsync_excludes (line 130) | def rsync_excludes(array_of_abs_paths_to_exclude=nil) method make_image (line 149) | def make_image(opts={}) method bundle_and_register (line 171) | def bundle_and_register(img=nil, opts={}) FILE: lib/cloud_providers/ec2/helpers/authorize.rb type CloudProviders (line 1) | module CloudProviders class Authorize (line 2) | class Authorize < Ec2Helper method run (line 11) | def run method to_hash (line 28) | def to_hash FILE: lib/cloud_providers/ec2/helpers/ec2_helper.rb type CloudProviders (line 1) | module CloudProviders class Ec2Helper (line 2) | class Ec2Helper < CloudProvider method initialize (line 4) | def initialize(name=cloud.proper_name, init_opts={}, &block) method elb (line 17) | def elb method ec2 (line 21) | def ec2 method as (line 25) | def as method rds (line 29) | def rds method pool (line 33) | def pool method property (line 37) | def self.property(*names) FILE: lib/cloud_providers/ec2/helpers/elastic_auto_scaler.rb type CloudProviders (line 1) | module CloudProviders class ElasticAutoScaler (line 2) | class ElasticAutoScaler < Ec2Helper method run (line 7) | def run method teardown (line 32) | def teardown method delete_autoscaling_group! (line 54) | def delete_autoscaling_group! method delete_launch_configuration! (line 67) | def delete_launch_configuration!(n=new_launch_configuration_name) method ensure_no_scaling_activities (line 71) | def ensure_no_scaling_activities method should_create_autoscaling_group? (line 93) | def should_create_autoscaling_group? method should_create_launch_configuration? (line 102) | def should_create_launch_configuration? method should_update_launch_configuration? (line 110) | def should_update_launch_configuration? method update_launch_configuration! (line 132) | def update_launch_configuration! method create_launch_configuration! (line 135) | def create_launch_configuration!(lc=new_launch_configuration_name) method launch_configurations (line 158) | def launch_configurations method create_autoscaling_group! (line 176) | def create_autoscaling_group! method should_update_autoscaling_group? (line 188) | def should_update_autoscaling_group? method update_autoscaling_group! (line 217) | def update_autoscaling_group! method autoscaling_groups (line 229) | def autoscaling_groups method scaling_activities (line 249) | def scaling_activities method new_launch_configuration_name (line 263) | def new_launch_configuration_name method old_launch_configuration_name (line 266) | def old_launch_configuration_name method used_launched_config_id (line 271) | def used_launched_config_id method new_auto_scaling_group_name (line 279) | def new_auto_scaling_group_name method old_auto_scaling_group_name (line 283) | def old_auto_scaling_group_name method used_autoscaling_group_id (line 287) | def used_autoscaling_group_id method list (line 297) | def list method trigger (line 301) | def trigger(*trigger_hashes) method triggers (line 308) | def triggers method reset! (line 311) | def reset! class ElasticTrigger (line 319) | class ElasticTrigger < Ec2Helper method measure_names (line 334) | def measure_names method statistic_names (line 338) | def statistic_names method run (line 342) | def run method teardown (line 356) | def teardown method diff (line 363) | def diff(hsh={}) method autoscaling_triggers (line 379) | def autoscaling_triggers method create_autoscaling_trigger! (line 404) | def create_autoscaling_trigger! method measure_name (line 422) | def measure_name method trigger_name (line 426) | def trigger_name FILE: lib/cloud_providers/ec2/helpers/elastic_block_device_mapping.rb type CloudProviders (line 1) | module CloudProviders class ElasticBlockDeviceMapping (line 2) | class ElasticBlockDeviceMapping < Ec2Helper method initialize (line 3) | def initialize(name, init_opts={}, &block) FILE: lib/cloud_providers/ec2/helpers/elastic_block_store.rb type CloudProviders (line 1) | module CloudProviders class ElasticBlockStore (line 2) | class ElasticBlockStore < Ec2Helper method createTime (line 14) | def createTime(create_time) method initialize (line 21) | def initialize(raw_response,init_opts={},&block) method parse_raw_response (line 26) | def parse_raw_response(raw_response) method attached? (line 39) | def attached?(fn_instance_id=nil) method available? (line 46) | def available? method attach (line 50) | def attach(ec2_instance,device) method detach (line 58) | def detach method detach! (line 66) | def detach! method delete! (line 70) | def delete! method update! (line 74) | def update! FILE: lib/cloud_providers/ec2/helpers/elastic_block_store_group.rb function initialize (line 14) | def initialize(name=cloud.proper_name, init_opts={}, &block) function after_initialized (line 18) | def after_initialized function volumes (line 25) | def volumes(*volume_ids) function volumes_attached_to (line 29) | def volumes_attached_to(instanceId) function free_volumes (line 34) | def free_volumes(availability_zone) function get_free_volume (line 38) | def get_free_volume(availability_zone) FILE: lib/cloud_providers/ec2/helpers/elastic_ip.rb type CloudProviders (line 1) | module CloudProviders class ElasticIp (line 3) | class ElasticIp < Ec2Helper method initialize (line 7) | def initialize(raw_response={}) method assign_to (line 13) | def assign_to(node) method unused_elastic_ips (line 17) | def self.unused_elastic_ips(ec2_instance) method elastic_ips (line 21) | def self.elastic_ips(ec2_instance) method reset! (line 31) | def self.reset! FILE: lib/cloud_providers/ec2/helpers/elastic_load_balancer.rb type CloudProviders (line 1) | module CloudProviders class ElasticLoadBalancer (line 2) | class ElasticLoadBalancer < Ec2Helper method create! (line 6) | def create! method run (line 13) | def run method teardown (line 36) | def teardown method listener (line 41) | def listener(*listener_hashes) method health_check (line 47) | def health_check(*health_check_hashes) method _listeners (line 54) | def _listeners method _health_checks (line 57) | def _health_checks method real_name (line 60) | def real_name method attach_instances_if_necessary (line 64) | def attach_instances_if_necessary method detach_instances_if_necessary (line 69) | def detach_instances_if_necessary method should_create_load_balancer? (line 77) | def should_create_load_balancer? method create_load_balancer! (line 80) | def create_load_balancer! method configure_health_check! (line 88) | def configure_health_check!(hc) method should_update_load_balancer? (line 92) | def should_update_load_balancer? method running_load_balancers (line 112) | def running_load_balancers method elastic_load_balancers (line 115) | def elastic_load_balancers method instance_healths (line 146) | def instance_healths class HealthCheck (line 162) | class HealthCheck < Ec2Helper method initialize (line 170) | def initialize(name, init_opts={}, &block) method to_hash (line 175) | def to_hash class ElasticListener (line 183) | class ElasticListener < Ec2Helper method initialize (line 189) | def initialize(name, init_opts={}, &block) method to_hash (line 194) | def to_hash method diff (line 198) | def diff(hsh={}) FILE: lib/cloud_providers/ec2/helpers/rds_instance.rb type CloudProviders (line 1) | module CloudProviders class RdsInstance (line 2) | class RdsInstance < Ec2Helper method authorize (line 5) | def authorize(options) method database (line 11) | def database(*db_names) method create! (line 18) | def create! method run (line 25) | def run method teardown (line 31) | def teardown method current_status (line 36) | def current_status method exists? (line 40) | def exists? method available? (line 44) | def available? method instance_id (line 48) | def instance_id method authorizations (line 54) | def authorizations method after_initialized (line 58) | def after_initialized method rds_instances (line 65) | def rds_instances method should_create_rds_instance? (line 71) | def should_create_rds_instance? method create_rds_instance! (line 75) | def create_rds_instance! method delete_rds_instance! (line 93) | def delete_rds_instance! method authorize_access (line 97) | def authorize_access FILE: lib/cloud_providers/ec2/helpers/revoke.rb type CloudProviders (line 1) | module CloudProviders class Revoke (line 3) | class Revoke < Ec2Helper method run (line 9) | def run FILE: lib/cloud_providers/ec2/helpers/security_group.rb type CloudProviders (line 1) | module CloudProviders class SecurityGroup (line 2) | class SecurityGroup < Ec2Helper method merge! (line 4) | def merge! init_opts, &block method run (line 9) | def run method authorize (line 69) | def authorize(o={}, &block) method revoke (line 72) | def revoke(o={}, &block) method create_security_group! (line 75) | def create_security_group! method should_create_security_group? (line 79) | def should_create_security_group? method security_groups (line 82) | def security_groups method all_security_groups (line 85) | def all_security_groups method all_security_groups (line 88) | def self.all_security_groups(ec2) method to_s (line 115) | def to_s method authorizes (line 118) | def authorizes method revokes (line 121) | def revokes FILE: lib/cloud_providers/remote_instance.rb type CloudProviders (line 4) | module CloudProviders class RemoteInstance (line 5) | class RemoteInstance method initialize (line 17) | def initialize(init_opts={}, &block) method keypair (line 24) | def keypair(n=nil) method after_initialized (line 28) | def after_initialized method accessible? (line 31) | def accessible? method rsync_dir (line 35) | def rsync_dir(dir) method chef_bootstrapped? (line 39) | def chef_bootstrapped? method bootstrap_chef! (line 45) | def bootstrap_chef! method run_chef! (line 49) | def run_chef! method run (line 53) | def run method default_keypair_path (line 57) | def default_keypair_path method each (line 62) | def each method [] (line 66) | def [](k) method []= (line 74) | def []=(k,v) method has_key? (line 78) | def has_key?(key) method keys (line 82) | def keys method values (line 86) | def values method to_hash (line 90) | def to_hash method running? (line 96) | def running? method pending? (line 100) | def pending? method terminating? (line 104) | def terminating? method terminated? (line 108) | def terminated? method elapsed_runtime (line 113) | def elapsed_runtime method ssh_available? (line 117) | def ssh_available? method cloud (line 125) | def cloud method cloud_provider (line 129) | def cloud_provider FILE: lib/core/array.rb class Array (line 5) | class Array method select_with_hash (line 8) | def select_with_hash(conditions={}) FILE: lib/core/hash.rb class Hash (line 4) | class Hash method choose (line 7) | def choose(&block) method diff (line 12) | def diff(other, *hsh) method merge_if! (line 22) | def merge_if!(k, v) method symbolize_keys! (line 32) | def symbolize_keys!(key_modifier=nil) method method_missing (line 45) | def method_missing(sym, *args, &block) FILE: lib/core/object.rb class Object (line 1) | class Object method pool (line 3) | def pool(name=nil, &block) method reset! (line 7) | def reset! method print_msg (line 11) | def print_msg(msg_arr) method blank? (line 18) | def blank? method change_attr (line 30) | def change_attr attr, val, &block method progress_bar_until (line 40) | def progress_bar_until(msg=nil, &block) FILE: lib/core/string.rb class String (line 1) | class String method camelcase (line 5) | def camelcase method snake_case (line 10) | def snake_case method dasherize (line 15) | def dasherize method classify (line 25) | def classify method constantize (line 35) | def constantize(mod=Object) method / (line 44) | def /(o) FILE: lib/core/symbol.rb class Symbol (line 1) | class Symbol method sanitize (line 8) | def sanitize method <=> (line 11) | def <=>(b) method / (line 21) | def /(o) method classify (line 26) | def classify FILE: lib/keypair.rb class Keypair (line 4) | class Keypair method initialize (line 17) | def initialize(fpath, extra_paths=[], opts={}) method exists? (line 25) | def exists? method content (line 30) | def content method full_filepath (line 36) | def full_filepath method to_s (line 42) | def to_s method public_key (line 49) | def public_key method public_key= (line 58) | def public_key=(str) method basename (line 63) | def basename method filename (line 68) | def filename method each (line 73) | def each method valid? (line 80) | def valid? method validations (line 87) | def validations method has_proper_permissions? (line 92) | def has_proper_permissions? method keypair_found? (line 96) | def keypair_found? method find_file_in_path_with_suffix (line 106) | def find_file_in_path_with_suffix(file, extra_paths, suffixes=[], FILE: lib/poolparty.rb type PoolParty (line 31) | module PoolParty function version (line 32) | def self.version function lib_dir (line 36) | def self.lib_dir FILE: lib/poolparty/base.rb type PoolParty (line 4) | module PoolParty class Base (line 6) | class Base method initialize (line 9) | def initialize(name, o={}, &block) method after_initialized (line 16) | def after_initialized method run (line 18) | def run method method_missing (line 21) | def method_missing(m,*a,&block) FILE: lib/poolparty/chef.rb type PoolParty (line 1) | module PoolParty class Chef (line 2) | class Chef < Base method compile! (line 15) | def compile! method types (line 19) | def self.types method get_chef (line 23) | def self.get_chef(type,cloud,&block) method attributes (line 28) | def attributes(hsh={}, &block) method override_attributes (line 32) | def override_attributes(hsh={}, &block) method on_step (line 66) | def on_step action, &block method recipe (line 93) | def recipe(recipe_name, hsh={}) method recipes (line 110) | def recipes(*recipes) method node_run! (line 116) | def node_run!(remote_instance) method node_stop! (line 129) | def node_stop!(remote_instance) method node_configure! (line 133) | def node_configure!(remote_instance) method node_bootstrapped? (line 137) | def node_bootstrapped?(remote_instance, quiet=true) method node_bootstrap! (line 157) | def node_bootstrap!(remote_instance, force=false) method _recipes (line 181) | def _recipes action = nil method _current_action (line 190) | def _current_action method chef_cmd (line 194) | def chef_cmd method method_missing (line 207) | def method_missing(m,*args,&block) FILE: lib/poolparty/chef_attribute.rb type PoolParty (line 1) | module PoolParty class ChefAttribute (line 2) | class ChefAttribute < Base method initialize (line 4) | def initialize(opts={}, &block) method merge! (line 11) | def merge!(h={}) method to_dna (line 15) | def to_dna(recipes, filepath, opts=init_opts) method method_missing (line 27) | def method_missing(m,*a,&block) FILE: lib/poolparty/chef_client.rb type PoolParty (line 3) | module PoolParty class ChefClient (line 5) | class ChefClient < Chef method openid_url (line 13) | def openid_url(url=nil) method roles (line 23) | def roles(*roles) method after_initialized (line 29) | def after_initialized method chef_bin (line 32) | def chef_bin method chef_cmd (line 36) | def chef_cmd method node_configure! (line 43) | def node_configure!(remote_instance) method build_tmp_dir (line 55) | def build_tmp_dir method write_client_dot_rb (line 72) | def write_client_dot_rb(to=tmp_path/"etc"/"chef"/"client.rb") method write_bootstrap_files (line 93) | def write_bootstrap_files(solo_rb, chef_json) FILE: lib/poolparty/chef_solo.rb type PoolParty (line 3) | module PoolParty class ChefSolo (line 4) | class ChefSolo < Chef method chef_bin (line 8) | def chef_bin method chef_cmd (line 12) | def chef_cmd method build_tmp_dir (line 27) | def build_tmp_dir method write_solo_dot_rb (line 54) | def write_solo_dot_rb(to=tmp_path/"etc"/"chef"/"solo.rb") method write_chef_role_json (line 66) | def write_chef_role_json(to=tmp_path/"etc"/"chef"/"dna.json") FILE: lib/poolparty/cloud.rb type PoolParty (line 1) | module PoolParty class Cloud (line 2) | class Cloud < Base method keypair (line 12) | def keypair(n=nil, extra_paths=[]) method generate_keypair (line 26) | def generate_keypair(extra_paths=[]) method after_initialized (line 32) | def after_initialized method instances (line 43) | def instances(arg) method upload (line 61) | def upload source, dest method pool (line 68) | def pool method tmp_path (line 72) | def tmp_path method using (line 79) | def using(provider_name, &block) method chef (line 96) | def chef(chef_type=:solo, &block) method run (line 101) | def run method teardown (line 114) | def teardown method reboot! (line 150) | def reboot! method compile! (line 187) | def compile! method bootstrap! (line 197) | def bootstrap! method configure! (line 201) | def configure! method reset! (line 206) | def reset! method ssh (line 210) | def ssh(num=0) method rsync (line 214) | def rsync(source, dest) method nodes (line 221) | def nodes method cmd (line 227) | def cmd(commands, opts={}) method cssh (line 238) | def cssh(user = nil, use_keypair = nil) method run_instance (line 248) | def run_instance(o={}); cloud_provider.run_instance(o);end method terminate_instance! (line 249) | def terminate_instance!(o={}); cloud_provider.terminate_instance!(o)... method describe_instances (line 250) | def describe_instances(o={}); cloud_provider.describe_instances(o);end method describe_instance (line 251) | def describe_instance(o={}); cloud_provider.describe_instance(o);end method proper_name (line 253) | def proper_name FILE: lib/poolparty/pool.rb type PoolParty (line 1) | module PoolParty class Pool (line 3) | class Pool < Base method cloud (line 6) | def cloud(name, &block) method clouds (line 14) | def clouds method cmd (line 20) | def cmd(commands, opts={}) method chef_step (line 42) | def chef_step name = nil method run (line 50) | def run method to_hash (line 57) | def to_hash FILE: lib/poolparty/pool_party_error.rb type PoolParty (line 6) | module PoolParty class PoolPartyError (line 7) | class PoolPartyError method create (line 13) | def self.create(class_name="StandardError", msg="Error") FILE: lib/poolparty/version.rb type PoolParty (line 1) | module PoolParty FILE: setup.rb type Enumerable (line 12) | module Enumerable function read (line 18) | def File.read(fname) type Errno (line 26) | module Errno class ENOTEMPTY (line 27) | class ENOTEMPTY function binread (line 33) | def File.binread(fname) function dir? (line 40) | def File.dir?(path) class ConfigTable (line 45) | class ConfigTable method initialize (line 49) | def initialize(rbconfig) method verbose? (line 65) | def verbose? method no_harm? (line 71) | def no_harm? method [] (line 75) | def [](key) method []= (line 79) | def []=(key, val) method names (line 83) | def names method each (line 87) | def each(&block) method key? (line 91) | def key?(name) method lookup (line 95) | def lookup(name) method add (line 99) | def add(item) method remove (line 104) | def remove(name) method load_script (line 111) | def load_script(path, inst = nil) method savefile (line 117) | def savefile method load_savefile (line 121) | def load_savefile method save (line 132) | def save method load_standard_entries (line 141) | def load_standard_entries method standard_entries (line 147) | def standard_entries(rbconfig) method load_multipackage_entries (line 260) | def load_multipackage_entries method multipackage_entries (line 266) | def multipackage_entries method fixup (line 295) | def fixup method parse_opt (line 304) | def parse_opt(opt) method dllext (line 309) | def dllext method value_config? (line 313) | def value_config?(name) class Item (line 317) | class Item method initialize (line 318) | def initialize(name, template, default, desc) method help_opt (line 332) | def help_opt method value? (line 336) | def value? method value (line 340) | def value method resolve (line 344) | def resolve(table) method set (line 348) | def set(val) method check (line 354) | def check(val) class BoolItem (line 360) | class BoolItem < Item method config_type (line 361) | def config_type method help_opt (line 365) | def help_opt method check (line 371) | def check(val) class PathItem (line 382) | class PathItem < Item method config_type (line 383) | def config_type method check (line 389) | def check(path) class ProgramItem (line 395) | class ProgramItem < Item method config_type (line 396) | def config_type class SelectItem (line 401) | class SelectItem < Item method initialize (line 402) | def initialize(name, selection, default, desc) method config_type (line 407) | def config_type method check (line 413) | def check(val) class ExecItem (line 421) | class ExecItem < Item method initialize (line 422) | def initialize(name, selection, desc, &block) method config_type (line 428) | def config_type method value? (line 432) | def value? method resolve (line 436) | def resolve(table) method evaluate (line 442) | def evaluate(val, table) class PackageSelectionItem (line 451) | class PackageSelectionItem < Item method initialize (line 452) | def initialize(name, template, default, help_default, desc) method config_type (line 459) | def config_type method check (line 465) | def check(val) class MetaConfigEnvironment (line 473) | class MetaConfigEnvironment method initialize (line 474) | def initialize(config, installer) method config_names (line 479) | def config_names method config? (line 483) | def config?(name) method bool_config? (line 487) | def bool_config?(name) method path_config? (line 491) | def path_config?(name) method value_config? (line 495) | def value_config?(name) method add_config (line 499) | def add_config(item) method add_bool_config (line 503) | def add_bool_config(name, default, desc) method add_path_config (line 507) | def add_path_config(name, default, desc) method set_config_default (line 511) | def set_config_default(name, default) method remove_config (line 515) | def remove_config(name) method packages (line 520) | def packages method declare_packages (line 526) | def declare_packages(list) type FileOperations (line 536) | module FileOperations function mkdir_p (line 538) | def mkdir_p(dirname, prefix = nil) function rm_f (line 555) | def rm_f(path) function rm_rf (line 561) | def rm_rf(path) function remove_tree (line 567) | def remove_tree(path) function remove_tree0 (line 577) | def remove_tree0(path) function move_file (line 597) | def move_file(src, dest) function force_remove_file (line 610) | def force_remove_file(path) function remove_file (line 617) | def remove_file(path) function install (line 622) | def install(from, dest, mode, prefix = nil) function diff? (line 648) | def diff?(new_content, path) function command (line 653) | def command(*args) function ruby (line 659) | def ruby(*args) function make (line 663) | def make(task = nil) function extdir? (line 667) | def extdir?(dir) function files_of (line 671) | def files_of(dir) function directories_of (line 679) | def directories_of(dir) type HookScriptAPI (line 689) | module HookScriptAPI function get_config (line 691) | def get_config(key) function set_config (line 698) | def set_config(key, val) function curr_srcdir (line 706) | def curr_srcdir function curr_objdir (line 710) | def curr_objdir function srcfile (line 714) | def srcfile(path) function srcexist? (line 718) | def srcexist?(path) function srcdirectory? (line 722) | def srcdirectory?(path) function srcfile? (line 726) | def srcfile?(path) function srcentries (line 730) | def srcentries(path = '.') function srcfiles (line 736) | def srcfiles(path = '.') function srcdirectories (line 742) | def srcdirectories(path = '.') class ToplevelInstaller (line 751) | class ToplevelInstaller method invoke (line 767) | def ToplevelInstaller.invoke method multipackage? (line 776) | def ToplevelInstaller.multipackage? method load_rbconfig (line 780) | def ToplevelInstaller.load_rbconfig method initialize (line 791) | def initialize(ardir_root, config) method config (line 798) | def config(key) method inspect (line 802) | def inspect method invoke (line 806) | def invoke method run_metaconfigs (line 830) | def run_metaconfigs method init_installers (line 834) | def init_installers method srcdir_root (line 842) | def srcdir_root method objdir_root (line 846) | def objdir_root method relpath (line 850) | def relpath method parsearg_global (line 858) | def parsearg_global method valid_task? (line 884) | def valid_task?(t) method valid_task_re (line 888) | def valid_task_re method parsearg_no_options (line 892) | def parsearg_no_options method parsearg_config (line 905) | def parsearg_config method parsearg_install (line 931) | def parsearg_install method print_usage (line 948) | def print_usage(out) method exec_config (line 990) | def exec_config method exec_setup (line 995) | def exec_setup method exec_install (line 999) | def exec_install method exec_test (line 1003) | def exec_test method exec_show (line 1007) | def exec_show method exec_clean (line 1013) | def exec_clean method exec_distclean (line 1017) | def exec_distclean class ToplevelInstallerMulti (line 1024) | class ToplevelInstallerMulti < ToplevelInstaller method initialize (line 1028) | def initialize(ardir_root, config) method run_metaconfigs (line 1035) | def run_metaconfigs method packages= (line 1044) | def packages=(list) method init_installers (line 1053) | def init_installers method extract_selection (line 1068) | def extract_selection(list) method print_usage (line 1076) | def print_usage(f) method exec_config (line 1087) | def exec_config method exec_setup (line 1094) | def exec_setup method exec_install (line 1100) | def exec_install method exec_test (line 1106) | def exec_test method exec_clean (line 1112) | def exec_clean method exec_distclean (line 1119) | def exec_distclean method each_selected_installers (line 1130) | def each_selected_installers method run_hook (line 1141) | def run_hook(id) method verbose? (line 1146) | def verbose? method no_harm? (line 1151) | def no_harm? class Installer (line 1158) | class Installer method initialize (line 1165) | def initialize(config, srcroot, objroot) method inspect (line 1172) | def inspect method noop (line 1176) | def noop(rel) method srcdir_root (line 1183) | def srcdir_root method objdir_root (line 1187) | def objdir_root method relpath (line 1191) | def relpath method verbose? (line 1200) | def verbose? method no_harm? (line 1205) | def no_harm? method verbose_off (line 1209) | def verbose_off method exec_config (line 1222) | def exec_config method config_dir_ext (line 1229) | def config_dir_ext(rel) method extconf (line 1237) | def extconf method exec_setup (line 1245) | def exec_setup method setup_dir_bin (line 1249) | def setup_dir_bin(rel) method setup_dir_ext (line 1257) | def setup_dir_ext(rel) method update_shebang_line (line 1265) | def update_shebang_line(path) method new_shebang (line 1287) | def new_shebang(old) method open_atomic_writer (line 1298) | def open_atomic_writer(path, &block) class Shebang (line 1308) | class Shebang method load (line 1309) | def Shebang.load(path) method parse (line 1318) | def Shebang.parse(line) method initialize (line 1323) | def initialize(cmd, args = []) method to_s (line 1331) | def to_s method exec_install (line 1340) | def exec_install method install_dir_bin (line 1345) | def install_dir_bin(rel) method install_dir_lib (line 1349) | def install_dir_lib(rel) method install_dir_ext (line 1353) | def install_dir_ext(rel) method install_dir_data (line 1360) | def install_dir_data(rel) method install_dir_conf (line 1364) | def install_dir_conf(rel) method install_dir_man (line 1370) | def install_dir_man(rel) method install_files (line 1374) | def install_files(list, dest, mode) method libfiles (line 1381) | def libfiles method rubyextentions (line 1385) | def rubyextentions(dir) method targetfiles (line 1393) | def targetfiles method mapdir (line 1397) | def mapdir(ents) method existfiles (line 1415) | def existfiles method hookfiles (line 1419) | def hookfiles method glob_select (line 1425) | def glob_select(pat, ents) method glob_reject (line 1430) | def glob_reject(pats, ents) method globs2re (line 1442) | def globs2re(pats) method exec_test (line 1454) | def exec_test method exec_clean (line 1474) | def exec_clean method clean_dir_ext (line 1486) | def clean_dir_ext(rel) method exec_distclean (line 1495) | def exec_distclean method distclean_dir_ext (line 1504) | def distclean_dir_ext(rel) method exec_task_traverse (line 1517) | def exec_task_traverse(task) method traverse (line 1529) | def traverse(task, rel, mid) method dive_into (line 1540) | def dive_into(rel) method run_hook (line 1555) | def run_hook(id) class SetupError (line 1570) | class SetupError < StandardError; end function setup_rb_error (line 1572) | def setup_rb_error(msg) FILE: test/fixtures/resources/fake_plugin.rb type PoolParty (line 1) | module PoolParty type Resources (line 2) | module Resources class FakePlugin (line 4) | class FakePlugin < Resource method has_method_name (line 6) | def self.has_method_name method name (line 10) | def name method after_loaded (line 14) | def after_loaded FILE: test/fixtures/resources/fake_resource.rb class FakeResource (line 1) | class FakeResource < PoolParty::Resource method has_method_name (line 6) | def self.has_method_name method print_to_chef (line 10) | def print_to_chef FILE: test/fixtures/resources/fake_subclassed_plugin.rb type PoolParty (line 1) | module PoolParty type Resources (line 2) | module Resources class FakeSubclassedPlugin (line 4) | class FakeSubclassedPlugin < Resource method has_method_name (line 6) | def self.has_method_name method after_loaded (line 10) | def after_loaded FILE: test/lib/core/array_test.rb class ArrayTest (line 3) | class ArrayTest < Test::Unit::TestCase method setup (line 4) | def setup method test_be_able_to_select_with_hash (line 14) | def test_be_able_to_select_with_hash FILE: test/lib/core/hash_test.rb class HashTest (line 3) | class HashTest < Test::Unit::TestCase FILE: test/lib/core/object_test.rb class ObjectTest (line 3) | class ObjectTest < Test::Unit::TestCase FILE: test/lib/core/string_test.rb class StringTest (line 3) | class StringTest < Test::Unit::TestCase FILE: test/lib/core/symbol_test.rb class SymbolTest (line 3) | class SymbolTest < Test::Unit::TestCase FILE: test/lib/poolparty/cloud_test.rb class CloudTest (line 4) | class CloudTest < Test::Unit::TestCase method setup (line 6) | def setup method test_have_a_pool_name (line 14) | def test_have_a_pool_name method test_have_a_keypair (line 18) | def test_have_a_keypair method test_be_using_ec2_cloud_provider_by_default (line 23) | def test_be_using_ec2_cloud_provider_by_default method test_set_the_cloud_provider_cloud_and_keypair_with_cloud_provider (line 28) | def test_set_the_cloud_provider_cloud_and_keypair_with_cloud_provider method test_set_the_cloud_provider_with_a_using_block (line 33) | def test_set_the_cloud_provider_with_a_using_block method test_nodes (line 44) | def test_nodes method test_run (line 50) | def test_run method test_expansion (line 56) | def test_expansion method test_contract! (line 63) | def test_contract! method test_change_ssh_port (line 71) | def test_change_ssh_port method test_change_ssh_port (line 83) | def test_change_ssh_port FILE: test/lib/poolparty/keypair_test.rb class KeypairTest (line 3) | class KeypairTest < Test::Unit::TestCase FILE: test/lib/poolparty/pool_party_error_test.rb class PoolPartyErrorTest (line 3) | class PoolPartyErrorTest < Test::Unit::TestCase FILE: test/lib/poolparty/pool_test.rb class PoolTest (line 3) | class PoolTest < Test::Unit::TestCase method setup (line 4) | def setup method test_set_up_pool_object (line 8) | def test_set_up_pool_object FILE: test/lib/poolparty/rds_test.rb class RdsTest (line 3) | class RdsTest < Test::Unit::TestCase method setup (line 4) | def setup method test_basic (line 12) | def test_basic method test_required_properties (line 16) | def test_required_properties method scenario (line 22) | def scenario(filename) method stub_response (line 32) | def stub_response(klass, method, fixture_filename) FILE: test/test_methods.rb class Test::Unit::TestCase (line 1) | class Test::Unit::TestCase method FIXTURES_PATH (line 3) | def FIXTURES_PATH method test_dir (line 7) | def test_dir method clear! (line 11) | def clear! method modify_env_with_hash (line 15) | def modify_env_with_hash(h={}) method capture_stdout (line 37) | def capture_stdout(&block) method stub_keypair_searchable_paths (line 52) | def stub_keypair_searchable_paths method read_fixture (line 56) | def read_fixture(path) method stub_ec2_calls (line 60) | def stub_ec2_calls(&block) FILE: vendor/gems/dslify/lib/dslify.rb type Dslify (line 1) | module Dslify function included (line 2) | def self.included(base) type ClassMethods (line 7) | module ClassMethods function default_options (line 8) | def default_options(hsh={}) function dsl_options (line 13) | def dsl_options function options (line 16) | def options function dsl_methods (line 20) | def dsl_methods(*syms) function set_default_options (line 24) | def set_default_options(new_options) function define_dsl_method_str (line 31) | def define_dsl_method_str(k) function inherited (line 49) | def inherited(subclass) type InstanceMethods (line 53) | module InstanceMethods function dsl_options (line 54) | def dsl_options function default_options (line 57) | def default_options function set_vars_from_options (line 60) | def set_vars_from_options(hsh={}) function set_default_options (line 67) | def set_default_options(hsh={}) function method_missing (line 71) | def method_missing(m,*a,&block) FILE: vendor/gems/dslify/test/dslify_test.rb class Quickie (line 3) | class Quickie method initialize (line 5) | def initialize(&block) class QuickieTest (line 10) | class QuickieTest < Test::Unit::TestCase class Detective (line 52) | class Detective method snoop (line 55) | def snoop(*n) class Bang (line 69) | class Bang method initialize (line 74) | def initialize(opts={}, &block) class Pop (line 93) | class Pop method initialize (line 96) | def initialize(o={}) method real_method (line 100) | def real_method class Foo (line 105) | class Foo < Pop class Bar (line 109) | class Bar < Pop class Dad (line 113) | class Dad < Pop class Grandad (line 116) | class Grandad < Dad class Defaults (line 119) | class Defaults < Pop class MrDanger (line 177) | class MrDanger method initialize (line 180) | def initialize(o={}) method where_to (line 183) | def where_to(*a) class ToddTheSquare (line 199) | class ToddTheSquare method provider (line 203) | def provider(&block) class VarrrrrrrrMatey (line 225) | class VarrrrrrrrMatey method initialize (line 229) | def initialize(o={}, &block) method to_s (line 234) | def to_s class PluginMoopieMoop (line 256) | class PluginMoopieMoop method inherited (line 260) | def self.inherited(s) class DoopyDoop (line 265) | class DoopyDoop < PluginMoopieMoop method stars (line 266) | def stars FILE: vendor/gems/git-style-binaries/lib/ext/colorize.rb class String (line 4) | class String method set_color_parameters (line 52) | def set_color_parameters( params ) method colorize (line 81) | def colorize( params ) method uncolorize (line 122) | def uncolorize method colorized? (line 129) | def colorized? method modes (line 163) | def modes method colors (line 174) | def colors method color_matrix (line 185) | def color_matrix( txt = "[X]" ) FILE: vendor/gems/git-style-binaries/lib/ext/core.rb class Object (line 1) | class Object method returning (line 2) | def returning(value) class Symbol (line 8) | class Symbol method to_proc (line 9) | def to_proc class IO (line 14) | class IO FILE: vendor/gems/git-style-binaries/lib/git-style-binary.rb type GitStyleBinary (line 23) | module GitStyleBinary function run? (line 35) | def run? function parser (line 39) | def parser function known_commands (line 43) | def known_commands function load_primary (line 47) | def load_primary function load_subcommand (line 63) | def load_subcommand function load_command_file (line 71) | def load_command_file(name, file) FILE: vendor/gems/git-style-binaries/lib/git-style-binary/autorunner.rb type GitStyleBinary (line 3) | module GitStyleBinary class AutoRunner (line 4) | class AutoRunner method run (line 6) | def self.run(argv=ARGV) method run (line 11) | def run FILE: vendor/gems/git-style-binaries/lib/git-style-binary/command.rb type GitStyleBinary (line 3) | module GitStyleBinary function command (line 4) | def self.command(&block) function primary (line 15) | def self.primary(&block) class Command (line 25) | class Command method defaults (line 27) | def defaults method initialize (line 51) | def initialize(o={}) method parser (line 57) | def parser method constraints (line 65) | def constraints method run (line 69) | def run method running_subcommand? (line 78) | def running_subcommand? method load_all_parser_constraints (line 82) | def load_all_parser_constraints method load_parser_default_constraints (line 91) | def load_parser_default_constraints method load_parser_primary_constraints (line 95) | def load_parser_primary_constraints method load_parser_local_constraints (line 99) | def load_parser_local_constraints method call_parser_run_block (line 110) | def call_parser_run_block method process_args_with_subcmd (line 118) | def process_args_with_subcmd(args = ARGV, *a, &b) method process_parser! (line 129) | def process_parser! method process_args (line 145) | def process_args(args = ARGV, *a, &b) method is_primary? (line 165) | def is_primary? method argv (line 169) | def argv method short_desc (line 173) | def short_desc method full_name (line 177) | def full_name method die (line 182) | def die arg, msg=nil method [] (line 189) | def [](k) class Primary (line 195) | class Primary < Command method is_primary? (line 196) | def is_primary? method primary (line 199) | def primary FILE: vendor/gems/git-style-binaries/lib/git-style-binary/commands/help.rb type GitStyleBinary (line 1) | module GitStyleBinary type Commands (line 2) | module Commands class Help (line 3) | class Help method educate_about_command (line 12) | def educate_about_command(name) FILE: vendor/gems/git-style-binaries/lib/git-style-binary/helpers/name_resolver.rb type GitStyleBinary (line 1) | module GitStyleBinary type Helpers (line 2) | module Helpers type NameResolver (line 3) | module NameResolver function basename (line 5) | def basename(filename=zero) function subcommand_names (line 12) | def subcommand_names(filename=zero) function binary_directory (line 19) | def binary_directory(filename=zero) function built_in_commands_directory (line 23) | def built_in_commands_directory function built_in_command_names (line 27) | def built_in_command_names function list_subcommands (line 31) | def list_subcommands(filename=zero) function binary_filename_for (line 37) | def binary_filename_for(name) function current_command_name (line 45) | def current_command_name(filename=zero,argv=ARGV) function full_current_command_name (line 54) | def full_current_command_name(filename=zero,argv=ARGV) function valid_subcommand? (line 60) | def valid_subcommand?(name) function zero (line 64) | def zero function pretty_known_subcommands (line 68) | def pretty_known_subcommands(theme=:long) FILE: vendor/gems/git-style-binaries/lib/git-style-binary/helpers/pager.rb type GitStyleBinary (line 1) | module GitStyleBinary type Helpers (line 2) | module Helpers type Pager (line 3) | module Pager function run_pager (line 6) | def run_pager FILE: vendor/gems/git-style-binaries/lib/git-style-binary/parser.rb type GitStyleBinary (line 1) | module GitStyleBinary class Parser (line 2) | class Parser < Trollop::Parser method initialize (line 7) | def initialize *a, &b method setup_callbacks (line 13) | def setup_callbacks method run_callbacks (line 23) | def run_callbacks(at, from) method banner (line 27) | def banner s=nil; @banner = s if s; @banner end method short_desc (line 28) | def short_desc s=nil; @short_desc = s if s; @short_desc end method name_desc (line 29) | def name_desc s=nil; @name_desc = s if s; @name_desc end method theme (line 34) | def theme method text (line 39) | def text s; @order << [:text, s] end method spec_names (line 41) | def spec_names method load_all_commands (line 46) | def load_all_commands method educate (line 54) | def educate(stream=$stdout) method educate_long (line 62) | def educate_long(stream=$stdout) method educate_short (line 134) | def educate_short(stream=$stdout) method colorize_known_words_array (line 187) | def colorize_known_words_array(txts) method colorize_known_words (line 191) | def colorize_known_words(txt) method consume (line 197) | def consume(&block) method consume_all (line 201) | def consume_all(blocks) method bin_name (line 205) | def bin_name method all_options_string (line 209) | def all_options_string method run (line 214) | def run(&block) method action (line 218) | def action(name = :action, &block) FILE: vendor/gems/git-style-binaries/test/git-style-binary/command_test.rb class CommandTest (line 4) | class CommandTest < Test::Unit::TestCase FILE: vendor/gems/git-style-binaries/test/git_style_binary_test.rb class GitStyleBinariesTest (line 3) | class GitStyleBinariesTest < Test::Unit::TestCase FILE: vendor/gems/git-style-binaries/test/running_binaries_test.rb class RunningBinariesTest (line 5) | class RunningBinariesTest < Test::Unit::TestCase FILE: vendor/gems/git-style-binaries/test/shoulda_macros/matching_stdio.rb class Test::Unit::TestCase (line 1) | class Test::Unit::TestCase method output_should_match (line 2) | def output_should_match(regexp) method stdout_should_match (line 7) | def stdout_should_match(regexp) method stderr_should_match (line 10) | def stderr_should_match(regexp) FILE: vendor/gems/git-style-binaries/test/test_helper.rb class Test::Unit::TestCase (line 15) | class Test::Unit::TestCase method FIXTURES_PATH (line 16) | def FIXTURES_PATH type RunsBinaryFixtures (line 21) | module RunsBinaryFixtures function bin (line 23) | def bin(cmd) FILE: vendor/gems/searchable_paths/lib/searchable_paths.rb type SearchablePaths (line 4) | module SearchablePaths function included (line 5) | def self.included(mod) type ClassMethods (line 9) | module ClassMethods function has_searchable_paths (line 18) | def has_searchable_paths(opts={}) function searchable_paths_dir (line 30) | def searchable_paths_dir; @searchable_paths_dirs.first; end function searchable_paths_dirs (line 31) | def searchable_paths_dirs function default_paths (line 38) | def default_paths function searchable_paths (line 45) | def searchable_paths type SingletonMethods (line 51) | module SingletonMethods type InstanceMethods (line 54) | module InstanceMethods function search_in_known_locations (line 62) | def search_in_known_locations(filepath, additional_search_paths=[]) FILE: vendor/gems/searchable_paths/test/searchable_paths_test.rb class TestFile (line 7) | class TestFile class TestFile2 (line 12) | class TestFile2 function write_to_file (line 17) | def File.write_to_file(name, content="") class SearchablePathsTest (line 21) | class SearchablePathsTest < Test::Unit::TestCase method setup (line 22) | def setup method teardown (line 39) | def teardown method test_should_have_class_options_set (line 43) | def test_should_have_class_options_set method test_should_be_able_to_find_a_template (line 49) | def test_should_be_able_to_find_a_template method test_shouldnt_find_a_template_that_doesnt_exist (line 55) | def test_shouldnt_find_a_template_that_doesnt_exist method test_should_find_something_with_prepended_paths (line 59) | def test_should_find_something_with_prepended_paths method test_should_find_things_in_the_right_order (line 64) | def test_should_find_things_in_the_right_order method test_should_look_in_the_additional_search_paths_first (line 68) | def test_should_look_in_the_additional_search_paths_first FILE: vendor/gems/searchable_paths/test/test_helper.rb class Test::Unit::TestCase (line 9) | class Test::Unit::TestCase class String (line 12) | class String method / (line 13) | def /(o) FILE: vendor/gems/trollop/lib/trollop.rb type Trollop (line 8) | module Trollop class CommandlineError (line 14) | class CommandlineError < StandardError; end class HelpNeeded (line 18) | class HelpNeeded < StandardError; end class VersionNeeded (line 22) | class VersionNeeded < StandardError; end class Parser (line 38) | class Parser method initialize (line 69) | def initialize *a, &b method opt (line 124) | def opt name, desc="", opts={} method version (line 238) | def version s=nil; @version = s if s; @version end method banner (line 242) | def banner s; @order << [:text, s] end method depends (line 248) | def depends *syms method conflicts (line 254) | def conflicts *syms method stop_on (line 268) | def stop_on *words method stop_on_unknown (line 276) | def stop_on_unknown method parse (line 281) | def parse cmdline=ARGV method parse_date_parameter (line 401) | def parse_date_parameter param, arg #:nodoc: method educate (line 415) | def educate stream=$stdout method width (line 479) | def width #:nodoc: method wrap (line 495) | def wrap str, opts={} # :nodoc: method each_arg (line 506) | def each_arg args method parse_integer_parameter (line 577) | def parse_integer_parameter param, arg method parse_float_parameter (line 582) | def parse_float_parameter param, arg method parse_io_parameter (line 587) | def parse_io_parameter param, arg method collect_argument_parameters (line 600) | def collect_argument_parameters args, start_at method resolve_default_short_options (line 610) | def resolve_default_short_options method wrap_line (line 624) | def wrap_line str, opts={} method cloaker (line 646) | def cloaker &b function options (line 689) | def options args = ARGV, *a, &b function die (line 727) | def die arg, msg=nil FILE: vendor/gems/trollop/test/test_trollop.rb type Trollop (line 10) | module Trollop type Test (line 11) | module Test class Trollop (line 13) | class Trollop < ::Test::Unit::TestCase method setup (line 14) | def setup method test_unknown_arguments (line 18) | def test_unknown_arguments method test_syntax_check (line 25) | def test_syntax_check method test_required_flags_are_required (line 34) | def test_required_flags_are_required method test_argflags_demand_args (line 46) | def test_argflags_demand_args method test_arglessflags_refuse_args (line 56) | def test_arglessflags_refuse_args method test_typed_args_refuse_args_of_other_types (line 68) | def test_typed_args_refuse_args_of_other_types method test_type_correctly_derived_from_default (line 78) | def test_type_correctly_derived_from_default method test_type_and_default_must_match (line 159) | def test_type_and_default_must_match method test_long_detects_bad_names (line 175) | def test_long_detects_bad_names method test_short_detects_bad_names (line 184) | def test_short_detects_bad_names method test_short_names_created_automatically (line 192) | def test_short_names_created_automatically method test_short_autocreation_skips_dashes_and_numbers (line 202) | def test_short_autocreation_skips_dashes_and_numbers method test_short_autocreation_detects_running_out (line 217) | def test_short_autocreation_detects_running_out method test_short_can_be_nothing (line 225) | def test_short_can_be_nothing method test_conflicting_names_are_detected (line 239) | def test_conflicting_names_are_detected method test_conflicting_longs_detected (line 245) | def test_conflicting_longs_detected method test_conflicting_shorts_detected (line 251) | def test_conflicting_shorts_detected method test_flag_defaults (line 256) | def test_flag_defaults method test_special_flags_work (line 268) | def test_special_flags_work method test_short_options_combine (line 274) | def test_short_options_combine method test_version_only_appears_if_set (line 299) | def test_version_only_appears_if_set method test_doubledash_ends_option_processing (line 306) | def test_doubledash_ends_option_processing method test_wrap (line 324) | def test_wrap method test_floating_point_formatting (line 345) | def test_floating_point_formatting method test_date_formatting (line 375) | def test_date_formatting method test_short_options_cant_be_numeric (line 389) | def test_short_options_cant_be_numeric method test_short_options_can_be_weird (line 396) | def test_short_options_can_be_weird method test_options_cant_be_set_multiple_times_if_not_specified (line 402) | def test_options_cant_be_set_multiple_times_if_not_specified method test_options_can_be_set_multiple_times_if_specified (line 409) | def test_options_can_be_set_multiple_times_if_specified method test_short_options_with_multiple_options (line 418) | def test_short_options_with_multiple_options method short_options_with_multiple_options_does_not_affect_flags_type (line 429) | def short_options_with_multiple_options_does_not_affect_flags_type method test_short_options_with_multiple_arguments (line 449) | def test_short_options_with_multiple_arguments method test_short_options_with_multiple_options_and_arguments (line 468) | def test_short_options_with_multiple_options_and_arguments method test_combined_short_options_with_multiple_arguments (line 487) | def test_combined_short_options_with_multiple_arguments method test_long_options_with_multiple_options (line 509) | def test_long_options_with_multiple_options method test_long_options_with_multiple_arguments (line 520) | def test_long_options_with_multiple_arguments method test_long_options_with_multiple_options_and_arguments (line 548) | def test_long_options_with_multiple_options_and_arguments method test_long_options_also_take_equals (line 576) | def test_long_options_also_take_equals method test_auto_generated_long_names_convert_underscores_to_hyphens (line 590) | def test_auto_generated_long_names_convert_underscores_to_hyphens method test_arguments_passed_through_block (line 595) | def test_arguments_passed_through_block method test_help_has_default_banner (line 604) | def test_help_has_default_banner method test_help_preserves_positions (line 632) | def test_help_preserves_positions method test_version_and_help_short_args_can_be_overridden (line 643) | def test_version_and_help_short_args_can_be_overridden method test_version_and_help_long_args_can_be_overridden (line 654) | def test_version_and_help_long_args_can_be_overridden method test_version_and_help_override_errors (line 664) | def test_version_and_help_override_errors method test_conflicts (line 673) | def test_conflicts method test_conflict_error_messages (line 703) | def test_conflict_error_messages method test_depends (line 717) | def test_depends method test_depend_error_messages (line 744) | def test_depend_error_messages method test_two_required_one_missing_accuses_correctly (line 769) | def test_two_required_one_missing_accuses_correctly method test_stopwords_mixed (line 790) | def test_stopwords_mixed method test_stopwords_no_stopwords (line 806) | def test_stopwords_no_stopwords method test_stopwords_multiple_stopwords (line 822) | def test_stopwords_multiple_stopwords method test_stopwords_with_short_args (line 844) | def test_stopwords_with_short_args method assert_parses_correctly (line 865) | def assert_parses_correctly(parser, commandline, expected_opts, method test_unknown_subcommand (line 872) | def test_unknown_subcommand method test_alternate_args (line 894) | def test_alternate_args method test_io_arg_type (line 909) | def test_io_arg_type method test_openstruct_style_access (line 932) | def test_openstruct_style_access method test_multi_args_autobox_defaults (line 944) | def test_multi_args_autobox_defaults method test_ambigious_multi_plus_array_default_resolved_as_specified_by_documentation (line 960) | def test_ambigious_multi_plus_array_default_resolved_as_specified_... method test_given_keys (line 990) | def test_given_keys method test_default_shorts_assigned_only_after_user_shorts (line 1011) | def test_default_shorts_assigned_only_after_user_shorts method test_accepts_arguments_with_spaces (line 1030) | def test_accepts_arguments_with_spaces method test_multi_args_default_to_empty_array (line 1040) | def test_multi_args_default_to_empty_array FILE: vendor/gems/xml-simple/lib/xmlsimple.rb class XmlSimple (line 11) | class XmlSimple class Cache (line 18) | class Cache method initialize (line 20) | def initialize method save_storable (line 31) | def save_storable(data, filename) method restore_storable (line 41) | def restore_storable(filename) method save_mem_share (line 56) | def save_mem_share(data, filename) method restore_mem_share (line 67) | def restore_mem_share(filename) method save_mem_copy (line 77) | def save_mem_copy(data, filename) method restore_mem_copy (line 87) | def restore_mem_copy(filename) method get_cache_filename (line 102) | def get_cache_filename(filename) method get_from_memory_cache (line 114) | def get_from_memory_cache(filename, cache) method initialize (line 128) | def initialize(defaults = nil) method xml_in (line 149) | def xml_in(string = nil, options = nil) method xml_in (line 201) | def XmlSimple.xml_in(string = nil, options = nil) method xml_out (line 212) | def xml_out(ref, options = nil) method xml_out (line 257) | def XmlSimple.xml_out(hash, options = nil) method normalize_option_names (line 298) | def normalize_option_names(options, known_options) method handle_options (line 319) | def handle_options(direction, options) method collapse (line 461) | def collapse(element) method collapse_text_node (line 523) | def collapse_text_node(hash, element) method fold_arrays (line 544) | def fold_arrays(hash) method fold_array (line 568) | def fold_array(array) method fold_array_by_name (line 598) | def fold_array_by_name(name, array) method collapse_content (line 624) | def collapse_content(hash) method merge (line 644) | def merge(hash, key, value) method force_array? (line 689) | def force_array?(key) method get_attributes (line 706) | def get_attributes(node) method has_mixed_content? (line 720) | def has_mixed_content?(element) method set_var (line 731) | def set_var(name, value) method get_var (line 737) | def get_var(name) method value_to_xml (line 754) | def value_to_xml(ref, name, indent) method scalar (line 868) | def scalar(value) method hash_to_array (line 881) | def hash_to_array(parent, hashref) method escape_value (line 900) | def escape_value(data) method normalise_space (line 909) | def normalise_space(text) method empty (line 918) | def empty(value) method node_to_text (line 937) | def node_to_text(node, default = nil) method parse (line 958) | def parse(xml_string) method find_xml_file (line 970) | def find_xml_file(file, searchpath) method load_xml_file (line 1000) | def load_xml_file(filename) method put_into_cache (line 1010) | def put_into_cache(data, filename)