Module EmailaddrHelper
In: app/helpers/emailaddr_helper.rb

Methods

Public Instance methods

[Source]

   # File app/helpers/emailaddr_helper.rb, line 3
3:   def format_selected(st)
4:         @preselected+st+@postselected
5:   end

[Source]

   # File app/helpers/emailaddr_helper.rb, line 7
7:   def format_unselected(st)
8:         @preunselected+st+@postunselected
9:   end

[Source]

    # File app/helpers/emailaddr_helper.rb, line 11
11:   def next_char1(indx)
12:         table_index= @photo.size == 0? 0: indx% @photo.size
13:         logger.info("path check:#{@photo[table_index]}")
14:         if table_index==@selected_item% @photo.size
15:                 @returnstr=format_selected(@photo[table_index])
16:         else
17:                 @returnstr=format_unselected("")              
18:         end
19:   end

[Validate]