Skip to content

Instantly share code, notes, and snippets.

@dsci
Last active August 29, 2015 14:23
Show Gist options
  • Save dsci/98ff616d2e66993a6417 to your computer and use it in GitHub Desktop.
Save dsci/98ff616d2e66993a6417 to your computer and use it in GitHub Desktop.
private_accessing.rb
class Bar
def self.foobar
end
private_class_method :foobar
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment