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>
21 22 23 |
# File 'lib/convenient_service/common/plugins/can_be_copied/concern.rb', line 21 def to_args constructor_arguments.args end |
#to_arguments ⇒ ConvenientService::Support::Arguments
42 43 44 |
# File 'lib/convenient_service/common/plugins/can_be_copied/concern.rb', line 42 def to_arguments constructor_arguments end |
#to_block ⇒ Proc?
35 36 37 |
# File 'lib/convenient_service/common/plugins/can_be_copied/concern.rb', line 35 def to_block constructor_arguments.block end |
#to_kwargs ⇒ Hash{Symbol => Object}
28 29 30 |
# File 'lib/convenient_service/common/plugins/can_be_copied/concern.rb', line 28 def to_kwargs constructor_arguments.kwargs end |