Displaying 2 results from an estimated 2 matches for "has_init".
2006 Feb 24
5
Sanity Check
...join(directory, ''lib'')
init_path = File.join(directory, ''init.rb'')
has_lib = File.directory?(lib_path)
#raise LoadError, "Dude, this path is ok: " + has_lib# =>
public/../config/../vendor/plugins/my_plugin/init.rb
has_init = File.file?(init_path)
#raise LoadError, "WTF !...." + has_init.to_s# =>
False !!!!!!!!!
I''ve loaded the same situation up in IRB, and it works fine. Why is
File.file?(init_path) returning false !?
Permissions are fine, the path is fine:
public/../c...
2017 Jun 21
6
RFC: Cleaning up the Itanium demangler
...first_expr = false;
}
}
t = t1;
}
++t;
const char* t1 = parse_type(t, last, db);
if (t1 == t || t1 == last)
return first;
t = t1;
bool has_init = false;
if (last - t >= 3 && t[0] == 'p' && t[1] == 'i')
{
t += 2;
has_init = true;
first_expr = true;
while (*t != 'E')
{...