class Packerman::Dsl::HashObject
Public Class Methods
hash_key()
click to toggle source
# File lib/packerman/dsl/hash_object.rb, line 12 def hash_key require_keys + optional_keys end
inherited(klass)
click to toggle source
# File lib/packerman/dsl/hash_object.rb, line 16 def inherited(klass) Packerman::Dsl.const_set(klass.name.demodulize, klass) end
register_to_repo(product)
click to toggle source
# File lib/packerman/dsl/hash_object.rb, line 4 def register_to_repo(product) product end
to_subclass(_type)
click to toggle source
# File lib/packerman/dsl/hash_object.rb, line 8 def to_subclass(_type) self end