class Yori::Schema::Any
Any: supports any keyword as dsl.
Public Instance Methods
method_missing(name, *args, &block)
click to toggle source
Calls superclass method
# File lib/yori/schema/any.rb, line 11 def method_missing(name, *args, &block) arg = args.first if arg || block_given? c = self.class.eval_input!(self.class, id, arg, &block) self[name.to_s] = c return self end super end
respond_to_missing?(*)
click to toggle source
# File lib/yori/schema/any.rb, line 7 def respond_to_missing?(*) true end