module ServicePacker::Base::InstanceMethods
Public Class Methods
new(*args)
click to toggle source
Calls superclass method
# File lib/service_packer/base.rb, line 6 def initialize(*args) @_pass_in_arguments = {} super(*args) end
Public Instance Methods
__clear_arguments()
click to toggle source
# File lib/service_packer/base.rb, line 23 def __clear_arguments @_pass_in_arguments = {} end
__set_arguments(kwargs)
click to toggle source
DO NOT CALL THIS METHODS UNLESS IF YOU ARE DEFINITELY KNOWN WHAT YOU DID This method is for pass-in-arguments temporarily
# File lib/service_packer/base.rb, line 19 def __set_arguments(kwargs) @_pass_in_arguments.merge!(kwargs) end
method_missing(name, *args, &block)
click to toggle source
Calls superclass method
# File lib/service_packer/base.rb, line 12 def method_missing(name, *args, &block) super(name, *args, &block) unless @_pass_in_arguments.include? name @_pass_in_arguments[name.to_sym] end