Skip to content

Instantly share code, notes, and snippets.

@jayrobin

jayrobin/include_in_class.rb Secret

Created Oct 11, 2016
Embed
What would you like to do?
class Person
include FormatHelper
def self.blueprint
yield
end
end
Person.blueprint do
phone_number # undefined method ‘phone_number’
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.