Sha256: 4474ab9825255170052786f68e63a88ab63b46a55841e2387fcf1bc86f0e5f6d
Contents?: true
Size: 1.13 KB
Versions: 1
Compression:
Stored size: 1.13 KB
Contents
require 'open-uri' module Arduino module Library unless defined?(DEFAULT_ARDUINO_LIBRARY_INDEX_URL) DEFAULT_ARDUINO_LIBRARY_INDEX_URL = 'http://downloads.arduino.cc/libraries/library_index.json.gz' DEFAULT_ARDUINO_LIBRARY_PATH = ENV['ARDUINO_CUSTOM_LIBRARY_PATH'] || (ENV['HOME'] + '/Documents/Arduino/Libraries') DEFAULT_ARDUINO_LIBRARY_INDEX_PATH = ENV['ARDUINO_LIBRARY_INDEX_PATH'] || (ENV['HOME'] + '/Documents/Arduino/Libraries/index.json.gz') end end end require 'arduino/library/version' require 'arduino/library/utilities' require 'arduino/library/types' # noinspection RubyResolve require 'arduino/library/model' require 'arduino/library/database' require 'arduino/library/default_database' require 'arduino/library/finder' require 'arduino/library/instance_methods' module Arduino module Library class << self def included(base) base.include(::Arduino::Library::InstanceMethods) base.include(::Arduino::Library::Finder::FinderMethods) end included(Arduino::Library) end end end Arduino::Library.extend(Arduino::Library)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
arduino-library-0.6.0 | lib/arduino/library.rb |