Top Level Namespace
Defined Under Namespace
Modules: Intersys
Classes: Person
Instance Method Summary
collapse
Instance Method Details
#class_mtd ⇒ Object
11
12
13
|
# File 'lib/test.rb', line 11
def class_mtd
my_mtd.class_method?
end
|
#include_flags ⇒ Object
31
32
33
|
# File 'lib/extconf.rb', line 31
def include_flags
" "+(include_locations.map { |place| "-I"+place} + ["-Wall"]).join(" ")
end
|
#include_locations ⇒ Object
22
23
24
|
# File 'lib/extconf.rb', line 22
def include_locations
locations("/dev/cpp/include")
end
|
#library_locations ⇒ Object
26
27
28
|
# File 'lib/extconf.rb', line 26
def library_locations
locations("/dev/cpp/lib")
end
|
#locations(suffix) ⇒ Object
18
19
20
|
# File 'lib/extconf.rb', line 18
def locations(suffix)
@cache_placements.map {|place| place + suffix}
end
|
#my_mtd ⇒ Object
puts Person.intersys_methods