Module: Dope::Resource::ClassMethods

Defined in:
lib/dope/core/resource.rb

Instance Method Summary collapse

Instance Method Details

#view(val = nil) ⇒ Object



14
15
16
17
18
19
# File 'lib/dope/core/resource.rb', line 14

def view(val=nil)
  if val
    @view = val
  end
  @view
end