Top Level Namespace
Defined Under Namespace
Modules: CrawlabRubySdk, Grpc Classes: BaseModel, CommentMethod, Htmlarticle, OssServerClient, TaskServiceClient, TaskServiceSubscribeClient, ThinktankExpert, ThinktankExpertReport, ThinktankInformation, ThinktankReport, Verify
Constant Summary collapse
- ResponseCode =
::Google::Protobuf::DescriptorPool.generated_pool.lookup("ResponseCode").enummodule
Instance Method Summary collapse
Instance Method Details
#traverse_dir(file_path) ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/crawlab_ruby_sdk.rb', line 12 def traverse_dir(file_path) if File.directory? file_path Dir.foreach(file_path){|file| traverse_dir(file_path+"/"+file) if file!="." and file!=".." } else load file_path if file_path.to_s.match(/\.rb$/) end end |