Class: Loveseat::DesignDocument::DSL
- Inherits:
-
Loveseat::Document::DSL
- Object
- Loveseat::Document::DSL
- Loveseat::DesignDocument::DSL
- Defined in:
- lib/loveseat/design_document/dsl.rb
Instance Method Summary collapse
Methods inherited from Loveseat::Document::DSL
#array, #date, #float, #hash, #initialize, #integer, #raw, #string, #time
Constructor Details
This class inherits a constructor from Loveseat::Document::DSL
Instance Method Details
#view(name, functions = {}) ⇒ Object
4 5 6 |
# File 'lib/loveseat/design_document/dsl.rb', line 4 def view(name, functions = {}) @support.add_view(name, functions) end |