Method: Doing::WWID#get_view

Defined in:
lib/doing/wwid/wwid.rb

#get_view(title, fallback: nil) ⇒ Object

Gets a view from configuration

Parameters:

  • title (String)

    The title of the view to retrieve



103
104
105
# File 'lib/doing/wwid/wwid.rb', line 103

def get_view(title, fallback: nil)
  Doing.setting(['views', title], fallback)
end