Class: MiniObject::Box
- Inherits:
-
Object
- Object
- MiniObject::Box
- Includes:
- MiniObject, Injectable, RemarkableInspect
- Defined in:
- lib/mini_object/box.rb
Constant Summary
Constants included from MiniObject
Constants included from Injectable
Instance Method Summary collapse
-
#initialize(attrs = {}) ⇒ Box
constructor
A new instance of Box.
Methods included from RemarkableInspect
Methods included from Injectable
#attr_injectable, #attributes=, #cattr_injectable, getsetter_definition_for, included, setter_definition_for
Constructor Details
#initialize(attrs = {}) ⇒ Box
Returns a new instance of Box.
7 8 9 |
# File 'lib/mini_object/box.rb', line 7 def initialize attrs = {} self.attributes= attrs end |