Method: Applocale::Config::Sheet.get_sheetobj_by_sheetname
- Defined in:
- lib/applocale/Core/setting.rb
.get_sheetobj_by_sheetname(sheet_obj_list, sheetname) ⇒ Object
89 90 91 92 93 94 95 96 |
# File 'lib/applocale/Core/setting.rb', line 89 def self.get_sheetobj_by_sheetname(sheet_obj_list, sheetname) sheet_obj_list.each do |sheet_obj| if sheet_obj.sheetname == sheetname return sheet_obj.obj end end return nil end |