Created
November 1, 2016 11:01
-
-
Save takkanm/83eb9c3b4471e95a8e9a0bf116b0b8db to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
irb(main):001:0> module I | |
irb(main):002:1> include | |
irb(main):003:1> end | |
=> I | |
irb(main):004:0> module P | |
irb(main):005:1> prepend | |
irb(main):006:1> end | |
=> P | |
irb(main):007:0> module E | |
irb(main):008:1> extend | |
irb(main):009:1> end | |
ArgumentError: wrong number of arguments (given 0, expected 1+) | |
from (irb):8:in `extend' | |
from (irb):8:in `<module:E>' | |
from (irb):7 | |
from /Users/takkanm/.rbenv/versions/2.3.1/bin/irb:11:in `<main>' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment