Created
February 15, 2012 16:24
-
-
Save practicingruby/1837037 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
| module Prawn | |
| class Canvas | |
| def initialize(document) | |
| self.document = document | |
| end | |
| def method_missing(id, *a, &b) | |
| document.send(id, *a, &b) | |
| end | |
| private | |
| attr_accessor :document | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment