Module: ActionFacade::Retrieval
- Defined in:
- lib/action_facade/retrieval.rb
Instance Method Summary collapse
Instance Method Details
#retrieve(facade, *variable_names) ⇒ Object
5 6 7 8 9 |
# File 'lib/action_facade/retrieval.rb', line 5 def retrieve(facade, *variable_names) variable_names.each do |name| instance_variable_set("@#{name}", facade.send(name.to_sym)) end end |