-
-
Save 0x0dea/66db6eee00d65eff85d9 to your computer and use it in GitHub Desktop.
This file contains 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 Foo | |
def self.bar | |
end | |
def self.baz | |
end | |
end | |
module Foo | |
class << self | |
def bar | |
end | |
def baz | |
end | |
end | |
end | |
module Foo | |
module_function | |
def bar | |
end | |
def baz | |
end | |
end | |
module Foo | |
def bar | |
end | |
def baz | |
end | |
module_function :bar, :baz | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment