Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
igetui-ruby
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ikcrm_common
igetui-ruby
Commits
1e0a58be
Commit
1e0a58be
authored
Sep 01, 2014
by
Victor Wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
根据多态的原则重构了 BaseTemplate 两个方法
parent
31d46383
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
lib/igetui/template/base_template.rb
+7
-2
No files found.
lib/igetui/template/base_template.rb
View file @
1e0a58be
...
...
@@ -21,8 +21,13 @@ module IGeTui
transparent
end
def
get_action_chain
;
end
def
get_push_type
;
end
def
get_action_chain
raise
NotImplementedError
,
'Must be implemented by subtypes.'
end
def
get_push_type
raise
NotImplementedError
,
'Must be implemented by subtypes.'
end
def
get_push_info
@push_info
.
actionKey
=
''
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment