Skip to content

Commit

Permalink
source_location should be set config enable_debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ksss committed Jul 20, 2015
1 parent abfa098 commit 900f8b9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis_build_config.rb
@@ -1,5 +1,6 @@
MRuby::Build.new do |conf|
toolchain :gcc
enable_debug
conf.gembox 'default'
conf.gem '../mruby-method'
end
10 changes: 10 additions & 0 deletions README.md
Expand Up @@ -11,3 +11,13 @@ p Enumerable.instance_method(:find_all).source_location
```

![https://raw.githubusercontent.com/ksss/mruby-method/master/find_all.png](https://raw.githubusercontent.com/ksss/mruby-method/master/find_all.png)

# Note

`source_location` method need this configuration in build_config.rb

```
MRuby::Build.new do |conf|
enable_debug
end
```

0 comments on commit 900f8b9

Please sign in to comment.