Class: Senrigan::Entities::Base
- Inherits:
-
Object
- Object
- Senrigan::Entities::Base
- Defined in:
- lib/senrigan/entities/base.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(attributes = {}) ⇒ Base
Returns a new instance of Base.
6 7 8 9 10 |
# File 'lib/senrigan/entities/base.rb', line 6 def initialize(attributes = {}) attributes.each do |k, v| public_send("#{k}=", v) end end |