Class: Houston::Extensions::View

Inherits:
Object
  • Object
show all
Defined in:
lib/houston/boot/extensions/view.rb

Instance Method Summary collapse

Instance Method Details

#has(*constants) ⇒ Object



24
25
26
27
28
29
# File 'lib/houston/boot/extensions/view.rb', line 24

def has(*constants)
  constants.each do |constant|
    extend Houston::Extensions.const_get(:"Has#{constant}")
  end
  self
end

#reset!Object



31
# File 'lib/houston/boot/extensions/view.rb', line 31

def reset!; end