esp-idf-lib/devtools/spec/license.rb@1599e696d947
esp-idf-lib/devtools/spec/license.rb
Thu, 06 Apr 2023 13:22:03 +0200
- author
- Michiel Broek <mbroek@mbse.eu>
- date
- Thu, 06 Apr 2023 13:22:03 +0200
- changeset 17
- 1599e696d947
- parent 1
-
1c9894662795
- permissions
- -rw-r--r--
Code changes to try to fix the not working ADPS9930 driver.
# frozen_string_literal: true
class License
def initialize(hash)
raise ArgumentError, "missing key `name`" unless hash.key?("name")
@metadata = hash
end
def name
@metadata["name"]
end
def to_s
name
end
end