From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: poffice@blade.nagaokaut.ac.jp Delivered-To: poffice@blade.nagaokaut.ac.jp Received: from kankan.nagaokaut.ac.jp (kankan.nagaokaut.ac.jp [133.44.2.24]) by blade.nagaokaut.ac.jp (Postfix) with ESMTP id 8436117DB74F for ; Wed, 10 Sep 2014 00:39:46 +0900 (JST) Received: from funfun.nagaokaut.ac.jp (funfun.nagaokaut.ac.jp [133.44.2.201]) by kankan.nagaokaut.ac.jp (Postfix) with ESMTP id 57134B5D853 for ; Wed, 10 Sep 2014 00:19:14 +0900 (JST) Received: from funfun.nagaokaut.ac.jp (localhost.nagaokaut.ac.jp [127.0.0.1]) by funfun.nagaokaut.ac.jp (Postfix) with ESMTP id 5568E97A827 for ; Wed, 10 Sep 2014 00:19:17 +0900 (JST) X-Virus-Scanned: amavisd-new at nagaokaut.ac.jp Authentication-Results: funfun.nagaokaut.ac.jp (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=sendgrid.me Received: from funfun.nagaokaut.ac.jp ([127.0.0.1]) by funfun.nagaokaut.ac.jp (funfun.nagaokaut.ac.jp [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4SO4RfBJ-9k4 for ; Wed, 10 Sep 2014 00:19:17 +0900 (JST) Received: from voscc.nagaokaut.ac.jp (voscc.nagaokaut.ac.jp [133.44.1.100]) by funfun.nagaokaut.ac.jp (Postfix) with ESMTP id 1E59197A826 for ; Wed, 10 Sep 2014 00:19:17 +0900 (JST) Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by voscc.nagaokaut.ac.jp (Postfix) with ESMTP id 749CF95243E for ; Wed, 10 Sep 2014 00:19:13 +0900 (JST) Received: from [221.186.184.76] (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 9EAAC120451; Wed, 10 Sep 2014 00:19:02 +0900 (JST) X-Original-To: ruby-core@ruby-lang.org Delivered-To: ruby-core@ruby-lang.org Received: from o2.heroku.sendgrid.net (o2.heroku.sendgrid.net [67.228.50.55]) by neon.ruby-lang.org (Postfix) with ESMTPS id 3319012044F for ; Wed, 10 Sep 2014 00:19:00 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sendgrid.me; h=from:to:references:subject:mime-version:content-type:content-transfer-encoding:list-id; s=smtpapi; bh=LCIcTVvOpbW4UtTn8volhgF3CBU=; b=A7SAxPDe5YcD5Iyjnb iOurVBNe+iFeQdAzfNxi+rjeqdoW4M0TULCki/aXtQkyrMevMFXO0IQWvxUS4cbn LdualR/YECZo29Y0eqNnh2n7+0yt3uBCTfFQWMyLJ601Eha6hbWSVNQIfzb5yZE4 auoHCjorR8iGUk9XEk6Sxocjw= Received: by mf271.sendgrid.net with SMTP id mf271.16241.540F1A5B4A 2014-09-09 15:18:53.549738447 +0000 UTC Received: from herokuapp.com (ec2-54-90-27-235.compute-1.amazonaws.com [54.90.27.235]) by ismtpd-008.iad1.sendgrid.net (SG) with ESMTP id 1485afefd08.728.3d6f5d for ; Tue, 09 Sep 2014 15:18:53 +0000 (GMT) Date: Tue, 09 Sep 2014 15:18:53 +0000 From: dsisnero@gmail.com To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Redmine-MailingListIntegration-Message-Ids: 39084 X-Redmine-Project: common-ruby X-Redmine-Issue-Id: 10217 X-Redmine-Issue-Author: dsisnero X-Redmine-Sender: dsisnero X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: OOF Auto-Submitted: auto-generated X-SG-EID: ync6xU2WACa70kv/Ymy4QrNMhiuLXJG8OTL2vJD1yS4ffT9pE7C3hggRepRM8P2FOuyIIN20Nkr7Ho8UJAnpSEDn0SccPyLRA5gAvKse4nPA5WfIpkWoFTki9yC00nvT0foT9Ybnl0//0F6RXK2F1GgjSjjzbVT1d99FGQGg1rg= X-SendGrid-Contentd-ID: {"test_id":"1410275935"} X-ML-Name: ruby-core X-Mail-Count: 64899 Subject: [ruby-core:64899] [CommonRuby - Feature #10217] [Open] Dir constructor similar to Pathname constructor X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #10217 has been reported by Dominic Sisneros. ---------------------------------------- Feature #10217: Dir constructor similar to Pathname constructor https://bugs.ruby-lang.org/issues/10217 * Author: Dominic Sisneros * Status: Open * Priority: Normal * Assignee: * Category: * Target version: Ruby 2.1.0 ---------------------------------------- Make Dir(path) an alias for Dir.new(path) Dir('.').entries Dir('test').each do |entry| .. -- https://bugs.ruby-lang.org/