Skip to content

Instantly share code, notes, and snippets.

@synth
Created January 15, 2020 04:01
Show Gist options
  • Save synth/1c91093bc1efd04db91ae3f9139ae166 to your computer and use it in GitHub Desktop.
Save synth/1c91093bc1efd04db91ae3f9139ae166 to your computer and use it in GitHub Desktop.
object.singleton_class.instance_eval do
attr_accessor :label
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment