Skip to content

Instantly share code, notes, and snippets.

@osyo-manga
Created December 24, 2016 16:30
Show Gist options
  • Save osyo-manga/1a64ea4565a4ef229b928785d30ff12a to your computer and use it in GitHub Desktop.
Save osyo-manga/1a64ea4565a4ef229b928785d30ff12a to your computer and use it in GitHub Desktop.
require "stitcher"
using Stitcher
class X
stitcher_require [Object]
def initialize a
p a
end
stitcher_require [Object, Object]
def initialize a, b
p a, b
end
end
X.new "homu"
X.new 1, 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment