Method: IntegerCommaInput#parse

Defined in:
lib/bull/ui_core.rb

#parse(val) ⇒ Object



298
299
300
301
302
303
304
# File 'lib/bull/ui_core.rb', line 298

def parse val
  begin
    Integer(val.gsub(',', ''))
  rescue
    nil
  end
end