Class: Mentawai::Page::Method::Out

Inherits:
PageMethod show all
Defined in:
lib/mentawai/page/methods/out.rb

Instance Method Summary collapse

Methods inherited from PageMethod

#action, #application, #consequence, #controller, #cookies, #initialize, #input, #locale, #output, #page, #param?, #params, #session

Constructor Details

This class inherits a constructor from Mentawai::Page::PageMethod

Instance Method Details



9
10
11
12
# File 'lib/mentawai/page/methods/out.rb', line 9

def print
  raise "Value attribute is mandatory!" if not arg?(:value)
  find_value(arg[:value])
end