Last active
May 2, 2020 12:20
-
-
Save flyerhzm/2670c75bd2ab02045d6810848fc78378 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
-['.'] | |
+%w[.] | |
-included do | |
- has_many :build_items, dependent: :destroy | |
-end | |
+included { has_many :build_items, dependent: :destroy } | |
-array.each { |element| element.to_s } | |
+array.each(&:to_s) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment