module IdcardOperation
Constants
- VERSION
Public Class Methods
analysis(idcard)
click to toggle source
# File lib/idcard_operation.rb, line 7 def analysis(idcard) if idcard.length == 18 IdcardInfo.new(idcard) else RocIdcardInfo.new(idcard) end end