OSDN Git Service

fix: fetch fail
[pettanr/pettanr.git] / lib / locmare / dialog.rb
1 require_dependency "locmare/dialog/body"
2 module Locmare
3   class Dialog < Filer
4     # duplicate define
5     #include DialogModule
6     
7     attr :pickup_item_name
8       
9     def initialize item_name, items, list_result, pager_type, operators, pickup_item_name
10       @pickup_item_name = pickup_item_name
11       super item_name, items, list_result, pager_type, operators
12       @template_dir = 'templates/r/dialog/'
13     end
14     
15     def mybody
16       DialogModule::Body
17     end
18     
19     def template_file_name
20       "dialog"
21     end
22     
23   end
24 end
25