Skip to content

Instantly share code, notes, and snippets.

@Frank004
Created June 1, 2017 19:53
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 Frank004/940163c733a834e31365ba01d838958c to your computer and use it in GitHub Desktop.
Save Frank004/940163c733a834e31365ba01d838958c to your computer and use it in GitHub Desktop.
def instance_method
**codigo**
self.class.foo(arg1,agr2)
self.class.bar(arg)
end
def self.method_class
**codigo**
foo(arg1,agr2)
bar(arg)
end
def self.foo()
**codigo**
end
def self.bar()
**codigo**
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment