Sha256: fef1a94239a2240b1c861392bacfaaabf0e88cac48926fc9c47ec133ce9e950e

Contents?: true

Size: 551 Bytes

Versions: 1

Compression:

Stored size: 551 Bytes

Contents

#### Simple Method

This example shows a simple ```Method```.

```show.rb```:
```ruby
require 'debug_helper'

m = method(:puts)
DebugHelper.show(m, 'My simple Method')
```

The output shows details of the ```Method```.

```show.yaml```:
```yaml
---
Method (message='My simple Method'):
  Method#arity: -1
  Method#inspect: "#<Method: main.puts>"
  Method#name: :puts
  Method#original_name: :puts
  Method#owner: !ruby/module 'Kernel'
  Method#parameters:
  - - :rest
  Method#source_location: 
  Method#super_method: 
```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
debug_helper-2.1.0 markdown/readme/classes/method/simple/show.md