Skip to content

Instantly share code, notes, and snippets.

@osyo-manga
Created December 24, 2016 16:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save osyo-manga/e80ce4beeaf9468f5f2803c5a8c2099d to your computer and use it in GitHub Desktop.
Save osyo-manga/e80ce4beeaf9468f5f2803c5a8c2099d 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