Created
September 12, 2018 14:43
-
-
Save hackvan/c97cfac338d912131fc3f9203469bb9e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
Class.methods.select { |m| m =~ /attr/ } # [:attr, :attr_reader, :attr_writer, :attr_accessor] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment