Method: OO::Licence#initialize

Defined in:
lib/oo/licence.rb

#initialize(attrs = {}) ⇒ Licence

Returns a new instance of Licence.



29
30
31
# File 'lib/oo/licence.rb', line 29

def initialize(attrs = {})
  @key = attrs.fetch(:key)
end