Created
March 18, 2016 19:38
-
-
Save zsyed91/77dce9db6c46d2237532 to your computer and use it in GitHub Desktop.
Quick description on how to layout our repo with the PiPiper driver
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /pi_piper/sysfs/driver.rb | |
module PiPiper | |
module Sysfs | |
class Driver < PiPiper::Driver | |
def initialize | |
# do stuff | |
end | |
end | |
end | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file is in the actual pi_piper gem -> /pi_piper/driver.rb | |
module PiPiper | |
class Driver | |
end | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /pi_piper/sysfs.rb | |
require 'pi_piper' | |
require 'pi_piper/sysfs/version' | |
require 'pi_piper/sysfs/driver' | |
module PiPiper | |
module Sysfs | |
class << self | |
def driver | |
@driver ||= PiPiper::Sysfs::Driver.new | |
end | |
end | |
end | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /pi_piper/sysfs.version.rb | |
module PiPiper | |
module Sysfs | |
VERSION = '0.1.0' | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment