Method: Vedeu::Null::Generic#initialize
- Defined in:
- lib/vedeu/null/generic.rb
#initialize(attributes = {}) ⇒ Vedeu::Null::Generic
Returns an instance of the Vedeu::Null::Generic class.
22 23 24 25 |
# File 'lib/vedeu/null/generic.rb', line 22 def initialize(attributes = {}) @attributes = attributes @name = @attributes.fetch(:name, '') end |