class Avo::ViewInquirer
def ==(other)
def ==(other) if other.is_a? Symbol to_sym == other else super(other) end end
def display?
def display? @display end
def form?
def form? @form end
def in?(another_object)
def in?(another_object) super(another_object.map(&:to_s)) end
def initialize(view)
def initialize(view) super(view.to_s) @display = in? DISPLAY_VIEWS @form = in? FORM_VIEWS end