module TinyDyno::DocumentComposition
Constants
- MODULES
Public Class Methods
prohibited_methods()
click to toggle source
Get a list of methods that would be a bad idea to define as field names or override when including TinyDyno::Document
.
@example Bad thing!
TinyDyno::Components.prohibited_methods
@return [ Array<Symbol> ]
# File lib/tiny_dyno/document_composition.rb, line 43 def prohibited_methods @prohibited_methods ||= MODULES.flat_map do |mod| mod.instance_methods.map(&:to_sym) end end