Method: Cir::StoredFile#initialize
- Defined in:
- lib/cir/stored_file.rb
#initialize(attrs = {}) ⇒ StoredFile
Constructor that will optionally populate attributes
29 30 31 32 33 |
# File 'lib/cir/stored_file.rb', line 29 def initialize(attrs = {}) attrs.each do |attr, value| instance_variable_set "@#{attr}", value end end |