class Dropdown::Readers::FileReader

Public Instance Methods

find_html_files(path) click to toggle source
# File lib/dropdown/readers/file_reader.rb, line 8
def find_html_files(path)
  Dir.glob("#{path}/**/*.html")
end
read(path) click to toggle source
# File lib/dropdown/readers/file_reader.rb, line 4
def read(path)
  File.read path
end