```ruby

module Beaglebone
  module GPIO
    def self.list
      `ls /sys/class/gpio/`
    end
  end
end
```

Convert list string to array
user
```ruby

module Beaglebone
  module GPIO
    def self.list
      `ls /sys/class/gpio/`.split('\n')
    end
  end
end
```
assistant