Class: Serializer::Initializer

Inherits:
Hash
  • Object
show all
Defined in:
lib/serializer/initializer.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) define(name, options = {})



5
6
7
# File 'lib/serializer/initializer.rb', line 5

def define(name, options = {})
  self[name] = options
end