Method: Vedeu::Interfaces::Interface#initialize

Defined in:
lib/vedeu/interfaces/interface.rb

#initialize(attributes = {}) ⇒ Vedeu::Interfaces::Interface

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Return a new instance of Vedeu::Interfaces::Interface.

Parameters:

  • attributes (Hash) (defaults to: {})

Options Hash (attributes):



75
76
77
78
79
# File 'lib/vedeu/interfaces/interface.rb', line 75

def initialize(attributes = {})
  defaults.merge!(attributes).each do |key, value|
    instance_variable_set("@#{key}", value)
  end
end