Skip to content

Commit

Permalink
fixed accidental removal of required merthod
Browse files Browse the repository at this point in the history
  • Loading branch information
SidOfc committed Jun 2, 2016
1 parent 5406dce commit f6e937e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/browserino/core/questions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ def bot?(name = nil)
invertable is_bot && is_name
end

def console?(name = nil)
arg = (name.nil? ? console_name : name).to_s.to_sym
invertable Core::SUPPORTED[:consoles].include?(arg)
end

def search_engine?(name = nil)
arg = (name.nil? ? search_engine_name : name).to_s.to_sym
invertable Core::SUPPORTED[:search_engines].include?(arg)
Expand Down

0 comments on commit f6e937e

Please sign in to comment.