Class: Jeeves::Import
- Inherits:
-
Object
- Object
- Jeeves::Import
- Defined in:
- lib/jeeves/import.rb
Instance Method Summary collapse
Instance Method Details
#call(target, *args) ⇒ Object
3 4 5 6 7 8 9 10 |
# File 'lib/jeeves/import.rb', line 3 def call(target, *args) @target = target (args) @names.each do |external_name, internal_name| DefineImportedMethod.new.call(target, internal_name, from: @scope, name: external_name, lazy: @lazy) end end |