lib/mayl/commands/ls.rb in mayl-0.1.0 vs lib/mayl/commands/ls.rb in mayl-0.2.0
- old
+ new
@@ -17,12 +17,10 @@
# Public: Adds the path to the namespace.
#
# Returns nil.
def execute
- locales.map { |locale|
- locale.peek(@env.namespace)
- }.flatten.uniq.each do |option|
+ @env.peek.each do |option|
print "#{option} "
end
nil
end