Class: Method
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/method_source-1.0.0/lib/method_source.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.4/lib/active_support/core_ext/object/duplicable.rb
Instance Method Summary collapse
-
#duplicable? ⇒ Boolean
Methods are not duplicable:.
Methods included from MethodSource::MethodExtensions
Methods included from MethodSource::SourceLocation::MethodExtensions
Methods included from MethodSource::ReeSourceLocation
Instance Method Details
#duplicable? ⇒ Boolean
Methods are not duplicable:
method(:puts).duplicable? # => false
method(:puts).dup # => TypeError: allocator undefined for Method
36 37 38 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.4/lib/active_support/core_ext/object/duplicable.rb', line 36 def duplicable? false end |