Commit 1e0a58be by Victor Wang

根据多态的原则重构了 BaseTemplate 两个方法

parent 31d46383
...@@ -21,8 +21,13 @@ module IGeTui ...@@ -21,8 +21,13 @@ module IGeTui
transparent transparent
end end
def get_action_chain; end def get_action_chain
def get_push_type; end raise NotImplementedError, 'Must be implemented by subtypes.'
end
def get_push_type
raise NotImplementedError, 'Must be implemented by subtypes.'
end
def get_push_info def get_push_info
@push_info.actionKey = '' @push_info.actionKey = ''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment