class Blueprinter::Base
def self.view?(view_name)
-
(Boolean)- a boolean value indicating if the view is
Other tags:
- Example: With the following Blueprint -
Parameters:
-
view_name(Symbol) -- the view name
def self.view?(view_name) view_collection.view? view_name end