class ParamsReady::Query::PolymorphPredicateDefinition

Attributes

altn[R]
name[R]
polymorph_parameter[R]

Public Class Methods

new(*args, **opts) click to toggle source
Calls superclass method
# File lib/params_ready/query/polymorph_predicate.rb, line 63
def initialize(*args, **opts)
  super
  @polymorph_parameter = Parameter::PolymorphParameterDefinition.new(name, altn: altn)
  @optional = false
end

Public Instance Methods

finish() click to toggle source
Calls superclass method
# File lib/params_ready/query/polymorph_predicate.rb, line 69
def finish
  @polymorph_parameter.finish
  super
end