lib/emoji-regex/maker.rb in emoji-regex-0.1.1 vs lib/emoji-regex/maker.rb in emoji-regex-0.2.0
- old
+ new
@@ -1,8 +1,8 @@
module EmojiRegex
class Maker
def initialize
- @input_file_path = Fetcher.new.saved_path
+ @input_file_path = File.join(__dir__, '../../data', 'sorted_emoji.txt')
end
def regex
regex = ranges.map do |e|
l = e[0]