lib/ig_markets/cli/curses_window.rb
def available?
          require 'curses'
          true
        rescue LoadError
          false
        end
# Returns whether curses support is available. On Windows the 'curses' gem is optional and so this class may not
# be usable.
Returns whether curses support is available. On Windows the 'curses' gem is optional and so this class may not
be usable.
Returns whether curses support is available . On Windows the ' curses ' gem is optional and so this class may not be usable .
def available?
          require 'curses'
          true
        rescue LoadError
          false
        end
def available? require 'curses' true rescue LoadError false end
Returns whether curses support is available.
Returns whether curses support is available .