class Class
Attributes
tainbox_attributes[W]
Public Instance Methods
tainbox_attributes()
click to toggle source
# File lib/tainbox/extensions.rb, line 13 def tainbox_attributes @tainbox_attributes ||= [] end
tainbox_layer()
click to toggle source
# File lib/tainbox/extensions.rb, line 5 def tainbox_layer unless @tainbox_layer @tainbox_layer = Module.new include(@tainbox_layer) end @tainbox_layer end
tainbox_register_attribute(attribute)
click to toggle source
# File lib/tainbox/extensions.rb, line 17 def tainbox_register_attribute(attribute) tainbox_attributes << attribute tainbox_attributes.uniq! end