Module: Blind::EmptyTemplates

Defined in:
lib/blind.rb

Instance Method Summary collapse

Instance Method Details

#append_view_path(new_path) ⇒ Object



70
71
72
# File 'lib/blind.rb', line 70

def append_view_path new_path
  lookup_context.view_paths.push(*_path_decorator(new_path))
end

#prepend_view_path(new_path) ⇒ Object



66
67
68
# File 'lib/blind.rb', line 66

def prepend_view_path new_path
  lookup_context.view_paths.unshift(*_path_decorator(new_path))
end