Module: ConvenientService::Common::Plugins::CanBeCopied::Concern
- Includes:
- Support::Concern, Support::Copyable
- Defined in:
- lib/convenient_service/common/plugins/can_be_copied/concern.rb
Instance Method Summary collapse
- #to_args ⇒ Array<Object>
- #to_arguments ⇒ ConvenientService::Support::Arguments
- #to_block ⇒ Proc?
- #to_kwargs ⇒ Hash{Symbol => Object}
Methods included from Support::Copyable
Instance Method Details
#to_args ⇒ Array<Object>
26 27 28 |
# File 'lib/convenient_service/common/plugins/can_be_copied/concern.rb', line 26 def to_args constructor_arguments.args end |
#to_arguments ⇒ ConvenientService::Support::Arguments
47 48 49 |
# File 'lib/convenient_service/common/plugins/can_be_copied/concern.rb', line 47 def to_arguments constructor_arguments end |
#to_block ⇒ Proc?
40 41 42 |
# File 'lib/convenient_service/common/plugins/can_be_copied/concern.rb', line 40 def to_block constructor_arguments.block end |
#to_kwargs ⇒ Hash{Symbol => Object}
33 34 35 |
# File 'lib/convenient_service/common/plugins/can_be_copied/concern.rb', line 33 def to_kwargs constructor_arguments.kwargs end |